From b24eff2495b73bee1058c571ba8ccc37ce46b151 Mon Sep 17 00:00:00 2001 From: pavlov Date: Sun, 8 Apr 2007 00:34:37 +0000 Subject: [PATCH] update dropbear to 0.49 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6890 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dropbear/Makefile | 7 ++++--- .../dropbear/patches/120-hostkey_prompt.patch | 17 ++++++++--------- package/dropbear/patches/160-pam_header.patch | 19 ------------------- 3 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 package/dropbear/patches/160-pam_header.patch diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index 42955fd99..25a0cd0f5 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -9,12 +9,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dropbear -PKG_VERSION:=0.48.1 +PKG_VERSION:=0.49 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/ -PKG_MD5SUM:=ca8e53a766faec831882831364568421 +PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/ \ + http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/ +PKG_MD5SUM:=7b20c85f1ee34f018a1b948eae003df9 include $(INCLUDE_DIR)/package.mk diff --git a/package/dropbear/patches/120-hostkey_prompt.patch b/package/dropbear/patches/120-hostkey_prompt.patch index 59639e7b9..d18bff86a 100644 --- a/package/dropbear/patches/120-hostkey_prompt.patch +++ b/package/dropbear/patches/120-hostkey_prompt.patch @@ -1,12 +1,11 @@ -diff -urN dropbear-0.45.old/cli-kex.c dropbear-0.45/cli-kex.c ---- dropbear-0.45.old/cli-kex.c 2005-03-07 05:27:01.000000000 +0100 -+++ dropbear-0.45/cli-kex.c 2005-03-25 11:13:57.000000000 +0100 -@@ -119,7 +119,7 @@ - char response = 'z'; - - fp = sign_key_fingerprint(keyblob, keybloblen); +--- dropbear-0.49/cli-kex.c.orig 2007-02-22 09:51:36.000000000 -0600 ++++ dropbear-0.49/cli-kex.c 2007-03-22 13:45:57.000000000 -0500 +@@ -126,7 +126,7 @@ + m_free(fp); + return; + } - fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)\n", -+ fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n) ", ++ fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)", cli_opts.remotehost, fp); - + m_free(fp); diff --git a/package/dropbear/patches/160-pam_header.patch b/package/dropbear/patches/160-pam_header.patch deleted file mode 100644 index 1c900f716..000000000 --- a/package/dropbear/patches/160-pam_header.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -ur dropbear.old/svr-authpam.c dropbear.dev/svr-authpam.c ---- dropbear.old/svr-authpam.c 2006-03-12 05:52:52.000000000 +0100 -+++ dropbear.dev/svr-authpam.c 2007-02-27 02:55:41.382234344 +0100 -@@ -31,14 +31,13 @@ - #include "dbutil.h" - #include "auth.h" - -+#ifdef ENABLE_SVR_PAM_AUTH - #if defined(HAVE_SECURITY_PAM_APPL_H) - #include - #elif defined (HAVE_PAM_PAM_APPL_H) - #include - #endif - --#ifdef ENABLE_SVR_PAM_AUTH -- - struct UserDataS { - char* user; - char* passwd; -- 2.35.1