From f93f63a886f8fb0adcbc15fa0630e6ab9e7adc02 Mon Sep 17 00:00:00 2001 From: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@196 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 5662be1e0..a848a5daf 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 7877997cb..5af874e3e 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 c39f387f2..6a45edd08 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