diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-08-08 11:06:34 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-08-08 11:06:34 +0000 |
commit | abb799add164d4fa1b97d1eb3dcac871785ef9f6 (patch) | |
tree | fbd3e638472735acc3269fa831c037611e15caa3 /ftp/wu-ftpd+ipv6/files | |
parent | Added dmake and noweb, convert to new format along the way. (diff) |
Correct a few pathname problems. In particular, put ftpd in libexec,
not etc.
Submitted by: Tom Samplonius <tom@misery.sdf.com>
Notes
Notes:
svn path=/head/; revision=2040
Diffstat (limited to 'ftp/wu-ftpd+ipv6/files')
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-ab | 7 | ||||
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-ac | 49 |
2 files changed, 30 insertions, 26 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-ab b/ftp/wu-ftpd+ipv6/files/patch-ab index fe0cb6d2ba08..3167be4a8894 100644 --- a/ftp/wu-ftpd+ipv6/files/patch-ab +++ b/ftp/wu-ftpd+ipv6/files/patch-ab @@ -1,5 +1,5 @@ *** Makefile.orig Fri Apr 1 11:03:58 1994 ---- Makefile Wed Jan 25 14:58:44 1995 +--- Makefile Sun Aug 6 21:35:01 1995 *************** *** 1,25 **** ! BINDIR= /usr/local/bin @@ -27,8 +27,9 @@ ! install -o bin -g bin -m 755 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5 ! install -o bin -g bin -m 755 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5 ! install -o bin -g bin -m 755 doc/xferlog.5 ${MANDIR}/man5/xferlog.5 ---- 1,35 ---- +--- 1,36 ---- ! BINDIR= ${PREFIX}/bin +! LIBEXECDIR= ${PREFIX}/libexec ! ETCDIR= ${PREFIX}/etc ! MANDIR= ${PREFIX}/man MANEXT= 8 @@ -41,7 +42,7 @@ install: bin/ftpd bin/ftpcount bin/ftpshut -mv -f ${ETCDIR}/ftpd ${ETCDIR}/ftpd-old @echo Installing binaries. -! install -c -o bin -g bin -m 755 bin/ftpd ${ETCDIR}/ftpd +! install -c -o bin -g bin -m 755 bin/ftpd ${LIBEXECDIR}/ftpd ! install -c -o bin -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut ! install -c -o bin -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount ! install -c -o bin -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho diff --git a/ftp/wu-ftpd+ipv6/files/patch-ac b/ftp/wu-ftpd+ipv6/files/patch-ac index 8f9f98a46283..971dbb40f3e6 100644 --- a/ftp/wu-ftpd+ipv6/files/patch-ac +++ b/ftp/wu-ftpd+ipv6/files/patch-ac @@ -1,47 +1,50 @@ -*** src/pathnames.h.orig Wed Apr 13 22:46:48 1994 ---- src/pathnames.h Tue Oct 18 18:26:26 1994 +*** src/pathnames.h.orig Wed Apr 13 13:46:48 1994 +--- src/pathnames.h Sun Aug 6 21:45:38 1995 *************** -*** 29,41 **** +*** 29,46 **** * * @(#)pathnames.h 5.2 (Berkeley) 6/1/90 */ ! #define _PATH_FTPUSERS "/etc/ftpusers" -! #define _PATH_FTPACCESS "/usr/local/etc/ftpaccess" + #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_CVT "/usr/local/etc/ftpconversions" ! #define _PATH_XFERLOG "/usr/adm/xferlog" ! #define _PATH_PRIVATE "/etc/ftpgroups" #ifndef _PATH_UTMP - #define _PATH_UTMP "/etc/utmp" ---- 29,41 ---- +! #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 "!!PREFIX!!/etc/ftpusers" -! #define _PATH_FTPACCESS "!!PREFIX!!/etc/ftpaccess" +! #define _PATH_FTPUSERS "/usr/local/etc/ftpusers" + #define _PATH_FTPACCESS "/usr/local/etc/ftpaccess" #define _PATH_EXECPATH "/bin/ftp-exec" -! #define _PATH_PIDNAMES "!!PREFIX!!/daemon/ftpd/ftp.pids-%s" -! #define _PATH_CVT "!!PREFIX!!/etc/ftpconversions" +! #define _PATH_PIDNAMES "/var/run/ftp.pids-%s" + #define _PATH_CVT "/usr/local/etc/ftpconversions" ! #define _PATH_XFERLOG "/var/log/xferlog" -! #define _PATH_PRIVATE "!!PREFIX!!/etc/ftpgroups" +! #define _PATH_PRIVATE "/usr/local/etc/ftpgroups" #ifndef _PATH_UTMP - #define _PATH_UTMP "/etc/utmp" -*************** -*** 47,52 **** - #define _PATH_DEVNULL "/dev/null" - - #ifdef HOST_ACCESS -! #define _PATH_FTPHOSTS "/usr/local/etc/ftphosts" +! #define _PATH_UTMP "/var/run/utmp" +! #define _PATH_WTMP "/var/log/wtmp" +! #define _PATH_LASTLOG "/var/log/lastlog" #endif ---- 47,53 ---- - #define _PATH_DEVNULL "/dev/null" + #define _PATH_BSHELL "/bin/sh" +*************** +*** 48,52 **** +--- 48,53 ---- #ifdef HOST_ACCESS -! #define _PATH_FTPHOSTS "!!PREFIX!!/etc/ftphosts" -! #else + #define _PATH_FTPHOSTS "/usr/local/etc/ftphosts" ++ #else #endif |