summaryrefslogtreecommitdiffstats
path: root/rules/gnutls.make
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2023-11-24 12:43:33 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2023-11-27 20:59:53 +0100
commitf15305e1f7c24b8ad100d132dfbce3776e1c939f (patch)
tree16ef1c168189a142f7a07e60e5ae9084e4c0cb0e /rules/gnutls.make
parentb106b0a6c696b082b38c06f0e2ff8426bff19d54 (diff)
downloadptxdist-f15305e1f7c24b8ad100d132dfbce3776e1c939f.tar.gz
ptxdist-f15305e1f7c24b8ad100d132dfbce3776e1c939f.tar.xz
gnutls: add LGPL license text, add GPL-3.0 if built with openssl compat
./LICENSE mentions that the openssl compat code is licensed under GPL-3.0, and references the full license texts in doc/. Cc: Bruno Thomsen <bruno.thomsen@gmail.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Message-Id: <20231124114333.1839479-1-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gnutls.make')
-rw-r--r--rules/gnutls.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/gnutls.make b/rules/gnutls.make
index d49fbd1b1..35df7f76c 100644
--- a/rules/gnutls.make
+++ b/rules/gnutls.make
@@ -23,8 +23,16 @@ GNUTLS_SOURCE := $(SRCDIR)/$(GNUTLS).$(GNUTLS_SUFFIX)
GNUTLS_DIR := $(BUILDDIR)/$(GNUTLS)
GNUTLS_LICENSE := LGPL-3.0-or-later
GNUTLS_LICENSE_FILES := \
+ file://doc/COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343 \
file://LICENSE;md5=71391c8e0c1cfe68077e7fce3b586283
+ifdef PTXCONF_GNUTLS_OPENSSL
+GNUTLS_LICENSE += AND GPL-3.0-or-later
+GNUTLS_LICENSE_FILES += \
+ file://extra/gnutls_openssl.c;startline=1;endline=19;md5=b8b99cb92b0fbb522912f20e3359913c \
+ file://doc/COPYING;md5=c678957b0c8e964aa6c70fd77641a71e
+endif
+
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------