summaryrefslogtreecommitdiff
path: root/net/wu-ftpd/patches/patch-ab
blob: d280af7b7ee3b883e88d67d1e2c2f477496f5125 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-ab,v 1.5 1999/02/13 09:05:02 rh Exp $

--- src/pathnames.h.orig	Mon Jul  6 11:14:35 1998
+++ src/pathnames.h	Sat Feb 13 00:32:11 1999
@@ -68,10 +68,10 @@
 #define _PATH_CVT       "/opt/ftpd/lib/ftpconversions"
 #define _PATH_PRIVATE   "/opt/ftpd/lib/ftpgroups"
 #else
-#define _PATH_FTPUSERS  "/usr/local/lib/ftpd/ftpusers"
-#define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
-#define _PATH_CVT       "/usr/local/lib/ftpd/ftpconversions"
-#define _PATH_PRIVATE   "/usr/local/lib/ftpd/ftpgroups"
+#define _PATH_FTPUSERS  PREFIX "/etc/ftpusers"
+#define _PATH_FTPACCESS PREFIX "/etc/ftpaccess"
+#define _PATH_CVT       PREFIX "/etc/ftpconversions"
+#define _PATH_PRIVATE   PREFIX "/etc/ftpgroups"
 #endif
 #endif
 #endif
@@ -94,10 +94,10 @@
 #endif
 #else
 #ifndef _PATH_PIDNAMES
-#define _PATH_PIDNAMES  "/usr/local/lib/ftpd/pids/%s"
+#define _PATH_PIDNAMES  "/var/run/%s"
 #endif
 #ifndef _PATH_XFERLOG
-#define _PATH_XFERLOG   "/usr/local/logs/xferlog"
+#define _PATH_XFERLOG   "/var/log/xferlog"
 #endif
 #endif
 
@@ -144,7 +144,7 @@
 #ifdef USE_OPT_FTPD
 #define _PATH_FTPHOSTS  "/opt/ftpd/lib/ftphosts"
 #else
-#define _PATH_FTPHOSTS  "/usr/local/lib/ftpd/ftphosts"
+#define _PATH_FTPHOSTS  PREFIX "/etc/ftphosts"
 #endif
 #endif
 #endif