libnl3 library is licensed under LGPL-2.1-only according to file
'COPYING' and file headers of various library source and public include
header files of the project. That did not change ever since initial
import of code into libnl vcs in 2007 and up to the current version. The
license stated when introducing the libnl3 package into ptxdist back in
2013 applies to the tools however.

This is backed by a statement of the author from 2015:

https://github.com/thom311/libnl/issues/80

Fixes: adeac13183422dc7152ad5e0484601b074436af7
Cc: Alexander Aring <alex.ar...@gmail.com>
Signed-off-by: Alexander Dahl <a...@thorsis.com>
---
 rules/libnl3.make | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rules/libnl3.make b/rules/libnl3.make
index e3bda8785..285f4c89b 100644
--- a/rules/libnl3.make
+++ b/rules/libnl3.make
@@ -24,7 +24,9 @@ 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 := GPL-2.0-only
+# LGPL-2.1-only for library; GPL-2.0-only for tools
+LIBNL3_LICENSE := LGPL-2.1-only AND GPL-2.0-only
+LIBNL3_LICENSE_FILES := file://COPYING;md5=4fbd65380cdd255951079008b364516c
 
 #
 # autoconf
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to