gnutls: update legal info
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>
Mon, 4 Jul 2016 12:46:21 +0000 (18:16 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 Jul 2016 22:10:05 +0000 (00:10 +0200)
GnuTLS core library is licensed under LGPLv2.1+ while gnutls-openssl
library is licensed under GPLv3+. Annotate the license with components.

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas:
 - add comment about the license of the "core library" since some files
   seems to be mistakenly under LGPLv3+ even though the library is
   licensed under LGPLv2.1+.
 - add the README file in the license information, since it contains a
   lot of useful details.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnutls/gnutls.mk

index 76d2ca2a7ac90020f405493e1b9c0f4378209706..3cb08d1d29cd1a5662c1a7c6f5be2930d1364026 100644 (file)
@@ -8,8 +8,12 @@ GNUTLS_VERSION_MAJOR = 3.4
 GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).13
 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz
 GNUTLS_SITE = ftp://ftp.gnutls.org/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR)
-GNUTLS_LICENSE = GPLv3+, LGPLv2.1+
-GNUTLS_LICENSE_FILES = COPYING COPYING.LESSER
+# README says that the core library is under LGPLv2.1+, but a few
+# files in libdane specify LGPLv3+. It seems to be a mistake, and we
+# therefore trust the README file here. A bug was reported upstream at
+# https://gitlab.com/gnutls/gnutls/issues/109.
+GNUTLS_LICENSE = LGPLv2.1+ (core library), GPLv3+ (gnutls-openssl library)
+GNUTLS_LICENSE_FILES = COPYING COPYING.LESSER README
 GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 nettle pcre
 GNUTLS_CONF_OPTS = \
        --disable-doc \