tree: add LICENSE and LICENSE files
authorWei-Ting Yang <redacted>
Fri, 26 Dec 2025 12:41:41 +0000 (20:41 +0800)
committerJosef Schlehofer <redacted>
Sun, 28 Dec 2025 12:37:57 +0000 (13:37 +0100)
Add license information and the upstream project URL.

Signed-off-by: Wei-Ting Yang <redacted>
utils/tree/Makefile

index 6d60e6659f1af089282cb93f8e9856595420d5ee..a22703baec35fc0cbd7305f044dd56a2a420608f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2017 OpenWrt.org
+# Copyright (C) 2017-2025 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,13 +9,15 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tree
 PKG_VERSION:=2.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/Old-Man-Programmer/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
 PKG_HASH:=5caddcbca805131ff590b126d3218019882e4ca10bc9eb490bba51c05b9b3b75
 
 PKG_MAINTAINER:=Banglang Huang <banglang.huang@foxmail.com>
+PKG_LICENSE:=GPL-2.0-or-later
+PKG_LICENSE_FILES:=LICENSE
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -23,6 +25,7 @@ define Package/tree
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=List contents of directories in a tree-like format
+  URL:=https://oldmanprogrammer.net/source.php?dir=projects/tree
   DEPENDS:=+libc +libgcc
 endef
 
git clone https://git.99rst.org/PROJECT