mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
dropbear: bump to version 0.53.1
Changelog @ http://matt.ucc.asn.au/dropbear/CHANGES Since some build-time defaults have changed that make dropbear somewhat bigger we introduce a new option to optimize dropbear for size. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a3cd2e7671
commit
baa8b69303
@ -13,3 +13,13 @@ config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
|
|||||||
Disable reverse DNS lookups on connection. This can be handy
|
Disable reverse DNS lookups on connection. This can be handy
|
||||||
on systems without working DNS, as connections otherwise
|
on systems without working DNS, as connections otherwise
|
||||||
stall until DNS times out.
|
stall until DNS times out.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_DROPBEAR_SMALL
|
||||||
|
bool "optimize for size"
|
||||||
|
default y
|
||||||
|
depends on BR2_PACKAGE_DROPBEAR
|
||||||
|
help
|
||||||
|
Compile dropbear for the smallest possible binary size.
|
||||||
|
|
||||||
|
Tradeoffs are slower hashes and ciphers, and disabling of the
|
||||||
|
blowfish cipher.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
DROPBEAR_VERSION = 0.52
|
DROPBEAR_VERSION = 0.53.1
|
||||||
DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.gz
|
DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.gz
|
||||||
DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases
|
DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases
|
||||||
DROPBEAR_DEPENDENCIES = zlib
|
DROPBEAR_DEPENDENCIES = zlib
|
||||||
@ -27,10 +27,25 @@ define DROPBEAR_DISABLE_REVERSE_DNS
|
|||||||
$(SED) 's,^#define DO_HOST_LOOKUP.*,/* #define DO_HOST_LOOKUP */,' $(@D)/options.h
|
$(SED) 's,^#define DO_HOST_LOOKUP.*,/* #define DO_HOST_LOOKUP */,' $(@D)/options.h
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define DROPBEAR_BUILD_SMALL
|
||||||
|
echo "#define DROPBEAR_SMALL_CODE" >>$(@D)/options.h
|
||||||
|
echo "#define NO_FAST_EXPTMOD" >>$(@D)/options.h
|
||||||
|
endef
|
||||||
|
|
||||||
|
define DROPBEAR_BUILD_FEATURED
|
||||||
|
echo "#define DROPBEAR_BLOWFISH" >>$(@D)/options.h
|
||||||
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS),y)
|
ifeq ($(BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS),y)
|
||||||
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_REVERSE_DNS
|
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_REVERSE_DNS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_DROPBEAR_SMALL),y)
|
||||||
|
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_SMALL
|
||||||
|
else
|
||||||
|
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED
|
||||||
|
endif
|
||||||
|
|
||||||
define DROPBEAR_INSTALL_TARGET_CMDS
|
define DROPBEAR_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -m 755 $(@D)/dropbearmulti $(TARGET_DIR)/usr/sbin/dropbear
|
$(INSTALL) -m 755 $(@D)/dropbearmulti $(TARGET_DIR)/usr/sbin/dropbear
|
||||||
for f in $(DROPBEAR_TARGET_BINS); do \
|
for f in $(DROPBEAR_TARGET_BINS); do \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user