dropbear: remove unsupported default arguments in scp. Fixes OE bug 3227.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Sat, 17 May 2008 21:21:02 +0000 (21:21 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Sat, 17 May 2008 21:21:02 +0000 (21:21 +0000)
packages/dropbear/dropbear.inc
packages/dropbear/dropbear/scp-argument-fix.patch [new file with mode: 0644]

index ebe0c1e..00e5eec 100644 (file)
@@ -10,6 +10,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz \
           file://urandom-xauth-changes-to-options.h.patch;patch=1 \
           file://configure.patch;patch=1 \
           file://fix-2kb-keys.patch;patch=1 \
+          file://scp-argument-fix.patch;patch=1 \
           file://allow-nopw.patch \
           file://init"
 
diff --git a/packages/dropbear/dropbear/scp-argument-fix.patch b/packages/dropbear/dropbear/scp-argument-fix.patch
new file mode 100644 (file)
index 0000000..716a967
--- /dev/null
@@ -0,0 +1,21 @@
+source: https://dev.openwrt.org/browser/trunk/openwrt/package/dropbear/patches/scp-argument-fix.patch?rev=453
+comment: remove unsupported default arguments in scp.  Fixes OE bug 3227.
+
+diff -ur dropbear-0.49-orig/scp.c dropbear-0.49/scp.c
+--- dropbear-0.49-orig/scp.c   2007-02-22 16:51:35.000000000 +0100
++++ dropbear-0.49/scp.c        2007-10-19 14:19:08.000000000 +0200
+@@ -308,10 +308,10 @@
+       memset(&args, '\0', sizeof(args));
+       args.list = NULL;
+       addargs(&args, "%s", ssh_program);
+-      addargs(&args, "-x");
+-      addargs(&args, "-oForwardAgent no");
+-      addargs(&args, "-oPermitLocalCommand no");
+-      addargs(&args, "-oClearAllForwardings yes");
++//    addargs(&args, "-x");
++//    addargs(&args, "-oForwardAgent no");
++//    addargs(&args, "-oPermitLocalCommand no");
++//    addargs(&args, "-oClearAllForwardings yes");
+       fflag = tflag = 0;
+       while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1)