package/dropbear: fix license infos
authorFrancois Perrad <fperrad@gmail.com>
Mon, 29 Jun 2020 07:16:55 +0000 (09:16 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 29 Jun 2020 19:51:51 +0000 (21:51 +0200)
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@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/dropbear/dropbear.hash
package/dropbear/dropbear.mk

index ab53197f325ceba19f0c5b0d737f9587a3b8d888..39a116edeac5bbe2eec4617610784c6cc0589978 100644 (file)
@@ -3,3 +3,5 @@ sha256  084f00546b1610a3422a0773e2c04cbe1a220d984209e033b548b49f379cc441  dropbe
 
 # License file, locally computed
 sha256  2ac2be75a2232ec2473070dd791ee990253dffde6022d364809bbbcbc30f710e  LICENSE
+sha256  8f196cb13afd271f5e267fd29543fc454596382ad580e7592709492843996ac8  libtomcrypt/LICENSE
+sha256  2fa64b163659f41965c9815882a8296d3d03ff546b76153e11445f9bdecf955a  libtommath/LICENSE
index b7342cef51fd53e92d1c1bb5e6666d2297403e41..bca79da45a03c5286516c6cf8a13e0bec5d1abdb 100644 (file)
@@ -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