Date: Tue, 19 Jun 2001 10:21:38 +0200 From: jus@security.za.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/28270: new port ftp/ncftpd Message-ID: <E15CGlW-0001KB-00@unix.za.net>
next in thread | raw e-mail | index | archive | help
>Number: 28270 >Category: ports >Synopsis: new port ftp/ncftpd >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 19 01:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Justin Stanford >Release: FreeBSD 4.3-STABLE i386 >Organization: SZN >Environment: System: FreeBSD unix.za.net 4.3-STABLE FreeBSD 4.3-STABLE #1: Sun Apr 22 15:38:52 SAST 2001 daniel@unix.za.net:/usr/obj/usr/src/sys/UNIX i386 >Description: new port ftp/ncftpd - A well known commercial FTP daemon that is fast and secure, and supports virtual-hosts. (30 day restrictive license, or 3 simultaneous users only) >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: # # ncftpd # ncftpd/Makefile # ncftpd/scripts # ncftpd/scripts/ncftpd.sh # ncftpd/distinfo # ncftpd/pkg-descr # ncftpd/pkg-comment # ncftpd/pkg-message # ncftpd/pkg-plist # echo c - ncftpd mkdir -p ncftpd > /dev/null 2>&1 echo x - ncftpd/Makefile sed 's/^X//' >ncftpd/Makefile << 'END-of-ncftpd/Makefile' X# New ports collection Makefile for: ncftpd X# Date created: 19 June 2001 X# Whom: Justin Stanford <jus@security.za.net> X# X# $FreeBSD$ X# X XPORTNAME= ncftpd XPORTVERSION= 2.7.0 XCATEGORIES= ftp XMASTER_SITES= ftp://ftp.ncftp.com/ncftpd/ XDISTFILES= ncftpd-2.7.0-freebsd4.2-i386-export.tar.gz X XMAINTAINER= jus@security.za.net X XONLY_FOR_ARCHS= i386 XNO_BUILD= YES XLICENSE= shareware XRESTRICTED= "30 day evaluation license" X X Xdo-install: X ${MKDIR} ${PREFIX}/etc/ncftpd X ${INSTALL_PROGRAM} ${WRKSRC}/ncftpd ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_edquota ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_passwd ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_repquota ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_spy ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/conf/general.cf-dist ${PREFIX}/etc/ncftpd X ${INSTALL_DATA} ${WRKSRC}/conf/domain.cf-dist ${PREFIX}/etc/ncftpd X ${INSTALL_SCRIPT} ${SCRIPTDIR}/ncftpd.sh ${PREFIX}/etc/rc.d X Xpost-install: X ${MKDIR} ${PREFIX}/share/doc/ncftpd X ${INSTALL_MAN} ${WRKSRC}/install.html ${PREFIX}/share/doc/ncftpd X ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/ncftpd X ${INSTALL_MAN} ${WRKSRC}/README.freebsd ${PREFIX}/share/doc/ncftpd X ${INSTALL_MAN} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/ncftpd X ${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-ncftpd/Makefile echo c - ncftpd/scripts mkdir -p ncftpd/scripts > /dev/null 2>&1 echo x - ncftpd/scripts/ncftpd.sh sed 's/^X//' >ncftpd/scripts/ncftpd.sh << 'END-of-ncftpd/scripts/ncftpd.sh' X#!/bin/sh Xargs='/usr/local/etc/ncftpd/general.cf /usr/local/etc/ncftpd/domain.cf' X Xcase "$1" in Xstart) X [ -x /usr/local/sbin/ncftpd ] && /usr/local/sbin/ncftpd -d $args && echo -n ' ncftpd' X ;; Xstop) X killall ncftpd && echo -n ' ncftpd' X ;; X*) X echo "Usage: `basename $0` {start|stop}" >&2 X exit 64 X ;; Xesac X Xexit 0 END-of-ncftpd/scripts/ncftpd.sh echo x - ncftpd/distinfo sed 's/^X//' >ncftpd/distinfo << 'END-of-ncftpd/distinfo' XMD5 (ncftpd-2.7.0-freebsd4.2-i386-export.tar.gz) = 7ba3e5c9f966dcb8ea6a8fff6b2f38a0 END-of-ncftpd/distinfo echo x - ncftpd/pkg-descr sed 's/^X//' >ncftpd/pkg-descr << 'END-of-ncftpd/pkg-descr' XA well known commercial FTP daemon with a restrictive 30-day evaluation license, that is fast, secure, and supports virtual-hosts. X XWWW: http://www.ncftp.com/ncftpd/ X X- jus Xjus@security.za.net END-of-ncftpd/pkg-descr echo x - ncftpd/pkg-comment sed 's/^X//' >ncftpd/pkg-comment << 'END-of-ncftpd/pkg-comment' XA well known commercial FTP daemon with a restrictive 30-day evaluation license. END-of-ncftpd/pkg-comment echo x - ncftpd/pkg-message sed 's/^X//' >ncftpd/pkg-message << 'END-of-ncftpd/pkg-message' XNOTE: This is commercial software that only supplies you with an evaluation license valid for 30 days from the date of installation. Please read the LICENSE in "/usr/local/share/doc/ncftpd" before using this software. X XIf you wish to allow anonymous FTP, an FTP user needs to be created for this purpose. NcFTPd defaults to the users "daemon", "web", or "www" in the absence of an FTP user. For details see the installation help file "/usr/local/share/doc/ncftpd/install.html". X XRemove "-dist" from the filenames of the configuration files in "/usr/local/etc/nftpd" and edit them to suit. END-of-ncftpd/pkg-message echo x - ncftpd/pkg-plist sed 's/^X//' >ncftpd/pkg-plist << 'END-of-ncftpd/pkg-plist' Xsbin/ncftpd Xbin/ncftpd_edquota Xbin/ncftpd_passwd Xbin/ncftpd_repquota Xbin/ncftpd_spy Xshare/doc/ncftpd/README Xshare/doc/ncftpd/README.freebsd Xshare/doc/ncftpd/install.html Xshare/doc/ncftpd/LICENSE X@dirrm share/doc/ncftpd Xetc/rc.d/ncftpd.sh Xetc/ncftpd/general.cf-dist Xetc/ncftpd/domain.cf-dist X@dirrm etc/ncftpd END-of-ncftpd/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?E15CGlW-0001KB-00>