summaryrefslogtreecommitdiff
path: root/net/wu-ftpd/patches/patch-ab
blob: 69cd32a4194ab0370d5e97ed1e2570748d3d2470 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
$NetBSD: patch-ab,v 1.4 1998/08/07 11:11:04 agc Exp $

*** src/pathnames.h.orig	Mon Dec 22 00:25:08 1997
--- src/pathnames.h	Mon Mar  2 19:13:35 1998
***************
*** 45,54 ****
  #define _PATH_CVT       "/etc/ftpd/ftpconversions"
  #define _PATH_PRIVATE   "/etc/ftpd/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"
  #endif
  #endif
  
--- 45,54 ----
  #define _PATH_CVT       "/etc/ftpd/ftpconversions"
  #define _PATH_PRIVATE   "/etc/ftpd/ftpgroups"
  #else
! #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
  
***************
*** 69,78 ****
  #endif
  #else
  #ifndef _PATH_PIDNAMES
! #define _PATH_PIDNAMES  "/usr/local/lib/ftpd/pids/%s"
  #endif
  #ifndef _PATH_XFERLOG
! #define _PATH_XFERLOG   "/usr/local/logs/xferlog"
  #endif
  #endif
  
--- 69,78 ----
  #endif
  #else
  #ifndef _PATH_PIDNAMES
! #define _PATH_PIDNAMES  "/var/run/%s"
  #endif
  #ifndef _PATH_XFERLOG
! #define _PATH_XFERLOG   "/var/logs/xferlog"
  #endif
  #endif
  
***************
*** 117,123 ****
  #ifdef USE_ETC_FTPD
  #define _PATH_FTPHOSTS  "/etc/ftpd/ftphosts"
  #else
! #define _PATH_FTPHOSTS  "/usr/local/lib/ftpd/ftphosts"
  #endif
  #endif
  #endif
--- 117,123 ----
  #ifdef USE_ETC_FTPD
  #define _PATH_FTPHOSTS  "/etc/ftpd/ftphosts"
  #else
! #define _PATH_FTPHOSTS  PREFIX "/etc/ftphosts"
  #endif
  #endif
  #endif