From c10d97484a43375a0446dafc8cb4072e26502f37 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 3 Nov 2014 08:01:08 +0000 Subject: [PATCH] Add more license tags with SPDX identifiers Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold SVN-Revision: 43155 --- package/base-files/Makefile | 2 ++ package/boot/apex/Makefile | 3 +++ package/boot/fconfig/Makefile | 3 +++ package/boot/grub2/Makefile | 3 +++ package/boot/imx-bootlets/Makefile | 3 +++ package/boot/kexec-tools/Makefile | 3 +++ package/boot/kobs-ng/Makefile | 2 +- package/boot/rbcfg/Makefile | 3 +++ package/boot/uboot-ar71xx/Makefile | 3 +++ package/boot/uboot-envtools/Makefile | 3 +++ package/boot/uboot-imx6/Makefile | 3 +++ package/boot/uboot-kirkwood/Makefile | 3 +++ package/boot/uboot-lantiq/Makefile | 3 +++ package/boot/uboot-mxs/Makefile | 3 +++ package/boot/uboot-omap/Makefile | 3 +++ package/boot/uboot-pxa/Makefile | 3 +++ package/boot/uboot-sunxi/Makefile | 3 +++ package/boot/uboot-xburst/Makefile | 3 +++ package/boot/yamonenv/Makefile | 3 +++ package/devel/gdb/Makefile | 3 +++ package/devel/oprofile/Makefile | 3 +++ package/devel/trace-cmd/Makefile | 3 +++ package/devel/valgrind/Makefile | 3 +++ package/libs/cyassl/Makefile | 3 +++ package/libs/gettext-full/Makefile | 3 +++ package/libs/libbsd/Makefile | 1 - package/libs/libconfig/Makefile | 3 +++ package/libs/libevent2/Makefile | 3 +++ package/libs/libiconv-full/Makefile | 3 +++ package/libs/libmnl/Makefile | 3 +++ package/libs/libnetfilter-conntrack/Makefile | 3 +++ package/libs/libnfnetlink/Makefile | 3 +++ package/libs/libnl/Makefile | 3 +++ package/libs/libpcap/Makefile | 3 +++ package/libs/libreadline/Makefile | 2 +- package/libs/libroxml/Makefile | 3 +++ package/libs/librpc/Makefile | 2 +- package/libs/libtool/Makefile | 4 ++-- package/libs/libubox/Makefile | 2 +- package/libs/libusb-compat/Makefile | 3 +++ package/libs/libusb/Makefile | 3 +++ package/libs/lzo/Makefile | 3 +++ package/libs/ocf-crypto-headers/Makefile | 2 +- package/libs/openssl/Makefile | 1 + package/libs/polarssl/Makefile | 3 +++ package/libs/popt/Makefile | 4 +++- package/libs/sysfsutils/Makefile | 2 +- package/libs/uclibc++/Makefile | 3 +++ package/network/config/firewall/Makefile | 2 ++ package/network/config/qos-scripts/Makefile | 3 +++ package/network/config/soloscli/Makefile | 3 +++ package/network/config/swconfig/Makefile | 3 +++ package/network/ipv6/6in4/Makefile | 3 +++ package/network/ipv6/6rd/Makefile | 3 +++ package/network/ipv6/6to4/Makefile | 3 +++ package/network/ipv6/ds-lite/Makefile | 3 +++ package/network/ipv6/map/Makefile | 3 +++ package/network/ipv6/odhcp6c/Makefile | 3 +++ package/network/ipv6/thc-ipv6/Makefile | 3 +++ package/network/services/authsae/Makefile | 3 +++ package/network/services/dnsmasq/Makefile | 4 ++-- package/network/services/ead/Makefile | 3 +++ package/network/services/hostapd/Makefile | 3 +++ package/network/services/igmpproxy/Makefile | 3 +++ package/network/services/lldpd/Makefile | 3 +++ package/network/services/odhcpd/Makefile | 3 +++ package/network/services/openvpn-easy-rsa/Makefile | 3 +++ package/network/services/openvpn/Makefile | 3 +++ package/network/services/ppp/Makefile | 3 +++ package/network/services/relayd/Makefile | 3 +++ package/network/services/samba36/Makefile | 2 +- package/network/services/uhttpd/Makefile | 3 +++ package/network/utils/arptables/Makefile | 3 +++ package/network/utils/comgt/Makefile | 3 +++ package/network/utils/conntrack-tools/Makefile | 3 +++ package/network/utils/dante/Makefile | 3 +++ package/network/utils/ebtables/Makefile | 3 +++ package/network/utils/ifenslave/Makefile | 3 +++ package/network/utils/iftop/Makefile | 3 +++ package/network/utils/iperf/Makefile | 3 +++ package/network/utils/iproute2/Makefile | 3 +++ package/network/utils/ipset/Makefile | 3 +++ package/network/utils/iptables/Makefile | 3 +++ package/network/utils/iputils/Makefile | 3 +++ package/network/utils/iw/Makefile | 3 +++ package/network/utils/iwcap/Makefile | 3 +++ package/network/utils/iwinfo/Makefile | 3 +++ package/network/utils/linux-atm/Makefile | 3 +++ package/network/utils/maccalc/Makefile | 3 +++ package/network/utils/owipcalc/Makefile | 3 +++ package/network/utils/resolveip/Makefile | 3 +++ package/network/utils/rssileds/Makefile | 3 +++ package/network/utils/tcpdump/Makefile | 3 +++ package/network/utils/wireless-tools/Makefile | 3 +++ package/network/utils/xtables-addons/Makefile | 3 +++ package/system/ca-certificates/Makefile | 3 +++ package/system/fstools/Makefile | 2 +- package/system/mountd/Makefile | 3 +++ package/system/mtd/Makefile | 2 +- package/system/opkg/Makefile | 2 +- package/system/procd/Makefile | 2 +- package/system/ubox/Makefile | 2 +- package/system/uci/Makefile | 2 +- package/system/udev/Makefile | 3 +++ package/system/zram-swap/Makefile | 3 +++ package/utils/admswconfig/Makefile | 3 +++ package/utils/busybox/Makefile | 2 +- package/utils/e2fsprogs/Makefile | 3 +++ package/utils/fbtest/Makefile | 3 +++ package/utils/fuse/Makefile | 2 +- package/utils/hostap-utils/Makefile | 3 +++ package/utils/jsonfilter/Makefile | 3 +++ package/utils/mdadm/Makefile | 3 +++ package/utils/mkelfimage/Makefile | 3 +++ package/utils/nvram/Makefile | 3 +++ package/utils/px5g-standalone/Makefile | 3 +++ package/utils/px5g/Makefile | 3 +++ package/utils/robocfg/Makefile | 3 +++ package/utils/spidev_test/Makefile | 3 +++ package/utils/ubi-utils/Makefile | 2 +- package/utils/usbreset/Makefile | 3 +++ package/utils/usbutils/Makefile | 3 +++ package/utils/util-linux/Makefile | 2 +- package/utils/xfsprogs/Makefile | 6 +++++- 124 files changed, 331 insertions(+), 24 deletions(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 83b9929ead9..03b2d2de45c 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -13,6 +13,8 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files PKG_RELEASE:=156 +PKG_LICENSE:=GPL-2.0 + PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host PKG_LICENSE:=GPL-2.0 diff --git a/package/boot/apex/Makefile b/package/boot/apex/Makefile index 1a1ab1b28b6..64315a1ae87 100644 --- a/package/boot/apex/Makefile +++ b/package/boot/apex/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ PKG_MD5SUM:=9606cf2e3fd2c9a86fe0b61388509a30 PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk export GCC_HONOUR_COPTS=s diff --git a/package/boot/fconfig/Makefile b/package/boot/fconfig/Makefile index 14bbec57b83..c04afdaac25 100644 --- a/package/boot/fconfig/Makefile +++ b/package/boot/fconfig/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://andrzejekiert.ovh.org/software/fconfig/ PKG_MD5SUM:=dac355e9f2a0f48c414c52e2034b6346 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk diff --git a/package/boot/grub2/Makefile b/package/boot/grub2/Makefile index 64a30589d0e..a800a36f801 100644 --- a/package/boot/grub2/Makefile +++ b/package/boot/grub2/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/grub PKG_MD5SUM:=be62932eade308a364ea4bbc91295930 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + HOST_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=grub2/host diff --git a/package/boot/imx-bootlets/Makefile b/package/boot/imx-bootlets/Makefile index 2ff60ee2f86..56e2d7f023b 100644 --- a/package/boot/imx-bootlets/Makefile +++ b/package/boot/imx-bootlets/Makefile @@ -13,6 +13,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://trabant.uid0.hu/openwrt/ PKG_MD5SUM:=82e375193b66ca643023c1656d536282 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/imx-bootlets diff --git a/package/boot/kexec-tools/Makefile b/package/boot/kexec-tools/Makefile index 8c1c255cbab..deeb4a5abe4 100644 --- a/package/boot/kexec-tools/Makefile +++ b/package/boot/kexec-tools/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/kexec PKG_MD5SUM:=05992bc8c0673fc55be7b6d27e48a8db +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_CONFIG_DEPENDS := CONFIG_KEXEC_ZLIB diff --git a/package/boot/kobs-ng/Makefile b/package/boot/kobs-ng/Makefile index c43fa192434..de14c9402a4 100644 --- a/package/boot/kobs-ng/Makefile +++ b/package/boot/kobs-ng/Makefile @@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/k/kobs-ng/kobs-ng-$(PKG_VERSION)/ PKG_MD5SUM:=26104c577f59a6b81782a5bd16aadd82 -PKG_LICENSE:=GPLv2 +PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=COPYING include $(INCLUDE_DIR)/package.mk diff --git a/package/boot/rbcfg/Makefile b/package/boot/rbcfg/Makefile index 51fefd5942c..76ae21e7a64 100644 --- a/package/boot/rbcfg/Makefile +++ b/package/boot/rbcfg/Makefile @@ -10,6 +10,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rbcfg PKG_RELEASE:=1 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk diff --git a/package/boot/uboot-ar71xx/Makefile b/package/boot/uboot-ar71xx/Makefile index 1955bd8eeb4..7c4bb6ce8a0 100644 --- a/package/boot/uboot-ar71xx/Makefile +++ b/package/boot/uboot-ar71xx/Makefile @@ -20,6 +20,9 @@ PKG_SOURCE_URL:= \ PKG_MD5SUM:= PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + include $(INCLUDE_DIR)/package.mk define uboot/Default diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index fa49c13f967..53bfbb1653a 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -23,6 +23,9 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/u-boot-$(PKG_VERSION) PKG_BUILD_DEPENDS:=+fstools +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + include $(INCLUDE_DIR)/package.mk define Package/uboot-envtools diff --git a/package/boot/uboot-imx6/Makefile b/package/boot/uboot-imx6/Makefile index 7074da9f0d4..78b1c33254c 100644 --- a/package/boot/uboot-imx6/Makefile +++ b/package/boot/uboot-imx6/Makefile @@ -18,6 +18,9 @@ PKG_SOURCE_URL:= \ ftp://ftp.denx.de/pub/u-boot PKG_MD5SUM:=6d2116d1385a66e9a59742caa9d62a54 +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/boot/uboot-kirkwood/Makefile b/package/boot/uboot-kirkwood/Makefile index f12c13bda26..2f4a1bbbfe8 100644 --- a/package/boot/uboot-kirkwood/Makefile +++ b/package/boot/uboot-kirkwood/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE_URL:= \ PKG_MD5SUM:=36d4bad687edcafa396fee607e505d4e PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/boot/uboot-lantiq/Makefile b/package/boot/uboot-lantiq/Makefile index 9b20777895b..d2b868f5ded 100644 --- a/package/boot/uboot-lantiq/Makefile +++ b/package/boot/uboot-lantiq/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE_URL:= \ PKG_MD5SUM:=a076a044b64371edc52f7e562b13f6b2 PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + PKG_BUILD_PARALLEL:=1 FIRMWARE_LANTIQ_SOURCE:=$(TOPDIR)/target/linux/lantiq/files/firmware/lantiq diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index a6773b8d173..65413750945 100644 --- a/package/boot/uboot-mxs/Makefile +++ b/package/boot/uboot-mxs/Makefile @@ -18,6 +18,9 @@ PKG_SOURCE_URL:= \ ftp://ftp.denx.de/pub/u-boot PKG_MD5SUM:=36d4bad687edcafa396fee607e505d4e +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + include $(INCLUDE_DIR)/package.mk define uboot/Default diff --git a/package/boot/uboot-omap/Makefile b/package/boot/uboot-omap/Makefile index 96168a30d08..6e836d047a6 100644 --- a/package/boot/uboot-omap/Makefile +++ b/package/boot/uboot-omap/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE_URL:= \ PKG_MD5SUM:=a076a044b64371edc52f7e562b13f6b2 PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + include $(INCLUDE_DIR)/package.mk define uboot/Default diff --git a/package/boot/uboot-pxa/Makefile b/package/boot/uboot-pxa/Makefile index 7fe747cf0cd..6d477420f01 100644 --- a/package/boot/uboot-pxa/Makefile +++ b/package/boot/uboot-pxa/Makefile @@ -18,6 +18,9 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=ca6bf3ef6ac5f5132a359b43dfa31e07076b74b7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define uboot/Default diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 5ab52360f28..5b83105b816 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:= \ PKG_SOURCE_VERSION:=6d2116d1385a66e9a59742caa9d62a54 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + include $(INCLUDE_DIR)/package.mk define uboot/Default diff --git a/package/boot/uboot-xburst/Makefile b/package/boot/uboot-xburst/Makefile index 89802d0f400..a4c183d2b6c 100644 --- a/package/boot/uboot-xburst/Makefile +++ b/package/boot/uboot-xburst/Makefile @@ -20,6 +20,9 @@ PKG_SOURCE_URL:= \ PKG_MD5SUM:=451c07271940016cec6f5ad8a155263b PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define uboot/Default diff --git a/package/boot/yamonenv/Makefile b/package/boot/yamonenv/Makefile index e1d2a4baf1c..7b2c31458b2 100644 --- a/package/boot/yamonenv/Makefile +++ b/package/boot/yamonenv/Makefile @@ -17,6 +17,9 @@ PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=gpl.txt + include $(INCLUDE_DIR)/package.mk define Package/yamonenv diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile index c47735a8c08..bac5f40521c 100644 --- a/package/devel/gdb/Makefile +++ b/package/devel/gdb/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/gdb PKG_MD5SUM:=bd958fe9019d7c7896f29f6724a764ed +PKG_LICENSE:=GPL-3.0+ LGPL-3.0+ +PKG_LICENSE_FILES:=COPYING3 COPYING3.LIB + PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 PKG_LICENSE:=GPL-3.0+ diff --git a/package/devel/oprofile/Makefile b/package/devel/oprofile/Makefile index cc23c939a5f..c5ef6446c9f 100644 --- a/package/devel/oprofile/Makefile +++ b/package/devel/oprofile/Makefile @@ -17,6 +17,9 @@ PKG_MD5SUM:=00aec1287da2dfffda17a9b1c0a01868 PKG_MAINTAINER:=Felix Fietkau +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_BUILD_DEPENDS:=binutils PKG_LICENSE:=GPL-2.0+ PKG_FIXUP:=autoreconf diff --git a/package/devel/trace-cmd/Makefile b/package/devel/trace-cmd/Makefile index 6d776fe929f..bad109a7f08 100644 --- a/package/devel/trace-cmd/Makefile +++ b/package/devel/trace-cmd/Makefile @@ -14,6 +14,9 @@ PKG_INSTALL:=1 PKG_USE_MIPS16:=0 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 LGPL-2.1 +PKG_LICENSE_FILES:=COPYING COPYING.LIB + PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index e2c7f672806..914efcf7095 100644 --- a/package/devel/valgrind/Makefile +++ b/package/devel/valgrind/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=7c311a72a20388aceced1aa5573ce970 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP = autoreconf PKG_INSTALL := 1 PKG_BUILD_PARALLEL := 1 diff --git a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile index fd901576b83..48efe3b9ec2 100644 --- a/package/libs/cyassl/Makefile +++ b/package/libs/cyassl/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip PKG_SOURCE_URL:=http://www.yassl.com/ PKG_MD5SUM:=a80493c224ff86e45dc333c06d5edb88 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=libtool PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile index 2399f0fe35a..405a384a94f 100644 --- a/package/libs/gettext-full/Makefile +++ b/package/libs/gettext-full/Makefile @@ -20,6 +20,9 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/gettext-$(PKG_VERSION) PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-3.0+ +PKG_LICENSE:=GPL-3.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=0 diff --git a/package/libs/libbsd/Makefile b/package/libs/libbsd/Makefile index 3c12d9f65be..8b649001271 100644 --- a/package/libs/libbsd/Makefile +++ b/package/libs/libbsd/Makefile @@ -54,4 +54,3 @@ define Package/libbsd/install endef $(eval $(call BuildPackage,libbsd)) - diff --git a/package/libs/libconfig/Makefile b/package/libs/libconfig/Makefile index bbc0b04fba4..fa25692b6f8 100644 --- a/package/libs/libconfig/Makefile +++ b/package/libs/libconfig/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=b6ee0ce2b3ef844bad7cac2803a90634 PKG_FIXUP:=autoreconf PKG_INSTALL:=1 +PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILES:=COPYING.LIB + PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=LGPL-2.1+ diff --git a/package/libs/libevent2/Makefile b/package/libs/libevent2/Makefile index 3ce94dd7590..4af84393be3 100644 --- a/package/libs/libevent2/Makefile +++ b/package/libs/libevent2/Makefile @@ -19,6 +19,9 @@ PKG_MD5SUM:=b2405cc9ebf264aa47ff615d9de527a2 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 diff --git a/package/libs/libiconv-full/Makefile b/package/libs/libiconv-full/Makefile index 75bca833484..8c68c12d1d7 100644 --- a/package/libs/libiconv-full/Makefile +++ b/package/libs/libiconv-full/Makefile @@ -18,6 +18,9 @@ PKG_SOURCE_URL:=@GNU/libiconv PKG_MD5SUM:=d42b97f6ef5dd0ba4469d520ed732fed PKG_BUILD_DIR:=$(BUILD_DIR)/libiconv-$(PKG_VERSION) +PKG_LICENSE:=LGPL-2.0+ +PKG_LICENSE_FILES:=COPYING.LIB + PKG_FIXUP:=patch-libtool include $(INCLUDE_DIR)/package.mk diff --git a/package/libs/libmnl/Makefile b/package/libs/libmnl/Makefile index 06c77652ee0..7dd82dc16a5 100644 --- a/package/libs/libmnl/Makefile +++ b/package/libs/libmnl/Makefile @@ -19,6 +19,9 @@ PKG_MD5SUM:=7d95fc3bea3365bc03c48e484224f65f PKG_MAINTAINER:=Jo-Philipp Wich +PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_LICENSE:=LGPL-2.1+ diff --git a/package/libs/libnetfilter-conntrack/Makefile b/package/libs/libnetfilter-conntrack/Makefile index 4579a02c433..d70cda7877d 100644 --- a/package/libs/libnetfilter-conntrack/Makefile +++ b/package/libs/libnetfilter-conntrack/Makefile @@ -18,6 +18,9 @@ PKG_SOURCE_URL:= \ PKG_MD5SUM:=73394a3d8d0cfecc6abb6027b4792d52 PKG_MAINTAINER:=Jo-Philipp Wich +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_LICENSE:=GPL-2.0+ diff --git a/package/libs/libnfnetlink/Makefile b/package/libs/libnfnetlink/Makefile index 861c60400a6..8a3e06cb347 100644 --- a/package/libs/libnfnetlink/Makefile +++ b/package/libs/libnfnetlink/Makefile @@ -20,6 +20,9 @@ PKG_MD5SUM:=98927583d2016a9fb1936fed992e2c5e PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile index 995fda207fe..15daf6051e9 100644 --- a/package/libs/libnl/Makefile +++ b/package/libs/libnl/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:=http://www.infradead.org/~tgr/libnl/files/ PKG_MD5SUM:=6fe7136558a9071e70673dcda38545b3 PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define Package/libnl diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile index 2a90c49f137..9fea67f70f3 100644 --- a/package/libs/libpcap/Makefile +++ b/package/libs/libpcap/Makefile @@ -17,6 +17,9 @@ PKG_MD5SUM:=7e7321fb3aff2f2bb05c8229f3795d4a PKG_MAINTAINER:=Felix Fietkau +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE + PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=BSD-3-Clause diff --git a/package/libs/libreadline/Makefile b/package/libs/libreadline/Makefile index a9e6a221638..6cd44e70c11 100644 --- a/package/libs/libreadline/Makefile +++ b/package/libs/libreadline/Makefile @@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/readline PKG_MD5SUM:=33c8fb279e981274f485fd91da77e94a -PKG_LICENSE:=GPL-3.0 +PKG_LICENSE:=GPL-3.0+ PKG_LICENSE_FILES:=COPYING PKG_BUILD_PARALLEL:=1 diff --git a/package/libs/libroxml/Makefile b/package/libs/libroxml/Makefile index 1c7b3d3470f..8baa3aea2d2 100644 --- a/package/libs/libroxml/Makefile +++ b/package/libs/libroxml/Makefile @@ -17,6 +17,9 @@ PKG_SOURCE_URL:=http://download.libroxml.net/pool/v2.x PKG_MD5SUM:=a975f91be150f7a19168a45ce15769ca PKG_MAINTAINER:=Felix Fietkau +KG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILES:=License.txt + PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=LGPL-2.1+ diff --git a/package/libs/librpc/Makefile b/package/libs/librpc/Makefile index d68e3609da3..a37d076a20d 100644 --- a/package/libs/librpc/Makefile +++ b/package/libs/librpc/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1 PKG_USE_MIPS16:=0 -PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE:=GPL-2.0 LGPL-2.1 BSD-3-Clause PKG_LICENSE_FILES:= PKG_MAINTAINER:=Felix Fietkau diff --git a/package/libs/libtool/Makefile b/package/libs/libtool/Makefile index 6afa8bd0e73..4e6a6a8f002 100644 --- a/package/libs/libtool/Makefile +++ b/package/libs/libtool/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2006 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/libtool PKG_MD5SUM:=b32b04148ecdd7344abc6fe8bd1bb021 -PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0+ LGPL-2.0+ PKG_LICENSE_FILES:=COPYING PKG_BUILD_PARALLEL:=0 diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile index 76a2fe936f6..1fe70987b9e 100644 --- a/package/libs/libubox/Makefile +++ b/package/libs/libubox/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MIRROR_MD5SUM:= CMAKE_INSTALL:=1 -PKG_LICENSE:=ISC +PKG_LICENSE:=ISC BSD-3-Clause PKG_LICENSE_FILES:= PKG_MAINTAINER:=Felix Fietkau diff --git a/package/libs/libusb-compat/Makefile b/package/libs/libusb-compat/Makefile index c50740d13e2..d673b5888e6 100644 --- a/package/libs/libusb-compat/Makefile +++ b/package/libs/libusb-compat/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/libusb PKG_MD5SUM:=2ca521fffadd0c28fdf174e6ec73865b +PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILES:=COPYING + PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=LGPL-2.1 diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 2796b051d53..36156fb6a19 100644 --- a/package/libs/libusb/Makefile +++ b/package/libs/libusb/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_MD5SUM:=7f5a02375ad960d4e33a6dae7d63cfcb +PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILES:=COPYING + PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=LGPL-2.1 diff --git a/package/libs/lzo/Makefile b/package/libs/lzo/Makefile index b2bab05f3ed..e2a6efad02c 100644 --- a/package/libs/lzo/Makefile +++ b/package/libs/lzo/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/lzo/download/ PKG_MD5SUM:=fcec64c26a0f4f4901468f360029678f +KG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_LICENSE:=GPL-2.0+ diff --git a/package/libs/ocf-crypto-headers/Makefile b/package/libs/ocf-crypto-headers/Makefile index faf050884d5..c20cb2abffd 100644 --- a/package/libs/ocf-crypto-headers/Makefile +++ b/package/libs/ocf-crypto-headers/Makefile @@ -10,7 +10,7 @@ PKG_NAME:=ocf-crypto-headers PKG_VERSION:=20110720 PKG_RELEASE:=1 -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=cryptodev.h PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index a0087b5e552..34255b37f23 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -22,6 +22,7 @@ PKG_MD5SUM:=f7175c9cd3c39bb1907ac8bba9df8ed3 PKG_LICENSE:=OpenSSL PKG_LICENSE_FILES:=LICENSE + PKG_BUILD_DEPENDS:=ocf-crypto-headers PKG_CONFIG_DEPENDS:= \ CONFIG_OPENSSL_ENGINE_CRYPTO \ diff --git a/package/libs/polarssl/Makefile b/package/libs/polarssl/Makefile index 739f7839df9..af8fc704bb9 100644 --- a/package/libs/polarssl/Makefile +++ b/package/libs/polarssl/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz PKG_SOURCE_URL:=https://polarssl.org/code/releases PKG_MD5SUM:=d1a2b4f21727e888f143414d2e3144e6 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=LICENSE + PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0+ diff --git a/package/libs/popt/Makefile b/package/libs/popt/Makefile index 5e03774dd2b..1c9711577a3 100644 --- a/package/libs/popt/Makefile +++ b/package/libs/popt/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ PKG_MD5SUM:=5988e7aeb0ae4dac8d83561265984cc9 PKG_LICENSE:=MIT +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_REMOVE_FILES:=autogen.sh aclocal.m4 @@ -57,4 +60,3 @@ $(eval $(call RequireCommand,xgettext, \ )) $(eval $(call BuildPackage,libpopt)) - diff --git a/package/libs/sysfsutils/Makefile b/package/libs/sysfsutils/Makefile index 9ee76a03625..f95617f3e06 100644 --- a/package/libs/sysfsutils/Makefile +++ b/package/libs/sysfsutils/Makefile @@ -16,7 +16,7 @@ PKG_SOURCE_URL:=@SF/linux-diag PKG_MD5SUM:=14e7dcd0436d2f49aa403f67e1ef7ddc PKG_MAINTAINER:=Jo-Philipp Wich -PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE:=GPL-2.0 LGPL-2.1+ PKG_LICENSE_FILES:=COPYING cmd/GPL lib/LGPL PKG_FIXUP:=autoreconf diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile index ade3c62e0fa..22192459d0e 100644 --- a/package/libs/uclibc++/Makefile +++ b/package/libs/uclibc++/Makefile @@ -20,6 +20,9 @@ PKG_BUILD_PARALLEL:=1 PKG_USE_MIPS16:=0 PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILES:= + PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/config/firewall/Makefile b/package/network/config/firewall/Makefile index b1d50a19f1f..e224c928030 100644 --- a/package/network/config/firewall/Makefile +++ b/package/network/config/firewall/Makefile @@ -19,6 +19,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=ISC +PKG_LICENSE:=ISC +PKG_LICENSE_FILES:= include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/package/network/config/qos-scripts/Makefile b/package/network/config/qos-scripts/Makefile index a6690a161a3..257b2f7572f 100644 --- a/package/network/config/qos-scripts/Makefile +++ b/package/network/config/qos-scripts/Makefile @@ -13,6 +13,9 @@ PKG_RELEASE:=6 PKG_MAINTAINER:=Felix Fietkau +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk diff --git a/package/network/config/soloscli/Makefile b/package/network/config/soloscli/Makefile index 12bc15eaca9..ba55a1e4a7f 100644 --- a/package/network/config/soloscli/Makefile +++ b/package/network/config/soloscli/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:=@SF/openadsl PKG_MD5SUM:=c398866de3c059b14eb953c89d698124 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=soloscli/COPYING.GPL + PKG_BUILD_DIR:=$(BUILD_DIR)/solos-pci-$(PKG_VERSION) PKG_BUILD_PARALLEL:=1 diff --git a/package/network/config/swconfig/Makefile b/package/network/config/swconfig/Makefile index 7d0f30e7bb3..fb951da3acf 100644 --- a/package/network/config/swconfig/Makefile +++ b/package/network/config/swconfig/Makefile @@ -13,6 +13,9 @@ PKG_RELEASE:=10 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 LGPL-2.1 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/kernel.mk diff --git a/package/network/ipv6/6in4/Makefile b/package/network/ipv6/6in4/Makefile index aeb187cb588..b5e157962d0 100644 --- a/package/network/ipv6/6in4/Makefile +++ b/package/network/ipv6/6in4/Makefile @@ -12,6 +12,9 @@ PKG_VERSION:=18 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/6in4 diff --git a/package/network/ipv6/6rd/Makefile b/package/network/ipv6/6rd/Makefile index 82195c8c3ba..b4e796a052f 100644 --- a/package/network/ipv6/6rd/Makefile +++ b/package/network/ipv6/6rd/Makefile @@ -12,6 +12,9 @@ PKG_VERSION:=7 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/6rd diff --git a/package/network/ipv6/6to4/Makefile b/package/network/ipv6/6to4/Makefile index 6be2cc57706..f9eee0e2fba 100644 --- a/package/network/ipv6/6to4/Makefile +++ b/package/network/ipv6/6to4/Makefile @@ -12,6 +12,9 @@ PKG_VERSION:=12 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/6to4 diff --git a/package/network/ipv6/ds-lite/Makefile b/package/network/ipv6/ds-lite/Makefile index 4a3d1b38cd8..c39881bf8b2 100644 --- a/package/network/ipv6/ds-lite/Makefile +++ b/package/network/ipv6/ds-lite/Makefile @@ -12,6 +12,9 @@ PKG_VERSION:=4 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/ds-lite diff --git a/package/network/ipv6/map/Makefile b/package/network/ipv6/map/Makefile index 382fe0a8ba0..a06a324c01c 100644 --- a/package/network/ipv6/map/Makefile +++ b/package/network/ipv6/map/Makefile @@ -12,6 +12,9 @@ PKG_VERSION:=2 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile index 56ed206c3f0..c06e68e07b9 100644 --- a/package/network/ipv6/odhcp6c/Makefile +++ b/package/network/ipv6/odhcp6c/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE_VERSION:=940e2141ab13727af6323c4d30002f785e466318 PKG_MAINTAINER:=Steven Barth PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/package/network/ipv6/thc-ipv6/Makefile b/package/network/ipv6/thc-ipv6/Makefile index 4c75f1869b0..255988d81ba 100644 --- a/package/network/ipv6/thc-ipv6/Makefile +++ b/package/network/ipv6/thc-ipv6/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=5c9be9ad38ac15c368bb5140d031c051 PKG_MAINTAINER:=Jo-Philipp Wich +PKG_LICENSE:=GPL-3.0+ +PKG_LICENSE_FILES:=LICENSE + include $(INCLUDE_DIR)/package.mk THC_APPLETS := \ diff --git a/package/network/services/authsae/Makefile b/package/network/services/authsae/Makefile index 29550214fa7..d46ef2a9084 100644 --- a/package/network/services/authsae/Makefile +++ b/package/network/services/authsae/Makefile @@ -17,6 +17,9 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=8531ab158910a525d4bcbb3ad02c08342f6987f2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:= + PKG_BUILD_PARALLEL:=1 CMAKE_INSTALL:=1 diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index a5302255b13..bf9fc8f5885 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -15,8 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq PKG_MD5SUM:=cf82f81cf09ad3d47612985012240483 -PKG_LICENSE:=GPL-2.0 -PKG_LICENSE_FILES:=COPYING +PKG_LICENSE:=GPL-2.0 GPL-3.0 +PKG_LICENSE_FILES:=COPYING COPYING-v3 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/package/network/services/ead/Makefile b/package/network/services/ead/Makefile index c7432533cf9..163c6b89bf7 100644 --- a/package/network/services/ead/Makefile +++ b/package/network/services/ead/Makefile @@ -16,6 +16,9 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/ead PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/kernel.mk diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index d698c050a3f..d8178b89cd6 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_PROTO:=git # PKG_MIRROR_MD5SUM:=4e7c1f97edd7514535056fce54ae053a +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=README + PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=BSD-3-Clause diff --git a/package/network/services/igmpproxy/Makefile b/package/network/services/igmpproxy/Makefile index 33ed0140407..36b35e0e249 100644 --- a/package/network/services/igmpproxy/Makefile +++ b/package/network/services/igmpproxy/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:=@SF/igmpproxy PKG_MD5SUM:=c56f41ec195bc1fe016369bf74efc5a1 PKG_MAINTAINER:=Felix Fietkau +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=GPL.txt + include $(INCLUDE_DIR)/package.mk PKG_FIXUP:=autoreconf diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 3a2e41122dc..c597440ed27 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=9031734c69940dd79a0a175123275f83 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=ISC +PKG_LICENSE:=ISC +PKG_LICENSE_FILES:=README.md + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile index a2f9f9a20c4..e0372f58cb8 100644 --- a/package/network/services/odhcpd/Makefile +++ b/package/network/services/odhcpd/Makefile @@ -20,6 +20,9 @@ PKG_SOURCE_VERSION:=b461334ab277b6e8fd1622ab7c8a655363bd3f6c PKG_MAINTAINER:=Steven Barth PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/package/network/services/openvpn-easy-rsa/Makefile b/package/network/services/openvpn-easy-rsa/Makefile index 487b61c81f6..47cf84243d8 100644 --- a/package/network/services/openvpn-easy-rsa/Makefile +++ b/package/network/services/openvpn-easy-rsa/Makefile @@ -20,6 +20,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYRIGHT.GPL + PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR) include $(INCLUDE_DIR)/package.mk diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index 27f831b6d5d..e8187d33f4d 100644 --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=04d47237907faabe9d046970ffe44b2e PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYRIGHT.GPL + PKG_INSTALL:=1 PKG_FIXUP:=autoreconf PKG_BUILD_PARALLEL:=1 diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile index 33b71ffe82d..d8cecc4c598 100644 --- a/package/network/services/ppp/Makefile +++ b/package/network/services/ppp/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=78818f40e6d33a1d1de68a1551f6595a PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=BSD-4-Clause +PKG_LICENSE:=BSD-3-Clause BSD-4-Clause +PKG_LICENSE_FILES:= + PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DEPENDS:=libpcap diff --git a/package/network/services/relayd/Makefile b/package/network/services/relayd/Makefile index 8c5d33866f6..c1ff51b2a9b 100644 --- a/package/network/services/relayd/Makefile +++ b/package/network/services/relayd/Makefile @@ -17,6 +17,9 @@ PKG_SOURCE_URL:=git://nbd.name/relayd.git PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=767c54d5957a2db0b847add771e8e890b82569c0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0 diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile index 4dff34b3c97..8bf9202c95e 100644 --- a/package/network/services/samba36/Makefile +++ b/package/network/services/samba36/Makefile @@ -16,7 +16,7 @@ PKG_SOURCE_URL:=http://ftp.samba.org/pub/samba \ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MD5SUM:=d98425c0c2b73e08f048d31ffc727fb0 -PKG_LICENSE:=GPL-3.0 +PKG_LICENSE:=GPL-3.0+ PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Felix Fietkau diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile index e6e6753a688..765f4ffb744 100644 --- a/package/network/services/uhttpd/Makefile +++ b/package/network/services/uhttpd/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=ISC +PKG_LICENSE:=ISC +PKG_LICENSE_FILES:= + PKG_BUILD_DEPENDS = ustream-ssl include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/arptables/Makefile b/package/network/utils/arptables/Makefile index 62681dcd59f..642030afb7c 100644 --- a/package/network/utils/arptables/Makefile +++ b/package/network/utils/arptables/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE_URL:=@SF/ebtables PKG_MD5SUM:=c2e99c3aa9d78c9dfa30710ca3168182 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile index 9ab2f14e8ca..58845a83d58 100644 --- a/package/network/utils/comgt/Makefile +++ b/package/network/utils/comgt/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=db2452680c3d953631299e331daf49ef PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=gpl.txt + PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION) PKG_CHECK_FORMAT_SECURITY:=0 diff --git a/package/network/utils/conntrack-tools/Makefile b/package/network/utils/conntrack-tools/Makefile index c697d6565ce..bf002c2dca9 100644 --- a/package/network/utils/conntrack-tools/Makefile +++ b/package/network/utils/conntrack-tools/Makefile @@ -21,6 +21,9 @@ PKG_MD5SUM:=5add24d4761baf17af630d5627a71752 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/package/network/utils/dante/Makefile b/package/network/utils/dante/Makefile index f10dd86c1ba..0e9ab069c89 100644 --- a/package/network/utils/dante/Makefile +++ b/package/network/utils/dante/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=69b9d6234154d7d6a91fcbd98c68e62a PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=BSD-4-Clause +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/package/network/utils/ebtables/Makefile b/package/network/utils/ebtables/Makefile index 8c2fe2c7244..b1c8c9c11f8 100644 --- a/package/network/utils/ebtables/Makefile +++ b/package/network/utils/ebtables/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/ebtables PKG_MD5SUM:=506742a3d44b9925955425a659c1a8d0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION) PKG_LICENSE:=GPL-2.0 diff --git a/package/network/utils/ifenslave/Makefile b/package/network/utils/ifenslave/Makefile index 658fe9ea2da..c25d33600cb 100644 --- a/package/network/utils/ifenslave/Makefile +++ b/package/network/utils/ifenslave/Makefile @@ -12,6 +12,9 @@ PKG_NAME:=ifenslave PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/ifenslave diff --git a/package/network/utils/iftop/Makefile b/package/network/utils/iftop/Makefile index 037fb15cc12..e451e937a96 100644 --- a/package/network/utils/iftop/Makefile +++ b/package/network/utils/iftop/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=fef521a49ec0122458d02c64212af3c5 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define Package/iftop diff --git a/package/network/utils/iperf/Makefile b/package/network/utils/iperf/Makefile index 414342d0726..a5067ecc2d1 100644 --- a/package/network/utils/iperf/Makefile +++ b/package/network/utils/iperf/Makefile @@ -19,6 +19,9 @@ PKG_MD5SUM:=44b5536b67719f4250faed632a3cd016 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE:=NCSA +PKG_LICENSE_FILES:=COPYING + PKG_BUILD_PARALLEL:=1 PKG_CHECK_FORMAT_SECURITY:=0 diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index f6d2801e538..6b21fc68e41 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -17,6 +17,9 @@ PKG_MD5SUM:=6c823b40fdcfa7b8120743349a52ac18 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/ipset/Makefile b/package/network/utils/ipset/Makefile index 16ac8c6e52e..06d4b882ccc 100644 --- a/package/network/utils/ipset/Makefile +++ b/package/network/utils/ipset/Makefile @@ -19,6 +19,9 @@ PKG_MD5SUM:=8af741492752fbf24d3a28a9d1473d40 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index f8ce00c4ec9..b8d562d8a6f 100644 --- a/package/network/utils/iptables/Makefile +++ b/package/network/utils/iptables/Makefile @@ -19,6 +19,9 @@ PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \ ftp://ftp.no.netfilter.org/pub/netfilter/iptables/ PKG_MD5SUM:=536d048c8e8eeebcd9757d0863ebb0c0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 diff --git a/package/network/utils/iputils/Makefile b/package/network/utils/iputils/Makefile index 1dc993cb813..97e3990a3a7 100644 --- a/package/network/utils/iputils/Makefile +++ b/package/network/utils/iputils/Makefile @@ -18,6 +18,9 @@ PKG_MD5SUM:=a36c25e9ec17e48be514dc0485e7376c PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0+ BSD-4-Clause +PKG_LICENSE_FILES:= + PKG_BUILD_DEPENDS:=sysfsutils PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-s$(PKG_VERSION) diff --git a/package/network/utils/iw/Makefile b/package/network/utils/iw/Makefile index 62a88e8e17f..aea33ced68a 100644 --- a/package/network/utils/iw/Makefile +++ b/package/network/utils/iw/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.kernel.org/pub/software/network/iw PKG_MD5SUM:=3b77ad7ec44a865a3bb2ab6c1c463bba +PKG_LICENSE:=ISC +PKG_LICENSE_FILES:=COPYING + PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0 diff --git a/package/network/utils/iwcap/Makefile b/package/network/utils/iwcap/Makefile index d3f884715c9..fe09521940e 100644 --- a/package/network/utils/iwcap/Makefile +++ b/package/network/utils/iwcap/Makefile @@ -10,6 +10,9 @@ PKG_NAME:=iwcap PKG_RELEASE:=1 PKG_LICENSE:=Apache-2.0 +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile index 6cd8414d5c9..e7f90b404ac 100644 --- a/package/network/utils/iwinfo/Makefile +++ b/package/network/utils/iwinfo/Makefile @@ -25,6 +25,9 @@ PKG_CONFIG_DEPENDS := \ CONFIG_PACKAGE_kmod-madwifi \ CONFIG_PACKAGE_kmod-cfg80211 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile index 8e5bf9f46be..5a410bd01f1 100644 --- a/package/network/utils/linux-atm/Makefile +++ b/package/network/utils/linux-atm/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_MD5SUM:=d49499368c3cf15f73a05d9bce8824a8 +PKG_LICENSE:=GPL-2.0 LGPL-2.0 +PKG_LICENSE_FILES:=COPYING COPYING.GPL COPYING.LGPL + PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_CHECK_FORMAT_SECURITY:=0 diff --git a/package/network/utils/maccalc/Makefile b/package/network/utils/maccalc/Makefile index b4800d0085e..7850f438a4e 100644 --- a/package/network/utils/maccalc/Makefile +++ b/package/network/utils/maccalc/Makefile @@ -13,6 +13,9 @@ PKG_LICENSE:=GPL-2.0 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/maccalc diff --git a/package/network/utils/owipcalc/Makefile b/package/network/utils/owipcalc/Makefile index 9d6b397991e..cda40647b44 100644 --- a/package/network/utils/owipcalc/Makefile +++ b/package/network/utils/owipcalc/Makefile @@ -10,6 +10,9 @@ PKG_NAME:=owipcalc PKG_RELEASE:=3 PKG_LICENSE:=Apache-2.0 +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/resolveip/Makefile b/package/network/utils/resolveip/Makefile index 3243a80016a..02b0df9d139 100644 --- a/package/network/utils/resolveip/Makefile +++ b/package/network/utils/resolveip/Makefile @@ -11,6 +11,9 @@ PKG_NAME:=resolveip PKG_RELEASE:=2 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/resolveip diff --git a/package/network/utils/rssileds/Makefile b/package/network/utils/rssileds/Makefile index 6ca4e32e032..b08d2e71fcf 100644 --- a/package/network/utils/rssileds/Makefile +++ b/package/network/utils/rssileds/Makefile @@ -12,6 +12,9 @@ PKG_VERSION:=0.2 PKG_RELEASE:=1 PKG_LICNESE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/rssileds diff --git a/package/network/utils/tcpdump/Makefile b/package/network/utils/tcpdump/Makefile index 8e33a2bb7b0..89c187624f5 100644 --- a/package/network/utils/tcpdump/Makefile +++ b/package/network/utils/tcpdump/Makefile @@ -24,6 +24,9 @@ PKG_BUILD_PARALLEL:=1 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE + PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/wireless-tools/Makefile b/package/network/utils/wireless-tools/Makefile index 64b6f9fc7ad..722bfaf4725 100644 --- a/package/network/utils/wireless-tools/Makefile +++ b/package/network/utils/wireless-tools/Makefile @@ -20,6 +20,9 @@ TAR_OPTIONS += || true PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_BUILD_DIR:=$(BUILD_DIR)/wireless_tools.$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/xtables-addons/Makefile b/package/network/utils/xtables-addons/Makefile index 59300f94a73..b2728e4e8e2 100644 --- a/package/network/utils/xtables-addons/Makefile +++ b/package/network/utils/xtables-addons/Makefile @@ -23,6 +23,9 @@ PKG_CHECK_FORMAT_SECURITY:=0 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=LICENSE + PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk diff --git a/package/system/ca-certificates/Makefile b/package/system/ca-certificates/Makefile index 0caf0271313..da6f58095ac 100644 --- a/package/system/ca-certificates/Makefile +++ b/package/system/ca-certificates/Makefile @@ -16,6 +16,9 @@ PKG_MD5SUM:=f619282081c8bfc65ea64c37fa5285ed PKG_INSTALL:=1 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/ca-certificates diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 40d8541e621..13978f7a03a 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -20,7 +20,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1 PKG_CHECK_FORMAT_SECURITY:=0 -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:= PKG_USE_MIPS16:=0 diff --git a/package/system/mountd/Makefile b/package/system/mountd/Makefile index 36832b2227c..4f902363c28 100644 --- a/package/system/mountd/Makefile +++ b/package/system/mountd/Makefile @@ -14,6 +14,9 @@ PKG_MAINTAINER:=John Crispin PKG_CHECK_FORMAT_SECURITY:=0 PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/mountd diff --git a/package/system/mtd/Makefile b/package/system/mtd/Makefile index 8d7bb44aa0a..3515ec51a6b 100644 --- a/package/system/mtd/Makefile +++ b/package/system/mtd/Makefile @@ -14,7 +14,7 @@ PKG_RELEASE:=20 PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME) STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS) -PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE:=GPL-2.0 GPL-2.0+ PKG_LICENSE_FILES:= include $(INCLUDE_DIR)/package.mk diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile index 391adfa0d9e..e1cd30bb3fd 100644 --- a/package/system/opkg/Makefile +++ b/package/system/opkg/Makefile @@ -23,7 +23,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI PKG_FIXUP:=autoreconf PKG_REMOVE_FILES = autogen.sh aclocal.m4 -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=COPYING PKG_BUILD_PARALLEL:=1 diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 3557eb80bed..741c2f38da6 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -19,7 +19,7 @@ PKG_SOURCE_VERSION:=174777181850705df7c6dbe234bd7e93d352666a PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1 -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:= PKG_MAINTAINER:=John Crispin diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index de35d583926..33e98256cd7 100644 --- a/package/system/ubox/Makefile +++ b/package/system/ubox/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1 PKG_CHECK_FORMAT_SECURITY:=0 -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:= PKG_MAINTAINER:=John Crispin diff --git a/package/system/uci/Makefile b/package/system/uci/Makefile index fd87b5d11a3..eb7d97fdbff 100644 --- a/package/system/uci/Makefile +++ b/package/system/uci/Makefile @@ -21,7 +21,7 @@ PKG_SOURCE_SUBDIR:=uci-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_PROTO:=git -PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE:=LGPL-2.1 GPL-2.0 PKG_LICENSE_FILES:= PKG_MAINTAINER:=Felix Fietkau diff --git a/package/system/udev/Makefile b/package/system/udev/Makefile index a99533e4547..22a4cf43113 100644 --- a/package/system/udev/Makefile +++ b/package/system/udev/Makefile @@ -16,6 +16,9 @@ PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/hotplug/ PKG_MD5SUM:=91a88a359b60bbd074b024883cc0dbde PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk PKG_INSTALL=1 diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile index 1fe3804e82d..2bb0d7c2635 100644 --- a/package/system/zram-swap/Makefile +++ b/package/system/zram-swap/Makefile @@ -13,6 +13,9 @@ PKG_RELEASE:=2 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/zram-swap diff --git a/package/utils/admswconfig/Makefile b/package/utils/admswconfig/Makefile index e16258f4b15..de3683d42ce 100644 --- a/package/utils/admswconfig/Makefile +++ b/package/utils/admswconfig/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://downloads.openwrt.org/sources PKG_MD5SUM:=faafd4618f970119a665b11b21ac6a26 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/admswconfig diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index c546405aa97..b46af22f162 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -21,7 +21,7 @@ PKG_BUILD_DEPENDS:=BUSYBOX_USE_LIBRPC:librpc BUSYBOX_CONFIG_PAM:libpam PKG_BUILD_PARALLEL:=1 PKG_CHECK_FORMAT_SECURITY:=0 -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 BSD-4-Clause PKG_LICENSE_FILES:=LICENSE archival/libarchive/bz/LICENSE include $(INCLUDE_DIR)/package.mk diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile index 5dc878658cd..5d5ad901dd1 100644 --- a/package/utils/e2fsprogs/Makefile +++ b/package/utils/e2fsprogs/Makefile @@ -18,6 +18,9 @@ PKG_SOURCE_URL:=@SF/e2fsprogs PKG_BUILD_DEPENDS:=util-linux PKG_INSTALL:=1 +PKG_LICENSE:=GPL-2.0 LGPL-2.0 BSD-3-Clause MIT +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define Package/e2fsprogs/Default diff --git a/package/utils/fbtest/Makefile b/package/utils/fbtest/Makefile index 05e67cb63a8..05ed99958fa 100644 --- a/package/utils/fbtest/Makefile +++ b/package/utils/fbtest/Makefile @@ -12,6 +12,9 @@ PKG_RELEASE:=1 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/fbtest diff --git a/package/utils/fuse/Makefile b/package/utils/fuse/Makefile index 0620b6cf9b6..5edfb7f8e43 100644 --- a/package/utils/fuse/Makefile +++ b/package/utils/fuse/Makefile @@ -16,7 +16,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_MD5SUM:=894ee11674f89a915ae87524aed55bc4 -PKG_LICENSE:=LGPLv2.1 GPLv2 +PKG_LICENSE:=LGPL-2.1 GPL-2.0 PKG_LICENSE_FILES:=COPYING.LIB COPYING PKG_INSTALL:=1 diff --git a/package/utils/hostap-utils/Makefile b/package/utils/hostap-utils/Makefile index 1d7b22122e7..a3e27fabebc 100644 --- a/package/utils/hostap-utils/Makefile +++ b/package/utils/hostap-utils/Makefile @@ -14,6 +14,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_MD5SUM:=afe041581b8f01666e353bec20917c85 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define Package/hostap-utils diff --git a/package/utils/jsonfilter/Makefile b/package/utils/jsonfilter/Makefile index 34020df482a..d5e677c816c 100644 --- a/package/utils/jsonfilter/Makefile +++ b/package/utils/jsonfilter/Makefile @@ -14,6 +14,9 @@ CMAKE_INSTALL:=1 PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=ISC +PKG_LICENSE:=ISC +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/package/utils/mdadm/Makefile b/package/utils/mdadm/Makefile index 69eec5b3890..92ac85c936f 100644 --- a/package/utils/mdadm/Makefile +++ b/package/utils/mdadm/Makefile @@ -17,6 +17,9 @@ PKG_MD5SUM:=2fd33dedcdb06f0d1461f50ddabb7e4a PKG_MAINTAINER:=Felix Fietkau +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/utils/mkelfimage/Makefile b/package/utils/mkelfimage/Makefile index 2433c720384..a5c04b239d8 100644 --- a/package/utils/mkelfimage/Makefile +++ b/package/utils/mkelfimage/Makefile @@ -13,6 +13,9 @@ PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/m/mkelfimage/ PKG_MD5SUM:=e505cb87e9c0cdc44cf03d2c4ea8c74b +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + include $(INCLUDE_DIR)/package.mk define Package/mkelfimage diff --git a/package/utils/nvram/Makefile b/package/utils/nvram/Makefile index fe70e34669c..27a49c5f011 100644 --- a/package/utils/nvram/Makefile +++ b/package/utils/nvram/Makefile @@ -12,6 +12,9 @@ PKG_RELEASE:=9 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/nvram diff --git a/package/utils/px5g-standalone/Makefile b/package/utils/px5g-standalone/Makefile index d6843b0137f..e575bd474c1 100644 --- a/package/utils/px5g-standalone/Makefile +++ b/package/utils/px5g-standalone/Makefile @@ -10,6 +10,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=px5g PKG_RELEASE:=2 +PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE_FILES:= + PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_CHECK_FORMAT_SECURITY:=0 diff --git a/package/utils/px5g/Makefile b/package/utils/px5g/Makefile index 9c0caa7b8d2..9bf290abe73 100644 --- a/package/utils/px5g/Makefile +++ b/package/utils/px5g/Makefile @@ -10,6 +10,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=px5g PKG_RELEASE:=1 +PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE_FILES:= + PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT) PKG_USE_MIPS16:=0 diff --git a/package/utils/robocfg/Makefile b/package/utils/robocfg/Makefile index 4bc72f51db4..48f91ba857a 100644 --- a/package/utils/robocfg/Makefile +++ b/package/utils/robocfg/Makefile @@ -11,6 +11,9 @@ PKG_NAME:=robocfg PKG_VERSION:=0.01 PKG_RELEASE:=1 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg include $(INCLUDE_DIR)/package.mk diff --git a/package/utils/spidev_test/Makefile b/package/utils/spidev_test/Makefile index 807039a1f59..e0ed0207fa9 100644 --- a/package/utils/spidev_test/Makefile +++ b/package/utils/spidev_test/Makefile @@ -11,6 +11,9 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=spidev-test PKG_RELEASE:=$(LINUX_VERSION) +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/spidev-test diff --git a/package/utils/ubi-utils/Makefile b/package/utils/ubi-utils/Makefile index 80085c4f3bd..3d2a7dc1239 100644 --- a/package/utils/ubi-utils/Makefile +++ b/package/utils/ubi-utils/Makefile @@ -22,7 +22,7 @@ PKG_INSTALL:=1 PKG_BUILD_DEPENDS:=util-linux liblzo zlib -PKG_LICENSE:=GPLv2 +PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:= PKG_MAINTAINER:=John Crispin diff --git a/package/utils/usbreset/Makefile b/package/utils/usbreset/Makefile index d8efa54c15e..bc00200256c 100644 --- a/package/utils/usbreset/Makefile +++ b/package/utils/usbreset/Makefile @@ -10,6 +10,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usbreset PKG_RELEASE:=4 +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/usbreset diff --git a/package/utils/usbutils/Makefile b/package/utils/usbutils/Makefile index b1c058b0c13..bab383f4946 100644 --- a/package/utils/usbutils/Makefile +++ b/package/utils/usbutils/Makefile @@ -22,6 +22,9 @@ USB_IDS_FILE:=usb.ids.$(USB_IDS_VERSION).gz PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + PKG_MAINTAINER := Felix Fietkau include $(INCLUDE_DIR)/package.mk diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index 877ccc500ab..95c3e498e6a 100644 --- a/package/utils/util-linux/Makefile +++ b/package/utils/util-linux/Makefile @@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.24 PKG_MD5SUM:=88d46ae23ca599ac5af9cf96b531590f -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0 LGPL-2.1 BSD-3-Clause PKG_LICENSE_FILES:=COPYING getopt/COPYING libblkid/COPYING libmount/COPYING Documentation/licenses/COPYING.GPLv2 Documentation/licenses/COPYING.LGPLv2.1 libuuid/COPYING Documentation/licenses/COPYING.BSD-3 PKG_BUILD_PARALLEL:=1 diff --git a/package/utils/xfsprogs/Makefile b/package/utils/xfsprogs/Makefile index 7fc9a641385..0ba972e7f17 100644 --- a/package/utils/xfsprogs/Makefile +++ b/package/utils/xfsprogs/Makefile @@ -10,10 +10,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xfsprogs PKG_RELEASE:=1 PKG_VERSION:=3.1.7 + PKG_SOURCE_URL:=ftp://oss.sgi.com/projects/xfs/previous/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MD5SUM:=049cf9873794ea49d0bb3f12d45748a4 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_LICENSE:=GPL-2.0 LGPL-2.1 +PKG_LICENSE_FILES:=debian/copyright + PKG_INSTALL:=1 PKG_FIXUP:=autoreconf PKG_CHECK_FORMAT_SECURITY:=0 -- 2.30.2