aboutsummaryrefslogtreecommitdiffstats
path: root/main/dropbear/dropbear-options_sftp-server_path.patch
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-08 11:14:04 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-09-08 11:14:04 +0000
commite8f16803a06e013c242e66a6b1ae43aab3e35772 (patch)
treed2e5e817e4cfb278f506788805868ec578bfc6bc /main/dropbear/dropbear-options_sftp-server_path.patch
parentd2a29bcd0f073d6cdd8e77653b49dded198f1bd6 (diff)
downloadaports-e8f16803a06e013c242e66a6b1ae43aab3e35772.tar.gz
aports-e8f16803a06e013c242e66a6b1ae43aab3e35772.tar.bz2
aports-e8f16803a06e013c242e66a6b1ae43aab3e35772.tar.xz
main/dropbear: fix sftp-server location
Our openssh package ships sftp-server as /usr/lib/ssh/sftp-server and not /usr/libexec/sftp-server as is the dropbear default.
Diffstat (limited to 'main/dropbear/dropbear-options_sftp-server_path.patch')
-rw-r--r--main/dropbear/dropbear-options_sftp-server_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/dropbear/dropbear-options_sftp-server_path.patch b/main/dropbear/dropbear-options_sftp-server_path.patch
new file mode 100644
index 0000000000..4262fdf209
--- /dev/null
+++ b/main/dropbear/dropbear-options_sftp-server_path.patch
@@ -0,0 +1,11 @@
+--- a/options.h
++++ b/options.h
+@@ -289,7 +289,7 @@
+ * OpenSSH), set the path below. If the path isn't defined, sftp will not
+ * be enabled */
+ #ifndef SFTPSERVER_PATH
+-#define SFTPSERVER_PATH "/usr/libexec/sftp-server"
++#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server"
+ #endif
+
+ /* This is used by the scp binary when used as a client binary. If you're