[Buildroot] [PATCH v3 1/2] package/dropbear: fix license infos
Francois Perrad
fperrad at gmail.com
Mon Jun 29 07:16:55 UTC 2020
this package allows to use optionally bundled libraries (which is exceptional in BR).
so, license infos must be conditional.
Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
package/dropbear/dropbear.hash | 2 ++
package/dropbear/dropbear.mk | 2 ++
2 files changed, 4 insertions(+)
diff --git a/package/dropbear/dropbear.hash b/package/dropbear/dropbear.hash
index ab53197f3..39a116ede 100644
--- a/package/dropbear/dropbear.hash
+++ b/package/dropbear/dropbear.hash
@@ -3,3 +3,5 @@ sha256 084f00546b1610a3422a0773e2c04cbe1a220d984209e033b548b49f379cc441 dropbe
# License file, locally computed
sha256 2ac2be75a2232ec2473070dd791ee990253dffde6022d364809bbbcbc30f710e LICENSE
+sha256 8f196cb13afd271f5e267fd29543fc454596382ad580e7592709492843996ac8 libtomcrypt/LICENSE
+sha256 2fa64b163659f41965c9815882a8296d3d03ff546b76153e11445f9bdecf955a libtommath/LICENSE
diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk
index b7342cef5..bca79da45 100644
--- a/package/dropbear/dropbear.mk
+++ b/package/dropbear/dropbear.mk
@@ -79,6 +79,8 @@ DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ENABLE_REVERSE_DNS
endif
ifeq ($(BR2_PACKAGE_DROPBEAR_SMALL),y)
+DROPBEAR_LICENSE +=, Unlicense, WTFPL
+DROPBEAR_LICENSE_FILES += libtommath/LICENSE libtomcrypt/LICENSE
DROPBEAR_CONF_OPTS += --disable-zlib --enable-bundled-libtom
else
define DROPBEAR_BUILD_FEATURED
--
2.25.1
More information about the buildroot
mailing list