1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/openssh/files/patch-al
1999-11-24 03:39:54 +00:00

28 lines
1.0 KiB
Plaintext

--- /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__/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. */