summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-al
blob: 365a459280360c59fa5b4275b7aa563879b8b0dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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. */