summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-10-10 11:20:18 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-10-10 20:25:27 +0200
commitd8cd44c47b8a6e1124d162c40405e9be48b0f183 (patch)
treeb495043c4091bc0c078e9248f69a5386f202975c
parent3d31c5544854dc291e1b2f4d1ef464e473ab9be3 (diff)
downloadptxdist-d8cd44c47b8a6e1124d162c40405e9be48b0f183.tar.gz
ptxdist-d8cd44c47b8a6e1124d162c40405e9be48b0f183.tar.xz
libnl3: fix license information
Let's stick with the GPL-2.0-only for the tools that still have this in the header but make it clear that this does not apply to the library by making it conditional. Also add the missing BSD-3-Clause identifiery and file. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Acked-by: Roland Hieber <rhi@pengutronix.de> Acked-by: Alexander Dahl <ada@thorsis.com>
-rw-r--r--rules/libnl3.make9
1 files changed, 8 insertions, 1 deletions
diff --git a/rules/libnl3.make b/rules/libnl3.make
index 5b3af0065..191e00126 100644
--- a/rules/libnl3.make
+++ b/rules/libnl3.make
@@ -22,7 +22,14 @@ LIBNL3_SUFFIX := tar.gz
LIBNL3_URL := https://github.com/thom311/libnl/releases/download/$(LIBNL3_RELEASE)/$(LIBNL3).$(LIBNL3_SUFFIX)
LIBNL3_SOURCE := $(SRCDIR)/$(LIBNL3).$(LIBNL3_SUFFIX)
LIBNL3_DIR := $(BUILDDIR)/$(LIBNL3)
-LIBNL3_LICENSE := LGPL-2.1-only
+LIBNL3_LICENSE := LGPL-2.1-only AND BSD-3-Clause
+LIBNL3_LICENSE_FILES := \
+ file://COPYING;md5=4fbd65380cdd255951079008b364516c \
+ file://lib/xfrm/ae.c;startline=3;endline=32;md5=6813917a92b539b07534e1a79f5a6aca
+
+ifdef PTXCONF_LIBNL3_ENABLE_CLI
+LIBNL3_LICENSE += AND GPL-2.0-only
+endif
#
# autoconf