From 5cf7aa807c32bf78dee4fbb9ec13e58a15689d5a Mon Sep 17 00:00:00 2001 From: asami Date: Fri, 11 Aug 1995 00:23:59 +0000 Subject: Submitted by: Tom Samplonius I've made some changes to the wu-ftpd port. Here's an overview of the enclosed patches: patch-ab: replacement for patches/patch-ab to add install of basic configuration files: ftpaccess, ftpconversions, and ftpusers patch-ah: new patch to add some FreeBSD system users: toor, ingres, and xten to the ftpusers file PLIST.diff: add the config files to the package DESCR.diff: add a comment on location and purose of installed config --- ftp/wu-ftpd/files/patch-ab | 9 +++++++-- ftp/wu-ftpd/files/patch-ah | 31 +++++++++++++++++++++++++++++++ ftp/wu-ftpd/pkg-descr | 14 ++++++++++++++ ftp/wu-ftpd/pkg-plist | 4 ++++ 4 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 ftp/wu-ftpd/files/patch-ah (limited to 'ftp/wu-ftpd') diff --git a/ftp/wu-ftpd/files/patch-ab b/ftp/wu-ftpd/files/patch-ab index 3167be4a8894..10bdb4c81b4a 100644 --- a/ftp/wu-ftpd/files/patch-ab +++ b/ftp/wu-ftpd/files/patch-ab @@ -1,5 +1,5 @@ *** Makefile.orig Fri Apr 1 11:03:58 1994 ---- Makefile Sun Aug 6 21:35:01 1995 +--- Makefile Tue Aug 8 20:40:20 1995 *************** *** 1,25 **** ! BINDIR= /usr/local/bin @@ -27,7 +27,7 @@ ! 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,36 ---- +--- 1,41 ---- ! BINDIR= ${PREFIX}/bin ! LIBEXECDIR= ${PREFIX}/libexec ! ETCDIR= ${PREFIX}/etc @@ -46,6 +46,11 @@ ! 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 +! install -c -o bin -g bin -m 755 bin/ckconfig ${BINDIR}/ftpckconfig +! @echo Installing basic configuration +! install -c -o root -g bin -m 755 doc/examples/ftpaccess ${ETCDIR}/ftpaccess +! install -c -o root -g bin -m 755 doc/examples/ftpusers ${ETCDIR}/ftpusers +! install -c -o root -g bin -m 755 doc/examples/ftpconversions ${ETCDIR}/ftpconversions @echo Installing manpages. ! install -c -o bin -g bin -m 755 doc/ftpd.8 ${MANDIR}/man8/ftpd.8 ! install -c -o bin -g bin -m 755 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1 diff --git a/ftp/wu-ftpd/files/patch-ah b/ftp/wu-ftpd/files/patch-ah new file mode 100644 index 000000000000..537d8d5e0959 --- /dev/null +++ b/ftp/wu-ftpd/files/patch-ah @@ -0,0 +1,31 @@ +*** doc/examples/ftpusers.orig Tue Aug 8 19:30:46 1995 +--- doc/examples/ftpusers Tue Aug 8 19:33:46 1995 +*************** +*** 1,14 **** + root +! bin +! boot + daemon +- digital +- field +- gateway +- guest +- nobody + operator +! ris +! sccs +! sys + uucp +--- 1,12 ---- + root +! toor + daemon + operator +! bin +! games +! news +! man + uucp ++ xten ++ ingres ++ nobody diff --git a/ftp/wu-ftpd/pkg-descr b/ftp/wu-ftpd/pkg-descr index 0c40b7b88367..76b401514bc5 100644 --- a/ftp/wu-ftpd/pkg-descr +++ b/ftp/wu-ftpd/pkg-descr @@ -13,3 +13,17 @@ features: o directory alias o cdpath o filename filter + + +CONFIGURATION NOTES + +The configuration files are located in /usr/local/etc This package includes +a basic working configuration. The config files are: + + ftpaccess - controls who, what, and how many can access the server + ftpconversions - controls the on-the-fly compression/archiving + ftpusers - users who, for security reasons, may never use the server + +You will also need to change /etc/inetd.conf to point to the new server +located at /usr/local/libexec/ftpd + diff --git a/ftp/wu-ftpd/pkg-plist b/ftp/wu-ftpd/pkg-plist index e0352b91a212..459e72cb3cf6 100644 --- a/ftp/wu-ftpd/pkg-plist +++ b/ftp/wu-ftpd/pkg-plist @@ -1,3 +1,6 @@ +etc/ftpaccess +etc/ftpconversions +etc/ftpusers libexec/ftpd man/man1/ftpcount.1.gz man/man1/ftpwho.1.gz @@ -10,3 +13,4 @@ man/man8/ftpshut.8.gz bin/ftpshut bin/ftpcount bin/ftpwho +bin/ftpckconfig -- cgit