#############################################################
include $(TOPDIR)/rules.mk
#############################################################
include $(TOPDIR)/rules.mk
DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.bz2
DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/
DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION)
DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.bz2
DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/
DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION)
--- dropbear-0.44.old/svr-chansession.c 2005-02-03 02:29:44.000000000 +0100
+++ dropbear-0.44/svr-chansession.c 2005-02-03 02:31:05.000000000 +0100
--- dropbear-0.44.old/svr-chansession.c 2005-02-03 02:29:44.000000000 +0100
+++ dropbear-0.44/svr-chansession.c 2005-02-03 02:31:05.000000000 +0100
/* We can only change uid/gid as root ... */
if (getuid() == 0) {
/* We can only change uid/gid as root ... */
if (getuid() == 0) {
-diff -urN dropbear-0.44.old/options.h dropbear-0.44/options.h
---- dropbear-0.44.old/options.h 2005-03-02 23:08:07.000000000 +0100
-+++ dropbear-0.44/options.h 2005-03-03 01:12:21.000000000 +0100
-@@ -139,7 +139,7 @@
- * will prevent Dropbear from blocking on the device. This could
+diff -urN dropbear-0.45.old/options.h dropbear-0.45/options.h
+--- dropbear-0.45.old/options.h 2005-03-14 17:12:22.000000000 +0100
++++ dropbear-0.45/options.h 2005-03-14 17:13:49.000000000 +0100
+@@ -143,7 +143,7 @@
* however significantly reduce the security of your ssh connections
* however significantly reduce the security of your ssh connections
- * if the PRNG state becomes simpler. */
+ * if the PRNG state becomes guessable - make sure you know what you are
+ * doing if you change this. */
-#define DROPBEAR_RANDOM_DEV "/dev/random"
+#define DROPBEAR_RANDOM_DEV "/dev/urandom"
-#define DROPBEAR_RANDOM_DEV "/dev/random"
+#define DROPBEAR_RANDOM_DEV "/dev/urandom"