aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-03 08:01:08 +0000
committerJohn Crispin <john@openwrt.org>2014-11-03 08:01:08 +0000
commitc10d97484a43375a0446dafc8cb4072e26502f37 (patch)
tree9a871898dd0dbf9e198388067465019e8577ccaf /package/libs
parente2d82442b7261014bf352a57ee76bee2df0d14de (diff)
downloadupstream-c10d97484a43375a0446dafc8cb4072e26502f37.tar.gz
upstream-c10d97484a43375a0446dafc8cb4072e26502f37.tar.bz2
upstream-c10d97484a43375a0446dafc8cb4072e26502f37.zip
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')
-rw-r--r--package/libs/cyassl/Makefile3
-rw-r--r--package/libs/gettext-full/Makefile3
-rw-r--r--package/libs/libbsd/Makefile1
-rw-r--r--package/libs/libconfig/Makefile3
-rw-r--r--package/libs/libevent2/Makefile3
-rw-r--r--package/libs/libiconv-full/Makefile3
-rw-r--r--package/libs/libmnl/Makefile3
-rw-r--r--package/libs/libnetfilter-conntrack/Makefile3
-rw-r--r--package/libs/libnfnetlink/Makefile3
-rw-r--r--package/libs/libnl/Makefile3
-rw-r--r--package/libs/libpcap/Makefile3
-rw-r--r--package/libs/libreadline/Makefile2
-rw-r--r--package/libs/libroxml/Makefile3
-rw-r--r--package/libs/librpc/Makefile2
-rw-r--r--package/libs/libtool/Makefile4
-rw-r--r--package/libs/libubox/Makefile2
-rw-r--r--package/libs/libusb-compat/Makefile3
-rw-r--r--package/libs/libusb/Makefile3
-rw-r--r--package/libs/lzo/Makefile3
-rw-r--r--package/libs/ocf-crypto-headers/Makefile2
-rw-r--r--package/libs/openssl/Makefile1
-rw-r--r--package/libs/polarssl/Makefile3
-rw-r--r--package/libs/popt/Makefile4
-rw-r--r--package/libs/sysfsutils/Makefile2
-rw-r--r--package/libs/uclibc++/Makefile3
25 files changed, 59 insertions, 9 deletions
diff --git a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile
index fd901576b8..48efe3b9ec 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 2399f0fe35..405a384a94 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 3c12d9f65b..8b64900127 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 bbc0b04fba..fa25692b6f 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 3ce94dd759..4af84393be 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 75bca83348..8c68c12d1d 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 06c77652ee..7dd82dc16a 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 4579a02c43..d70cda7877 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 861c60400a..8a3e06cb34 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 995fda207f..15daf6051e 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 2a90c49f13..9fea67f70f 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 a9e6a22163..6cd44e70c1 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 1c7b3d3470..8baa3aea2d 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 d68e3609da..a37d076a20 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 6afa8bd0e7..4e6a6a8f00 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 76a2fe936f..1fe70987b9 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 c50740d13e..d673b5888e 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 2796b051d5..36156fb6a1 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 b2bab05f3e..e2a6efad02 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 faf050884d..c20cb2abff 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 a0087b5e55..34255b37f2 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 739f7839df..af8fc704bb 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 5e03774dd2..1c9711577a 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 9ee76a0362..f95617f3e0 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 ade3c62e0f..22192459d0 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