summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2020-11-16 09:05:48 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-11-16 12:44:56 +0100
commitad7ed6f84920cd90ba058c53b931bfd6202ca9c1 (patch)
tree4045002a9cbab7af18b6b37e0f55283617303645
parentb41eebdddf451e546c28da1ccf91567344577a53 (diff)
downloadptxdist-ad7ed6f84920cd90ba058c53b931bfd6202ca9c1.tar.gz
ptxdist-ad7ed6f84920cd90ba058c53b931bfd6202ca9c1.tar.xz
dropbear: Consider licenses of bundled libs
Since 673655b40733 ("dropbear: clean up the rule file and add bugfix") it's explicitly stated, bundled libtomcrypt and libtommath are used in the ptxdist dropbear package. Before very likely also the bundled libs were used, because no separate packages exist in ptxdist. So the dropbear package should consider the licenses of the bundled libs. As of dropbear 2019.78, dropbear itself states in its 'LICENSE' file those libs are public domain, but in fact those libs are dual licensed public_domain and WTFPL, as their license files state. Adding hashes for the bundled libs will help detect future changes, as long as the dropbear package uses the bundled variant of that libs. Signed-off-by: Alexander Dahl <ada@thorsis.com> Message-Id: <20201116080552.25031-2-ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/dropbear.make5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules/dropbear.make b/rules/dropbear.make
index d52efa396..acd9ef5f9 100644
--- a/rules/dropbear.make
+++ b/rules/dropbear.make
@@ -23,9 +23,12 @@ DROPBEAR_SUFFIX := tar.bz2
DROPBEAR_URL := http://matt.ucc.asn.au/dropbear/releases/$(DROPBEAR).$(DROPBEAR_SUFFIX)
DROPBEAR_SOURCE := $(SRCDIR)/$(DROPBEAR).$(DROPBEAR_SUFFIX)
DROPBEAR_DIR := $(BUILDDIR)/$(DROPBEAR)
-DROPBEAR_LICENSE := MIT AND BSD-2-Clause AND BSD-3-Clause AND SSH-short
+DROPBEAR_LICENSE := \
+ MIT AND BSD-2-Clause AND BSD-3-Clause AND SSH-short AND (public_domain OR WTFPL)
DROPBEAR_LICENSE_FILES := \
file://LICENSE;md5=a5ec40cafba26fc4396d0b550f824e01 \
+ file://libtomcrypt/LICENSE;md5=71baacc459522324ef3e2b9e052e8180 \
+ file://libtommath/LICENSE;md5=f72771f4af5e8c382974750f9f8701ad \
file://loginrec.c;startline=1;endline=26;md5=0d785ee11fab1cead2c7fee9c35574f1
# ----------------------------------------------------------------------------