diff options
-rw-r--r-- | ftp/Makefile | 1 | ||||
-rw-r--r-- | ftp/lukemftpd/Makefile | 64 | ||||
-rw-r--r-- | ftp/lukemftpd/distinfo | 1 | ||||
-rw-r--r-- | ftp/lukemftpd/pkg-comment | 1 | ||||
-rw-r--r-- | ftp/lukemftpd/pkg-descr | 22 | ||||
-rw-r--r-- | ftp/lukemftpd/pkg-plist | 5 |
6 files changed, 94 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile index 1b01490d80c5..979add872877 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -26,6 +26,7 @@ SUBDIR += llnlxdir SUBDIR += llnlxftp SUBDIR += lukemftp + SUBDIR += lukemftpd SUBDIR += mirror SUBDIR += moxftp SUBDIR += ncftp diff --git a/ftp/lukemftpd/Makefile b/ftp/lukemftpd/Makefile new file mode 100644 index 000000000000..0b5423eb4aed --- /dev/null +++ b/ftp/lukemftpd/Makefile @@ -0,0 +1,64 @@ +# New ports collection makefile for: lukemftpd +# Date created: 12 April 2001 +# Whom: Anders Nordby <anders@fix.no> +# +# $FreeBSD$ +# + +PORTNAME= lukemftpd +PORTVERSION= 1.0 +CATEGORIES= ftp ipv6 +MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/ \ + ftp://ftp.nuug.no/pub/anders/distfiles/ + +MAINTAINER= anders@fix.no + +GNU_CONFIGURE= yes + +DOCS= ChangeLog README THANKS + +MAN5= ftpd.conf.5 ftpusers.5 +MAN8= ftpd.8 + +FIXPREFIX= ftpd.8 ftpd.conf.5 ftpusers.5 + +pre-patch: +.for f in ${FIXPREFIX} + ${PERL} -pi -e "s@^\.Dq Pa /etc@.Dq Pa ${PREFIX}/etc@g; \ + s@^\.Pa /etc@.Pa ${PREFIX}/etc@g; \ + s@^\.It Pa /etc/@.It Pa ${PREFIX}/etc/@g; \ + s@^\.Ss /etc/@.Ss ${PREFIX}/etc/@g; \ + s@^\.Sx /etc/@.Sx ${PREFIX}/etc/@g; \ + s@^\.Bl -tag -width /etc/@.Bl -tag -width ${PREFIX}/etc/@g; \ + s@${PREFIX}/etc/shells@/etc/shells@g; \ + s@${PREFIX}/etc/pwd.db@/etc/pwd.db@g" \ + ${WRKSRC}/src/${f} +.endfor + ${PERL} -pi -e \ + "s@^#define\t_DEFAULT_CONFDIR\t\"/etc\"@#define\t_DEFAULT_CONFDIR\t\"${PREFIX}/etc\"@" \ + ${WRKSRC}/src/pathnames.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/ftpd ${PREFIX}/libexec/ftpd + ${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5 + ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5 +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/lukemftpd +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/lukemftpd/ +.endfor +.endif + +post-install: + @${ECHO} "================================================================================" + @${ECHO} "This port relies on a number of configuration files in ${PREFIX}/etc." + @${ECHO} "At the very least, create a ftpusers file with the usernams of users you don't" + @${ECHO} "want to connect (root, toor, etc.). This will allow non-listed users to log in." + @${ECHO} "Copying /etc/ftpusers to ${PREFIX}/etc/ftpusers should be sufficient." + @${ECHO} + @${ECHO} "See the man files for more information. The man- and configuration files for" + @${ECHO} "FreeBSD's built-in ftpd can also be of use as examples/additional info." + @${ECHO} "================================================================================" + +.include <bsd.port.mk> diff --git a/ftp/lukemftpd/distinfo b/ftp/lukemftpd/distinfo new file mode 100644 index 000000000000..088d2fe1176d --- /dev/null +++ b/ftp/lukemftpd/distinfo @@ -0,0 +1 @@ +MD5 (lukemftpd-1.0.tar.gz) = b7d87b11435197fd64adf048c00609ec diff --git a/ftp/lukemftpd/pkg-comment b/ftp/lukemftpd/pkg-comment new file mode 100644 index 000000000000..7ceada755904 --- /dev/null +++ b/ftp/lukemftpd/pkg-comment @@ -0,0 +1 @@ +Enhanced ftp server from NetBSD diff --git a/ftp/lukemftpd/pkg-descr b/ftp/lukemftpd/pkg-descr new file mode 100644 index 000000000000..05d7d9a3ccd8 --- /dev/null +++ b/ftp/lukemftpd/pkg-descr @@ -0,0 +1,22 @@ +`lukemftpd' is what many users affectionately call the enhanced ftp +server in NetBSD. + +The enhancements over the standard ftp server in 4.4BSD include: + + * command line options: + + allow override of directory used by anonymous ftp (-a) + + optional change of directory for configuration files (-c) + + check whether a user would be granted access (-C) + + specify email address for display messages (-e) + + change hostname advertised as (-h, -H) + + specify data port to listen on (-P) + + keep track of the number of users logged in (-q, -Q) + + permanently drop privileges (-r) + + specify version advertised (-V) + + log wu-ftpd style `xferlog' entries to syslog (-X) + + * IPv6 support (from the KAME project). + + * +++ (see README) + +- Anders Nordby <anders@fix.no> diff --git a/ftp/lukemftpd/pkg-plist b/ftp/lukemftpd/pkg-plist new file mode 100644 index 000000000000..3fdb146811c6 --- /dev/null +++ b/ftp/lukemftpd/pkg-plist @@ -0,0 +1,5 @@ +libexec/ftpd +%%PORTDOCS%%share/doc/lukemftpd/ChangeLog +%%PORTDOCS%%share/doc/lukemftpd/README +%%PORTDOCS%%share/doc/lukemftpd/THANKS +%%PORTDOCS%%@dirrm share/doc/lukemftpd |