summaryrefslogtreecommitdiff
path: root/package/dropbear_sshd/dropbear_sshd.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-03-09 08:30:47 +0000
committerEric Andersen <andersen@codepoet.org>2005-03-09 08:30:47 +0000
commit4c22057788314a0b3f8fcd4dfd53a7837e3f6cf0 (patch)
tree1ea352fbfc4f13e44576d798d1dcf8fd10c8205e /package/dropbear_sshd/dropbear_sshd.mk
parent8cc044374035199dd23f0498e488651cfac30acb (diff)
Update dropbear to the new version.
Add a config option to handle low entropy system.
Diffstat (limited to 'package/dropbear_sshd/dropbear_sshd.mk')
-rw-r--r--package/dropbear_sshd/dropbear_sshd.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/dropbear_sshd/dropbear_sshd.mk b/package/dropbear_sshd/dropbear_sshd.mk
index 0038bdf58..d25518c5c 100644
--- a/package/dropbear_sshd/dropbear_sshd.mk
+++ b/package/dropbear_sshd/dropbear_sshd.mk
@@ -3,9 +3,9 @@
# dropbear_sshd
#
#############################################################
-DROPBEAR_SSHD_SOURCE:=dropbear-0.44.tar.bz2
+DROPBEAR_SSHD_SOURCE:=dropbear-0.45.tar.bz2
DROPBEAR_SSHD_SITE:=http://matt.ucc.asn.au/dropbear/releases/
-DROPBEAR_SSHD_DIR:=$(BUILD_DIR)/dropbear-0.44
+DROPBEAR_SSHD_DIR:=$(BUILD_DIR)/dropbear-0.45
DROPBEAR_SSHD_CAT:=bzcat
DROPBEAR_SSHD_BINARY:=dropbearmulti
DROPBEAR_SSHD_TARGET_BINARY:=usr/sbin/dropbear
@@ -44,6 +44,10 @@ $(DROPBEAR_SSHD_DIR)/.configured: $(DROPBEAR_SSHD_DIR)/.unpacked
$(DISABLE_NLS) \
--with-shared \
);
+ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_SSHD_URANDOM)),y)
+ $(SED) 's,^#define DROPBEAR_RANDOM_DEV.*,#define DROPBEAR_RANDOM_DEV \"/dev/urandom\",' \
+ $(DROPBEAR_SSHD_DIR)/options.h
+endif
touch $(DROPBEAR_SSHD_DIR)/.configured
$(DROPBEAR_SSHD_DIR)/$(DROPBEAR_SSHD_BINARY): $(DROPBEAR_SSHD_DIR)/.configured