Date: Thu, 12 Apr 2001 23:58:44 +0200 (CEST) From: Anders Nordby <anders@fix.no> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/26522: New port: ftp/lukemftpd Message-ID: <20010412215844.26D753CC8@totem.fix.no>
next in thread | raw e-mail | index | archive | help
>Number: 26522 >Category: ports >Synopsis: New port: ftp/lukemftpd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 12 15:00:04 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Anders Nordby >Release: FreeBSD 4.2-STABLE i386 >Organization: Fluxpod Information eXchange >Environment: Tested with: FreeBSD 4.2-STABLE from January (__FreeBSD_version 420001) FreeBSD current.localnet 5.0-20010408-CURRENT FreeBSD 5.0-20010408-CURRENT #0: Sun Apr 8 16:12:07 GMT 2001 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC i386 >Description: New port of lukemftpd, the enhanced ftp server from NetBSD. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # lukemftpd # lukemftpd/Makefile # lukemftpd/distinfo # lukemftpd/pkg-comment # lukemftpd/pkg-descr # lukemftpd/pkg-plist # echo c - lukemftpd mkdir -p lukemftpd > /dev/null 2>&1 echo x - lukemftpd/Makefile sed 's/^X//' >lukemftpd/Makefile << 'END-of-lukemftpd/Makefile' X# New ports collection makefile for: lukemftpd X# Date created: 12 April 2001 X# Whom: Anders Nordby <anders@fix.no> X# X# $FreeBSD$ X# X XPORTNAME= lukemftpd XPORTVERSION= 1.0 XCATEGORIES= ftp ipv6 XMASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/ \ X ftp://ftp.nuug.no/pub/anders/distfiles/ X XMAINTAINER= anders@fix.no X XGNU_CONFIGURE= yes X XDOCS= ChangeLog README THANKS X XMAN5= ftpd.conf.5 ftpusers.5 XMAN8= ftpd.8 X XFIXPREFIX= ftpd.8 ftpd.conf.5 ftpusers.5 X Xpre-patch: X.for f in ${FIXPREFIX} X ${PERL} -pi -e "s@^\.Dq Pa /etc@.Dq Pa ${PREFIX}/etc@g; \ X s@^\.Pa /etc@.Pa ${PREFIX}/etc@g; \ X s@^\.It Pa /etc/@.It Pa ${PREFIX}/etc/@g; \ X s@^\.Ss /etc/@.Ss ${PREFIX}/etc/@g; \ X s@^\.Sx /etc/@.Sx ${PREFIX}/etc/@g; \ X s@^\.Bl -tag -width /etc/@.Bl -tag -width ${PREFIX}/etc/@g; \ X s@${PREFIX}/etc/shells@/etc/shells@g; \ X s@${PREFIX}/etc/pwd.db@/etc/pwd.db@g" \ X ${WRKSRC}/src/${f} X.endfor X ${PERL} -pi -e \ X "s@^#define\t_DEFAULT_CONFDIR\t\"/etc\"@#define\t_DEFAULT_CONFDIR\t\"${PREFIX}/etc\"@" \ X ${WRKSRC}/src/pathnames.h X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/ftpd ${PREFIX}/libexec/ftpd X ${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8 X ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5 X ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5 X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/lukemftpd X.for f in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/lukemftpd/ X.endfor X.endif X Xpost-install: X @${ECHO} "================================================================================" X @${ECHO} "This port relies on a number of configuration files in ${PREFIX}/etc." X @${ECHO} "At the very least, create a ftpusers file with the usernams of users you don't" X @${ECHO} "want to connect (root, toor, etc.). This will allow non-listed users to log in." X @${ECHO} "Copying /etc/ftpusers to ${PREFIX}/etc/ftpusers should be sufficient." X @${ECHO} X @${ECHO} "See the man files for more information. The man- and configuration files for" X @${ECHO} "FreeBSD's built-in ftpd can also be of use as examples/additional info." X @${ECHO} "================================================================================" X X.include <bsd.port.mk> END-of-lukemftpd/Makefile echo x - lukemftpd/distinfo sed 's/^X//' >lukemftpd/distinfo << 'END-of-lukemftpd/distinfo' XMD5 (lukemftpd-1.0.tar.gz) = b7d87b11435197fd64adf048c00609ec END-of-lukemftpd/distinfo echo x - lukemftpd/pkg-comment sed 's/^X//' >lukemftpd/pkg-comment << 'END-of-lukemftpd/pkg-comment' XEnhanced ftp server from NetBSD END-of-lukemftpd/pkg-comment echo x - lukemftpd/pkg-descr sed 's/^X//' >lukemftpd/pkg-descr << 'END-of-lukemftpd/pkg-descr' X`lukemftpd' is what many users affectionately call the enhanced ftp Xserver in NetBSD. X XThe enhancements over the standard ftp server in 4.4BSD include: X X * command line options: X + allow override of directory used by anonymous ftp (-a) X + optional change of directory for configuration files (-c) X + check whether a user would be granted access (-C) X + specify email address for display messages (-e) X + change hostname advertised as (-h, -H) X + specify data port to listen on (-P) X + keep track of the number of users logged in (-q, -Q) X + permanently drop privileges (-r) X + specify version advertised (-V) X + log wu-ftpd style `xferlog' entries to syslog (-X) X X * IPv6 support (from the KAME project). X X * +++ (see README) X X- Anders Nordby <anders@fix.no> END-of-lukemftpd/pkg-descr echo x - lukemftpd/pkg-plist sed 's/^X//' >lukemftpd/pkg-plist << 'END-of-lukemftpd/pkg-plist' Xlibexec/ftpd X%%PORTDOCS%%share/doc/lukemftpd/ChangeLog X%%PORTDOCS%%share/doc/lukemftpd/README X%%PORTDOCS%%share/doc/lukemftpd/THANKS X%%PORTDOCS%%@dirrm share/doc/lukemftpd END-of-lukemftpd/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010412215844.26D753CC8>