summaryrefslogtreecommitdiffstats
path: root/openwrt/package/dropbear/patches
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-27 19:20:22 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-27 19:20:22 +0000
commitbd08843b081100546f520b6956dc3174ed5d5e1b (patch)
tree6cab721eff773a5d81c9f726824b9ff87055903e /openwrt/package/dropbear/patches
parent304d91c1dfb961b14ae36e0534b3299eaa106bc0 (diff)
sync dropbear with wr, remove zlib dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3508 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/dropbear/patches')
-rw-r--r--openwrt/package/dropbear/patches/130-scp_argument.patch16
-rw-r--r--openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch22
-rw-r--r--openwrt/package/dropbear/patches/160-writechannel.patch12
3 files changed, 22 insertions, 28 deletions
diff --git a/openwrt/package/dropbear/patches/130-scp_argument.patch b/openwrt/package/dropbear/patches/130-scp_argument.patch
deleted file mode 100644
index befba5d39..000000000
--- a/openwrt/package/dropbear/patches/130-scp_argument.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -urN dropbear-0.45.old/scp.c dropbear-0.45/scp.c
---- dropbear-0.45.old/scp.c 2005-03-07 05:27:02.000000000 +0100
-+++ dropbear-0.45/scp.c 2005-03-25 11:28:22.000000000 +0100
-@@ -249,9 +249,9 @@
-
- args.list = NULL;
- addargs(&args, "ssh"); /* overwritten with ssh_program */
-- addargs(&args, "-x");
-- addargs(&args, "-oForwardAgent no");
-- addargs(&args, "-oClearAllForwardings yes");
-+// addargs(&args, "-x");
-+// addargs(&args, "-oForwardAgent no");
-+// addargs(&args, "-oClearAllForwardings yes");
-
- fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1)
diff --git a/openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch b/openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
new file mode 100644
index 000000000..9b79e4864
--- /dev/null
+++ b/openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
@@ -0,0 +1,22 @@
+diff -ruN dropbear-0.48-old/cli-runopts.c dropbear-0.48-new/cli-runopts.c
+--- dropbear-0.48-old/cli-runopts.c 2006-03-09 16:06:03.000000000 +0100
++++ dropbear-0.48-new/cli-runopts.c 2006-03-11 12:28:54.000000000 +0100
+@@ -188,6 +188,10 @@
+ debug_trace = 1;
+ break;
+ #endif
++ case 'o':
++ next = &dummy;
++ case 'x':
++ break;
+ case 'F':
+ case 'e':
+ case 'c':
+@@ -199,7 +203,6 @@
+ #ifndef ENABLE_CLI_LOCALTCPFWD
+ case 'L':
+ #endif
+- case 'o':
+ case 'b':
+ next = &dummy;
+ default:
diff --git a/openwrt/package/dropbear/patches/160-writechannel.patch b/openwrt/package/dropbear/patches/160-writechannel.patch
deleted file mode 100644
index 0e84a9953..000000000
--- a/openwrt/package/dropbear/patches/160-writechannel.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN dropbear-0.47.orig/common-channel.c dropbear-0.47/common-channel.c
---- dropbear-0.47.orig/common-channel.c 2005-12-09 06:42:31.000000000 +0100
-+++ dropbear-0.47/common-channel.c 2006-02-05 00:03:37.000000000 +0100
-@@ -377,7 +377,7 @@
- cbuf_incrread(cbuf, len);
- channel->recvdonelen += len;
-
-- if (fd == channel->writefd && len == maxlen && channel->recveof) {
-+ if (fd == channel->writefd && len == maxlen && channel->recveof && cbuf_getused(channel->writebuf) == 0) {
- /* Check if we're closing up */
- closewritefd(channel);
- TRACE(("leave writechannel: recveof set"))