aboutsummaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/files/patch-pathnames.h')
-rw-r--r--security/openssh/files/patch-pathnames.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/security/openssh/files/patch-pathnames.h b/security/openssh/files/patch-pathnames.h
index 0eb763623833..b8f4e585db5e 100644
--- a/security/openssh/files/patch-pathnames.h
+++ b/security/openssh/files/patch-pathnames.h
@@ -1,11 +1,11 @@
---- pathnames.h.orig Fri Mar 8 05:51:08 2002
-+++ pathnames.h Fri Mar 8 05:52:57 2002
+--- pathnames.h.orig Sat Jun 22 12:40:30 2002
++++ pathnames.h Mon Jun 24 23:05:59 2002
@@ -12,7 +12,7 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-#define ETCDIR "/etc"
-+#define ETCDIR "__PREFIX__/etc"
++#define ETCDIR "__PREFIX__/etc/ssh"
#define SSHDIR ETCDIR
#define _PATH_SSH_PIDDIR "/var/run"
@@ -18,3 +18,14 @@
/*
* The process id of the daemon listening for connections is saved here to
+@@ -123,8 +123,8 @@
+ #define _PATH_CP "cp"
+
+ /* for sftp */
+-#define _PATH_SFTP_SERVER "/usr/libexec/sftp-server"
++#define _PATH_SFTP_SERVER "__PREFIX__/libexec/sftp-server"
+ #define _PATH_LS "ls"
+
+ /* chroot directory for unprivileged user when UsePrivilegeSeparation=yes */
+-#define _PATH_PRIVSEP_CHROOT_DIR "/var/empty"
++#define _PATH_PRIVSEP_CHROOT_DIR "__PREFIX__/empty"