From e96a64d75e39102148c153e2ac65008888cbf28e Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 11 Aug 2007 21:53:15 +0000 Subject: Upgrade dropbear to 0.50 (#2201) SVN-Revision: 8400 --- package/dropbear/patches/100-pubkey_path.patch | 6 +++--- package/dropbear/patches/110-change_user.patch | 6 +++--- package/dropbear/patches/120-hostkey_prompt.patch | 13 ------------- package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch | 10 +++++----- package/dropbear/patches/140-use_dev_urandom.patch | 13 ------------- package/dropbear/patches/150-dbconvert_standalone.patch | 6 +++--- package/dropbear/patches/160-tty_close.patch | 8 ++++---- 7 files changed, 18 insertions(+), 44 deletions(-) (limited to 'package/dropbear/patches') diff --git a/package/dropbear/patches/100-pubkey_path.patch b/package/dropbear/patches/100-pubkey_path.patch index 3f76e3a743..9c7fc19c43 100644 --- a/package/dropbear/patches/100-pubkey_path.patch +++ b/package/dropbear/patches/100-pubkey_path.patch @@ -1,7 +1,7 @@ -Index: dropbear-0.49/svr-authpubkey.c +Index: dropbear-0.50/svr-authpubkey.c =================================================================== ---- dropbear-0.49.orig/svr-authpubkey.c 2007-06-04 13:21:39.475975408 +0200 -+++ dropbear-0.49/svr-authpubkey.c 2007-06-04 13:21:39.542965224 +0200 +--- dropbear-0.50.orig/svr-authpubkey.c 2007-08-10 23:47:48.000000000 +0200 ++++ dropbear-0.50/svr-authpubkey.c 2007-08-10 23:47:48.000000000 +0200 @@ -176,6 +176,8 @@ goto out; } diff --git a/package/dropbear/patches/110-change_user.patch b/package/dropbear/patches/110-change_user.patch index 9a9a6afda1..20bb41c2d2 100644 --- a/package/dropbear/patches/110-change_user.patch +++ b/package/dropbear/patches/110-change_user.patch @@ -1,7 +1,7 @@ -Index: dropbear-0.49/svr-chansession.c +Index: dropbear-0.50/svr-chansession.c =================================================================== ---- dropbear-0.49.orig/svr-chansession.c 2007-06-04 13:21:39.455978448 +0200 -+++ dropbear-0.49/svr-chansession.c 2007-06-04 13:21:39.751933456 +0200 +--- dropbear-0.50.orig/svr-chansession.c 2007-08-10 23:47:48.000000000 +0200 ++++ dropbear-0.50/svr-chansession.c 2007-08-10 23:47:48.000000000 +0200 @@ -908,12 +908,12 @@ /* We can only change uid/gid as root ... */ if (getuid() == 0) { diff --git a/package/dropbear/patches/120-hostkey_prompt.patch b/package/dropbear/patches/120-hostkey_prompt.patch index 3a34771bed..e69de29bb2 100644 --- a/package/dropbear/patches/120-hostkey_prompt.patch +++ b/package/dropbear/patches/120-hostkey_prompt.patch @@ -1,13 +0,0 @@ -Index: dropbear-0.49/cli-kex.c -=================================================================== ---- dropbear-0.49.orig/cli-kex.c 2007-06-04 13:21:39.435981488 +0200 -+++ dropbear-0.49/cli-kex.c 2007-06-04 13:21:39.937905184 +0200 -@@ -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)", - cli_opts.remotehost, - fp); - m_free(fp); diff --git a/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch b/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch index b8a7d44e81..26b5b7f237 100644 --- a/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch +++ b/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch @@ -1,8 +1,8 @@ -Index: dropbear-0.49/cli-runopts.c +Index: dropbear-0.50/cli-runopts.c =================================================================== ---- dropbear-0.49.orig/cli-runopts.c 2007-06-04 13:21:39.414984680 +0200 -+++ dropbear-0.49/cli-runopts.c 2007-06-04 13:21:40.122877064 +0200 -@@ -203,6 +203,10 @@ +--- dropbear-0.50.orig/cli-runopts.c 2007-08-10 23:47:47.000000000 +0200 ++++ dropbear-0.50/cli-runopts.c 2007-08-10 23:47:49.000000000 +0200 +@@ -219,6 +219,10 @@ debug_trace = 1; break; #endif @@ -13,7 +13,7 @@ Index: dropbear-0.49/cli-runopts.c case 'F': case 'e': case 'c': -@@ -214,7 +218,6 @@ +@@ -230,7 +234,6 @@ #ifndef ENABLE_CLI_LOCALTCPFWD case 'L': #endif diff --git a/package/dropbear/patches/140-use_dev_urandom.patch b/package/dropbear/patches/140-use_dev_urandom.patch index 61deff8540..e69de29bb2 100644 --- a/package/dropbear/patches/140-use_dev_urandom.patch +++ b/package/dropbear/patches/140-use_dev_urandom.patch @@ -1,13 +0,0 @@ -Index: dropbear-0.49/options.h -=================================================================== ---- dropbear-0.49.orig/options.h 2007-06-04 13:21:39.394987720 +0200 -+++ dropbear-0.49/options.h 2007-06-04 13:21:40.305849248 +0200 -@@ -159,7 +159,7 @@ - * however significantly reduce the security of your ssh connections - * 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" - - /* prngd must be manually set up to produce output */ - /*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/ diff --git a/package/dropbear/patches/150-dbconvert_standalone.patch b/package/dropbear/patches/150-dbconvert_standalone.patch index d8e283e4de..54d74d3ac5 100644 --- a/package/dropbear/patches/150-dbconvert_standalone.patch +++ b/package/dropbear/patches/150-dbconvert_standalone.patch @@ -1,7 +1,7 @@ -Index: dropbear-0.49/options.h +Index: dropbear-0.50/options.h =================================================================== ---- dropbear-0.49.orig/options.h 2007-06-04 13:21:40.305849248 +0200 -+++ dropbear-0.49/options.h 2007-06-04 13:21:40.493820672 +0200 +--- dropbear-0.50.orig/options.h 2007-08-10 23:47:47.000000000 +0200 ++++ dropbear-0.50/options.h 2007-08-10 23:47:49.000000000 +0200 @@ -5,6 +5,11 @@ #ifndef _OPTIONS_H_ #define _OPTIONS_H_ diff --git a/package/dropbear/patches/160-tty_close.patch b/package/dropbear/patches/160-tty_close.patch index 0fd9ef684d..8c06e0f912 100644 --- a/package/dropbear/patches/160-tty_close.patch +++ b/package/dropbear/patches/160-tty_close.patch @@ -1,8 +1,8 @@ -Index: dropbear-0.49/common-channel.c +Index: dropbear-0.50/common-channel.c =================================================================== ---- dropbear-0.49.orig/common-channel.c 2007-06-04 13:21:39.354993800 +0200 -+++ dropbear-0.49/common-channel.c 2007-06-04 13:21:40.676792856 +0200 -@@ -310,10 +310,10 @@ +--- dropbear-0.50.orig/common-channel.c 2007-08-10 23:47:47.000000000 +0200 ++++ dropbear-0.50/common-channel.c 2007-08-10 23:47:50.000000000 +0200 +@@ -311,10 +311,10 @@ send_msg_channel_eof(channel); } -- cgit v1.2.3