freebsd-ports/ftp/wu-ftpd/files/patch-ac
Satoshi Asami abb799add1 Correct a few pathname problems. In particular, put ftpd in libexec,
not etc.

Submitted by:	Tom Samplonius <tom@misery.sdf.com>
1995-08-08 11:06:34 +00:00

51 lines
1.5 KiB
Plaintext

*** src/pathnames.h.orig Wed Apr 13 13:46:48 1994
--- src/pathnames.h Sun Aug 6 21:45:38 1995
***************
*** 29,46 ****
*
* @(#)pathnames.h 5.2 (Berkeley) 6/1/90 */
! #define _PATH_FTPUSERS "/etc/ftpusers"
#define _PATH_FTPACCESS "/usr/local/etc/ftpaccess"
#define _PATH_EXECPATH "/bin/ftp-exec"
! #define _PATH_PIDNAMES "/usr/local/daemon/ftpd/ftp.pids-%s"
#define _PATH_CVT "/usr/local/etc/ftpconversions"
! #define _PATH_XFERLOG "/usr/adm/xferlog"
! #define _PATH_PRIVATE "/etc/ftpgroups"
#ifndef _PATH_UTMP
! #define _PATH_UTMP "/etc/utmp"
! #define _PATH_WTMP "/usr/adm/wtmp"
! #define _PATH_LASTLOG "/usr/adm/lastlog"
#endif
#define _PATH_BSHELL "/bin/sh"
--- 29,46 ----
*
* @(#)pathnames.h 5.2 (Berkeley) 6/1/90 */
! #define _PATH_FTPUSERS "/usr/local/etc/ftpusers"
#define _PATH_FTPACCESS "/usr/local/etc/ftpaccess"
#define _PATH_EXECPATH "/bin/ftp-exec"
! #define _PATH_PIDNAMES "/var/run/ftp.pids-%s"
#define _PATH_CVT "/usr/local/etc/ftpconversions"
! #define _PATH_XFERLOG "/var/log/xferlog"
! #define _PATH_PRIVATE "/usr/local/etc/ftpgroups"
#ifndef _PATH_UTMP
! #define _PATH_UTMP "/var/run/utmp"
! #define _PATH_WTMP "/var/log/wtmp"
! #define _PATH_LASTLOG "/var/log/lastlog"
#endif
#define _PATH_BSHELL "/bin/sh"
***************
*** 48,52 ****
--- 48,53 ----
#ifdef HOST_ACCESS
#define _PATH_FTPHOSTS "/usr/local/etc/ftphosts"
+ #else
#endif