summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-19 15:34:28 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-19 15:34:28 +0000
commit58313fff71b3508e03dc3005d07fc7115fb63621 (patch)
tree456cb3e98620d4ff6318a6e23ad37b6144ccda4c /include
parent1ee49a7b485b63f80e72f268f347836a28f60707 (diff)
licensing: Add licensing metadata to many packages
Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated. The licensing metadata is put into the bin/<platform>/packages/Packages file for later parsing. A script for that is on it's way! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package-ipkg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 665aac5d6..4ee0a96ad 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -149,6 +149,10 @@ ifeq ($(DUMP),)
echo "Depends: $$$$DEPENDS"; \
echo "Provides: $(PROVIDES)"; \
echo "Source: $(SOURCE)"; \
+ echo "SourceFile: $(PKG_SOURCE)"; \
+ echo "SourceURL: $(PKG_SOURCE_URL)"; \
+ echo "License: $(PKG_LICENSE)"; \
+ echo "LicenseFiles: $(PKG_LICENSE_FILES)"; \
echo "Section: $(SECTION)"; \
echo "Status: unknown $(if $(filter hold,$(PKG_FLAGS)),hold,ok) not-installed"; \
echo "Essential: $(if $(filter essential,$(PKG_FLAGS)),yes,no)"; \