diff options
Diffstat (limited to 'security/openssh/files/patch-al')
-rw-r--r-- | security/openssh/files/patch-al | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/security/openssh/files/patch-al b/security/openssh/files/patch-al new file mode 100644 index 000000000000..365a45928036 --- /dev/null +++ b/security/openssh/files/patch-al @@ -0,0 +1,27 @@ +--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/ssh.h Tue Nov 23 18:58:02 1999 ++++ ./ssh.h Tue Nov 23 19:31:00 1999 +@@ -51,7 +51,7 @@ + port if present. */ + #define SSH_SERVICE_NAME "ssh" + +-#define ETCDIR "/etc" ++#define ETCDIR "__PREFIX__/etc" + #define PIDDIR "/var/run" + + /* System-wide file containing host keys of known hosts. This file should be +@@ -64,11 +64,11 @@ + are all defined in Makefile.in. Of these, ssh_host_key should be readable + only by root, whereas ssh_config should be world-readable. */ + +-#define HOST_KEY_FILE "/etc/ssh_host_key" +-#define SERVER_CONFIG_FILE "/etc/sshd_config" +-#define HOST_CONFIG_FILE "/etc/ssh_config" ++#define HOST_KEY_FILE "__PREFIX__/etc/ssh_host_key" ++#define SERVER_CONFIG_FILE "__PREFIX__/etc/sshd_config" ++#define HOST_CONFIG_FILE "__PREFIX__/etc/ssh_config" + +-#define SSH_PROGRAM "/usr/bin/ssh" ++#define SSH_PROGRAM "__PREFIX__/usr/bin/ssh" + + /* The process id of the daemon listening for connections is saved + here to make it easier to kill the correct daemon when necessary. */ |