diff options
author | tron <tron@pkgsrc.org> | 1998-03-29 20:40:20 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-03-29 20:40:20 +0000 |
commit | 9d48f086b36887f45a4b53edbb39bcfd1e350f2a (patch) | |
tree | c1278b9c80b2b45df2338fc5b54ed2dcb6518530 | |
parent | e259711c482b7aeb25c7c53ae0677e193f827c8c (diff) | |
download | pkgsrc-9d48f086b36887f45a4b53edbb39bcfd1e350f2a.tar.gz |
Initial import of FreeBSD's "wu-ftpd-2.4.2-beta-16" port.
-rw-r--r-- | net/wu-ftpd/Makefile | 27 | ||||
-rw-r--r-- | net/wu-ftpd/files/md5 | 1 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-aa | 19 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-ab | 84 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-ac | 42 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-ag | 19 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-ah | 31 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-ai | 15 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-al | 19 | ||||
-rw-r--r-- | net/wu-ftpd/patches/patch-am | 33 | ||||
-rw-r--r-- | net/wu-ftpd/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/wu-ftpd/pkg/DESCR | 40 | ||||
-rw-r--r-- | net/wu-ftpd/pkg/PLIST | 16 | ||||
-rw-r--r-- | net/wu-ftpd/scripts/configure | 7 |
14 files changed, 354 insertions, 0 deletions
diff --git a/net/wu-ftpd/Makefile b/net/wu-ftpd/Makefile new file mode 100644 index 00000000000..42ba1fa3dd9 --- /dev/null +++ b/net/wu-ftpd/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: wu-ftpd +# Version required: 2.4.2-beta-16 +# Date created: 18 Oct 1994 +# Whom: torstenb +# +# $Id: Makefile,v 1.1.1.1 1998/03/29 20:40:20 tron Exp $ +# +# REMINDER: to use ftpaccess(5) you need to specify -a in command line, +# it is changed from previous versions + +DISTNAME= wu-ftpd-2.4.2-beta-16 +PKGNAME= wu-ftpd-2.4.2b16 +CATEGORIES= net +# AUSCERT recommendation +MASTER_SITES= ftp://ftp.academ.com/pub/wu-ftpd/private/ +EXTRACT_SUFX= .tar.Z + +do-build: + cd ${WRKSRC} && ./build fbs + +MAINTAINER= ache@FreeBSD.org + +MAN1= ftpcount.1 ftpwho.1 +MAN5= ftpaccess.5 ftphosts.5 ftpconversions.5 xferlog.5 +MAN8= ftpd.8 ftpshut.8 + +.include <bsd.port.mk> diff --git a/net/wu-ftpd/files/md5 b/net/wu-ftpd/files/md5 new file mode 100644 index 00000000000..6f4d40b98e6 --- /dev/null +++ b/net/wu-ftpd/files/md5 @@ -0,0 +1 @@ +MD5 (wu-ftpd-2.4.2-beta-16.tar.Z) = c18c083c2a82eef1ccba6df9a406f026 diff --git a/net/wu-ftpd/patches/patch-aa b/net/wu-ftpd/patches/patch-aa new file mode 100644 index 00000000000..0dd5a807967 --- /dev/null +++ b/net/wu-ftpd/patches/patch-aa @@ -0,0 +1,19 @@ +*** src/config/config.fbs.bak Fri Dec 12 18:17:19 1997 +--- src/config/config.fbs Wed Dec 24 20:39:50 1997 +*************** +*** 29,35 **** + #define VIRTUAL + # if defined(__FreeBSD__) + # undef SPT_TYPE +! # if __FreeBSD__ == 2 + # include <osreldate.h> /* and this works */ + # if __FreeBSD_version >= 199512 /* 2.2-current right now */ + # define SPT_TYPE SPT_BUILTIN +--- 29,35 ---- + #define VIRTUAL + # if defined(__FreeBSD__) + # undef SPT_TYPE +! # if __FreeBSD__ >= 2 + # include <osreldate.h> /* and this works */ + # if __FreeBSD_version >= 199512 /* 2.2-current right now */ + # define SPT_TYPE SPT_BUILTIN diff --git a/net/wu-ftpd/patches/patch-ab b/net/wu-ftpd/patches/patch-ab new file mode 100644 index 00000000000..dc2c5ea8368 --- /dev/null +++ b/net/wu-ftpd/patches/patch-ab @@ -0,0 +1,84 @@ +*** makefiles/Makefile.fbs.orig Fri Dec 19 08:54:48 1997 +--- makefiles/Makefile.fbs Wed Dec 24 20:20:39 1997 +*************** +*** 1,7 **** +! PREFIX= /usr/local + BINDIR= ${PREFIX}/bin +! ETCDIR= ${PREFIX}/libexec + MANDIR= ${PREFIX}/man + MANEXT= 8 + INSTALL= install + +--- 1,8 ---- +! PREFIX?= /usr/local + BINDIR= ${PREFIX}/bin +! ETCDIR= ${PREFIX}/etc + MANDIR= ${PREFIX}/man ++ LIBEXECDIR= ${PREFIX}/libexec + MANEXT= 8 + INSTALL= install + +*************** +*** 10,26 **** + @ echo 'You can say "build help" for details on how it works.' + + 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/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 NOT Installing basic configuration +! # install -c -o root -g bin -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess +! # install -c -o root -g bin -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers +! # install -c -o root -g bin -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions + @echo installing manpages. + ${INSTALL} -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8 + ${INSTALL} -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1 +--- 11,27 ---- + @ echo 'You can say "build help" for details on how it works.' + + install: bin/ftpd bin/ftpcount bin/ftpshut +! -mv -f ${LIBEXECDIR}/ftpd ${LIBEXECDIR}/ftpd-old + @echo installing binaries. +! ${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 + install -c -o bin -g bin -m 755 bin/ckconfig ${BINDIR}/ftpckconfig + @echo NOT Installing basic configuration +! install -c -o root -g bin -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess.example +! install -c -o root -g bin -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers.example +! install -c -o root -g bin -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions.example + @echo installing manpages. + ${INSTALL} -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8 + ${INSTALL} -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1 +*************** +*** 30,41 **** + ${INSTALL} -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5 + ${INSTALL} -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5 + ${INSTALL} -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5 +! @echo Compressing manpages +! gzip -f -9 ${MANDIR}/man8/ftpd.8 +! gzip -f -9 ${MANDIR}/man1/ftpcount.1 +! gzip -f -9 ${MANDIR}/man1/ftpwho.1 +! gzip -f -9 ${MANDIR}/man8/ftpshut.8 +! gzip -f -9 ${MANDIR}/man5/ftpaccess.5 +! gzip -f -9 ${MANDIR}/man5/ftphosts.5 +! gzip -f -9 ${MANDIR}/man5/ftpconversions.5 +! gzip -f -9 ${MANDIR}/man5/xferlog.5 +--- 31,42 ---- + ${INSTALL} -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5 + ${INSTALL} -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5 + ${INSTALL} -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5 +! # @echo Compressing manpages +! # gzip -f -9 ${MANDIR}/man8/ftpd.8 +! # gzip -f -9 ${MANDIR}/man1/ftpcount.1 +! # gzip -f -9 ${MANDIR}/man1/ftpwho.1 +! # gzip -f -9 ${MANDIR}/man8/ftpshut.8 +! # gzip -f -9 ${MANDIR}/man5/ftpaccess.5 +! # gzip -f -9 ${MANDIR}/man5/ftphosts.5 +! # gzip -f -9 ${MANDIR}/man5/ftpconversions.5 +! # gzip -f -9 ${MANDIR}/man5/xferlog.5 diff --git a/net/wu-ftpd/patches/patch-ac b/net/wu-ftpd/patches/patch-ac new file mode 100644 index 00000000000..93749a1da79 --- /dev/null +++ b/net/wu-ftpd/patches/patch-ac @@ -0,0 +1,42 @@ +*** src/pathnames.h.bak Mon Jan 20 06:21:45 1997 +--- src/pathnames.h Thu Jan 30 15:42:24 1997 +*************** +*** 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 + +*************** +*** 109,115 **** + #ifdef USE_ETC_FTPD + #define _PATH_FTPHOSTS "/etc/ftpd/ftphosts" + #else +! #define _PATH_FTPHOSTS "/usr/local/lib/ftpd/ftphosts" + #endif + #endif + #endif +--- 109,115 ---- + #ifdef USE_ETC_FTPD + #define _PATH_FTPHOSTS "/etc/ftpd/ftphosts" + #else +! #define _PATH_FTPHOSTS "!!PREFIX!!/etc/ftphosts" + #endif + #endif + #endif diff --git a/net/wu-ftpd/patches/patch-ag b/net/wu-ftpd/patches/patch-ag new file mode 100644 index 00000000000..dabfbce24f9 --- /dev/null +++ b/net/wu-ftpd/patches/patch-ag @@ -0,0 +1,19 @@ +*** doc/examples/ftpconversions.orig Wed Jan 25 22:11:02 1995 +--- doc/examples/ftpconversions Wed Jan 25 22:11:49 1995 +*************** +*** 1,7 **** +! :.Z: : :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS + : : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS + :.gz: : :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP + : : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP + : : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR + : : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS +! : : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP +--- 1,7 ---- +! :.Z: : :/bin/gzip -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS + : : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS + :.gz: : :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP + : : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP + : : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR + : : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS +! : : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP diff --git a/net/wu-ftpd/patches/patch-ah b/net/wu-ftpd/patches/patch-ah new file mode 100644 index 00000000000..537d8d5e095 --- /dev/null +++ b/net/wu-ftpd/patches/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/net/wu-ftpd/patches/patch-ai b/net/wu-ftpd/patches/patch-ai new file mode 100644 index 00000000000..eeee626462d --- /dev/null +++ b/net/wu-ftpd/patches/patch-ai @@ -0,0 +1,15 @@ +*** config.h.orig Fri Sep 12 19:44:00 1997 +--- config.h Mon Sep 15 09:27:39 1997 +*************** +*** 72,76 **** + * See FIXES-2.4-HOBBIT for more information on this option. + */ + +! #undef SKEY + +--- 72,76 ---- + * See FIXES-2.4-HOBBIT for more information on this option. + */ + +! /* #undef SKEY */ + diff --git a/net/wu-ftpd/patches/patch-al b/net/wu-ftpd/patches/patch-al new file mode 100644 index 00000000000..90c5246d7d5 --- /dev/null +++ b/net/wu-ftpd/patches/patch-al @@ -0,0 +1,19 @@ +*** support/makefiles/Makefile.fbs.bak Mon Mar 3 12:11:54 1997 +--- support/makefiles/Makefile.fbs Sun Apr 27 21:13:35 1997 +*************** +*** 8,14 **** + LIBC = /usr/lib/libc.a + IFLAGS = + LFLAGS = +! CFLAGS = -O ${IFLAGS} ${LFLAGS} -DNO_MALLOC_PROTO + + SRCS = strcasestr.c authuser.c ftw.c + OBJS = strcasestr.o authuser.o ftw.o +--- 8,14 ---- + LIBC = /usr/lib/libc.a + IFLAGS = + LFLAGS = +! CFLAGS += ${IFLAGS} ${LFLAGS} -DNO_MALLOC_PROTO + + SRCS = strcasestr.c authuser.c ftw.c + OBJS = strcasestr.o authuser.o ftw.o diff --git a/net/wu-ftpd/patches/patch-am b/net/wu-ftpd/patches/patch-am new file mode 100644 index 00000000000..04297b0bb71 --- /dev/null +++ b/net/wu-ftpd/patches/patch-am @@ -0,0 +1,33 @@ +*** src/makefiles/Makefile.fbs.orig Sun Dec 21 07:04:49 1997 +--- src/makefiles/Makefile.fbs Wed Dec 24 20:26:01 1997 +*************** +*** 4,10 **** + #CC = cc + IFLAGS = -I.. -I../support + LFLAGS = -L../support -s +! CFLAGS = -O ${IFLAGS} ${LFLAGS} + LIBES = -lsupport -lutil -lskey -lmd -lcrypt + LIBC = /usr/lib/libc.a + LINTFLAGS= +--- 4,10 ---- + #CC = cc + IFLAGS = -I.. -I../support + LFLAGS = -L../support -s +! CFLAGS += ${IFLAGS} ${LFLAGS} + LIBES = -lsupport -lutil -lskey -lmd -lcrypt + LIBC = /usr/lib/libc.a + LINTFLAGS= +*************** +*** 27,33 **** +--- 27,37 ---- + ${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES} + + ftpd: ${OBJS} ${LIBC} ++ .if defined(PACKAGE_BUILDING) + ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES} ++ .else ++ ${CC} -static ${CFLAGS} -o $@ ${OBJS} ${LIBES} ++ .endif + + ckconfig: ckconfig.c + ${CC} ${CFLAGS} -o $@ ckconfig.c diff --git a/net/wu-ftpd/pkg/COMMENT b/net/wu-ftpd/pkg/COMMENT new file mode 100644 index 00000000000..74b0c17faab --- /dev/null +++ b/net/wu-ftpd/pkg/COMMENT @@ -0,0 +1 @@ +A replacement ftp server for Un*x systems. diff --git a/net/wu-ftpd/pkg/DESCR b/net/wu-ftpd/pkg/DESCR new file mode 100644 index 00000000000..1fbd9889541 --- /dev/null +++ b/net/wu-ftpd/pkg/DESCR @@ -0,0 +1,40 @@ +The package is linked dynamic so that you will get the right crypt +library. If you are serious about performance, you may want to recompile +it by yourself (the port will link static by default). + +-Satoshi (Nov 14, 1995) + +REMINDER: to use ftpaccess(5) you need to specify -a in command line, +it is changed from previous versions. + +-Ache +--- +WASHINGTON UNIVERSITY FTP SERVER, RELEASE 2.4 +wu-ftpd is a replacement ftp server for Un*x systems. Besides +supporting the ftp protocol defined in RFC 959, it adds the following +features: + o logging of transfers + o logging of commands + o on the fly compression and archiving + o classification of users on type and location + o per class limits + o per directory upload permissions + o restricted guest accounts + o system wide and per directory messages. + 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/net/wu-ftpd/pkg/PLIST b/net/wu-ftpd/pkg/PLIST new file mode 100644 index 00000000000..c8462479ad9 --- /dev/null +++ b/net/wu-ftpd/pkg/PLIST @@ -0,0 +1,16 @@ +etc/ftpaccess.example +etc/ftpconversions.example +etc/ftpusers.example +libexec/ftpd +man/man1/ftpcount.1.gz +man/man1/ftpwho.1.gz +man/man5/ftpaccess.5.gz +man/man5/ftphosts.5.gz +man/man5/ftpconversions.5.gz +man/man5/xferlog.5.gz +man/man8/ftpd.8.gz +man/man8/ftpshut.8.gz +bin/ftpshut +bin/ftpcount +bin/ftpwho +bin/ftpckconfig diff --git a/net/wu-ftpd/scripts/configure b/net/wu-ftpd/scripts/configure new file mode 100644 index 00000000000..ecea5f4297e --- /dev/null +++ b/net/wu-ftpd/scripts/configure @@ -0,0 +1,7 @@ +#!/bin/sh +# +# configure,v 1.1.1.1 1994/10/23 01:36:59 torstenb Exp +# + +mv ${WRKSRC}/src/pathnames.h ${WRKSRC}/src/pathnames.h.bak +sed <${WRKSRC}/src/pathnames.h.bak >${WRKSRC}/src/pathnames.h s+!!PREFIX!!+$PREFIX+g |