From dc3be1d1ec8b2718ef3b400f8d9f111e9de4f86f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 4 Mar 2011 04:16:19 +0100 Subject: [PATCH] sshfs-fuse: add patche for dropbear support Signed-off-by: Stephan Raue --- ...e-2.2_add_dropbear_compatibility-0.1.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/sysutils/sshfs-fuse/patches/sshfs-fuse-2.2_add_dropbear_compatibility-0.1.patch diff --git a/packages/sysutils/sshfs-fuse/patches/sshfs-fuse-2.2_add_dropbear_compatibility-0.1.patch b/packages/sysutils/sshfs-fuse/patches/sshfs-fuse-2.2_add_dropbear_compatibility-0.1.patch new file mode 100644 index 0000000000..9df53d775a --- /dev/null +++ b/packages/sysutils/sshfs-fuse/patches/sshfs-fuse-2.2_add_dropbear_compatibility-0.1.patch @@ -0,0 +1,25 @@ +diff -Naur sshfs-fuse-2.2/sshfs.c sshfs-fuse-2.2.patch/sshfs.c +--- sshfs-fuse-2.2/sshfs.c 2008-10-20 14:10:09.000000000 +0200 ++++ sshfs-fuse-2.2.patch/sshfs.c 2011-03-03 21:23:02.721900708 +0100 +@@ -2920,7 +2920,7 @@ + return 1; + + case KEY_PORT: +- tmp = g_strdup_printf("-oPort=%s", arg + 2); ++ tmp = g_strdup_printf("-p %s", arg + 2); + ssh_add_arg(tmp); + g_free(tmp); + return 0; +@@ -3183,9 +3183,9 @@ + sshfs.ptyfd = -1; + sshfs.ptyslavefd = -1; + ssh_add_arg("ssh"); +- ssh_add_arg("-x"); +- ssh_add_arg("-a"); +- ssh_add_arg("-oClearAllForwardings=yes"); ++// ssh_add_arg("-x"); ++// ssh_add_arg("-a"); ++// ssh_add_arg("-oClearAllForwardings=yes"); + + if (fuse_opt_parse(&args, &sshfs, sshfs_opts, sshfs_opt_proc) == -1 || + parse_workarounds() == -1)