From d8cd44c47b8a6e1124d162c40405e9be48b0f183 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 10 Oct 2019 11:20:18 +0200 Subject: 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 Acked-by: Roland Hieber Acked-by: Alexander Dahl --- rules/libnl3.make | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1