diff options
author | John Crispin <john@openwrt.org> | 2014-11-03 08:01:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-03 08:01:08 +0000 |
commit | c10d97484a43375a0446dafc8cb4072e26502f37 (patch) | |
tree | 9a871898dd0dbf9e198388067465019e8577ccaf /package/libs | |
parent | e2d82442b7261014bf352a57ee76bee2df0d14de (diff) | |
download | mtk-20170518-c10d97484a43375a0446dafc8cb4072e26502f37.zip mtk-20170518-c10d97484a43375a0446dafc8cb4072e26502f37.tar.gz mtk-20170518-c10d97484a43375a0446dafc8cb4072e26502f37.tar.bz2 |
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 <mhei@heimpold.de>
SVN-Revision: 43155
Diffstat (limited to 'package/libs')
25 files changed, 59 insertions, 9 deletions
diff --git a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile index fd90157..48efe3b 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 2399f0f..405a384 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 <jow@openwrt.org> 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 3c12d9f..8b64900 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 bbc0b04..fa25692 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 <nbd@openwrt.org> PKG_LICENSE:=LGPL-2.1+ diff --git a/package/libs/libevent2/Makefile b/package/libs/libevent2/Makefile index 3ce94dd..4af8439 100644 --- a/package/libs/libevent2/Makefile +++ b/package/libs/libevent2/Makefile @@ -19,6 +19,9 @@ PKG_MD5SUM:=b2405cc9ebf264aa47ff615d9de527a2 PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org> 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 75bca83..8c68c12 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 06c7765..7dd82dc 100644 --- a/package/libs/libmnl/Makefile +++ b/package/libs/libmnl/Makefile @@ -19,6 +19,9 @@ PKG_MD5SUM:=7d95fc3bea3365bc03c48e484224f65f PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org> +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 4579a02..d70cda7 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 <jow@openwrt.org> +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 861c604..8a3e06c 100644 --- a/package/libs/libnfnetlink/Makefile +++ b/package/libs/libnfnetlink/Makefile @@ -20,6 +20,9 @@ PKG_MD5SUM:=98927583d2016a9fb1936fed992e2c5e PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org> 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 995fda2..15daf60 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 2a90c49..9fea67f 100644 --- a/package/libs/libpcap/Makefile +++ b/package/libs/libpcap/Makefile @@ -17,6 +17,9 @@ PKG_MD5SUM:=7e7321fb3aff2f2bb05c8229f3795d4a PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org> +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 a9e6a22..6cd44e7 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 1c7b3d3..8baa3ae 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 <nbd@openwrt.org> +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 d68e360..a37d076 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 <nbd@openwrt.org> diff --git a/package/libs/libtool/Makefile b/package/libs/libtool/Makefile index 6afa8bd..4e6a6a8 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 76a2fe9..1fe7098 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 <nbd@openwrt.org> diff --git a/package/libs/libusb-compat/Makefile b/package/libs/libusb-compat/Makefile index c50740d..d673b58 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 2796b05..36156fb 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 b2bab05..e2a6efa 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 faf0508..c20cb2a 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 a0087b5..34255b3 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 739f783..af8fc70 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 5e03774..1c97115 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 9ee76a0..f95617f 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 <jow@openwrt.org> -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 ade3c62..2219245 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 |