Message ID | 20180320195649.5309-2-francois.perrad@gadz.org |
---|---|
State | Superseded |
Headers | show |
Series | [V2,1/2] dropbear: bump to version 2018.76 | expand |
Hi Francois, On Tue, Mar 20, 2018 at 08:56:49PM +0100, Francois Perrad wrote: > Signed-off-by: Francois Perrad <francois.perrad@gadz.org> > --- > package/dropbear/Config.in | 1 + > package/dropbear/dropbear.mk | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/package/dropbear/Config.in b/package/dropbear/Config.in > index 670077816..3fa8473e4 100644 > --- a/package/dropbear/Config.in > +++ b/package/dropbear/Config.in > @@ -1,6 +1,7 @@ > config BR2_PACKAGE_DROPBEAR > bool "dropbear" > select BR2_PACKAGE_ZLIB if !BR2_PACKAGE_DROPBEAR_SMALL > + select BR2_PACKAGE_LIBTOMCRYPT > help > A small SSH 2 server designed for small memory environments. > > diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk > index c6716f90d..b1818ea5e 100644 > --- a/package/dropbear/dropbear.mk > +++ b/package/dropbear/dropbear.mk > @@ -9,6 +9,8 @@ DROPBEAR_SITE = https://matt.ucc.asn.au/dropbear/releases > DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2 > DROPBEAR_LICENSE = MIT, BSD-2-Clause-like, BSD-2-Clause > DROPBEAR_LICENSE_FILES = LICENSE > +DROPBEAR_DEPENDENCIES = libtomcrypt > +DROPBEAR_CONF_OPTS = --disable-bundled-libtom Since both libraries are static only, this does not reduce the binary size. On the other hand, bundled libraries are more likely to work correctly with any give version of dropbear. The only benefit of using external libraries is when there is a security update to the libraries. But unless there is a known issue now, I'm not sure it's worth it. baruch
diff --git a/package/dropbear/Config.in b/package/dropbear/Config.in index 670077816..3fa8473e4 100644 --- a/package/dropbear/Config.in +++ b/package/dropbear/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_DROPBEAR bool "dropbear" select BR2_PACKAGE_ZLIB if !BR2_PACKAGE_DROPBEAR_SMALL + select BR2_PACKAGE_LIBTOMCRYPT help A small SSH 2 server designed for small memory environments. diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index c6716f90d..b1818ea5e 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -9,6 +9,8 @@ DROPBEAR_SITE = https://matt.ucc.asn.au/dropbear/releases DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2 DROPBEAR_LICENSE = MIT, BSD-2-Clause-like, BSD-2-Clause DROPBEAR_LICENSE_FILES = LICENSE +DROPBEAR_DEPENDENCIES = libtomcrypt +DROPBEAR_CONF_OPTS = --disable-bundled-libtom DROPBEAR_TARGET_BINS = dropbearkey dropbearconvert scp DROPBEAR_PROGRAMS = dropbear $(DROPBEAR_TARGET_BINS)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> --- package/dropbear/Config.in | 1 + package/dropbear/dropbear.mk | 2 ++ 2 files changed, 3 insertions(+)