From aecc2774b85ace9bf2aa73443b44f9a44b1ec767 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Fri, 14 Jan 2005 14:18:07 +0000 Subject: [PATCH] upgrade to dropbear 0.44 final, give the package a version number, and patch to use /dev/urandom SVN-Revision: 196 --- obsolete-buildroot/make/dropbear.mk | 4 ++-- .../openwrt/ipkg/dropbear/CONTROL/control | 4 ++-- .../openwrt/ipkg/dropbear/dropbear.patch | 18 ++++++++++++++---- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/obsolete-buildroot/make/dropbear.mk b/obsolete-buildroot/make/dropbear.mk index 5662be1e05..a848a5daf2 100644 --- a/obsolete-buildroot/make/dropbear.mk +++ b/obsolete-buildroot/make/dropbear.mk @@ -10,13 +10,13 @@ # For this example we'll use a fairly simple package that compiles easily # and has sources available for download at sourceforge -DROPBEAR=dropbear-0.44test3 +DROPBEAR=dropbear-0.44 DROPBEAR_TARGET=.built DROPBEAR_DIR=$(BUILD_DIR)/$(DROPBEAR) DROPBEAR_IPK=$(BUILD_DIR)/$(DROPBEAR)_mipsel.ipk DROPBEAR_IPK_DIR=$(BUILD_DIR)/$(DROPBEAR)-ipk -DROPBEAR_SITE=http://matt.ucc.asn.au/dropbear/testing/ +DROPBEAR_SITE=http://matt.ucc.asn.au/dropbear/ DROPBEAR_SOURCE=$(DROPBEAR).tar.bz2 diff --git a/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/control index 7877997cba..5af874e3e0 100644 --- a/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/control +++ b/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/control @@ -1,8 +1,8 @@ Package: dropbear -Version: 0.44test3 +Version: 0.44-1 Architecture: mipsel Maintainer: Leigh Dyer -Source: http://matt.ucc.asn.au/dropbear/testing/dropbear-0.44test2.tar.bz2 +Source: http://matt.ucc.asn.au/dropbear/dropbear-0.44.tar.bz2 Section: net Priority: optional Depends: diff --git a/obsolete-buildroot/sources/openwrt/ipkg/dropbear/dropbear.patch b/obsolete-buildroot/sources/openwrt/ipkg/dropbear/dropbear.patch index c39f387f2e..6a45edd08f 100644 --- a/obsolete-buildroot/sources/openwrt/ipkg/dropbear/dropbear.patch +++ b/obsolete-buildroot/sources/openwrt/ipkg/dropbear/dropbear.patch @@ -1,7 +1,17 @@ ---- dropbear-0.44test3-old/options.h 2004-08-27 11:22:17.000000000 -0400 -+++ dropbear-0.44test3/options.h 2004-08-27 23:44:16.271117200 -0400 -@@ -176,7 +176,7 @@ - #define DROPBEAR_VERSION "0.44test3" +diff -bBurN dropbear-0.44/options.h dropbear-0.44-openwrt/options.h +--- dropbear-0.44/options.h 2005-01-03 10:24:03.000000000 +0100 ++++ dropbear-0.44-openwrt/options.h 2005-01-14 13:19:38.902029040 +0100 +@@ -139,7 +139,7 @@ + * will prevent Dropbear from blocking on the device. This could + * however significantly reduce the security of your ssh connections + * if the PRNG state becomes simpler. */ +-#define DROPBEAR_RANDOM_DEV "/dev/random" ++#define DROPBEAR_RANDOM_DEV "/dev/urandom" + + /* prngd must be manually set up to produce output */ + /*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/ +@@ -188,7 +188,7 @@ + #define DROPBEAR_VERSION "0.44" #endif -#define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION -- 2.30.2