Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 10:30:05 -0700 (PDT)
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28270: new port ftp/ncftpd
Message-ID:  <200106191730.f5JHU5K48485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/28270; it has been noted by GNATS.

From: Peter Pentchev <roam@orbitel.bg>
To: jus@security.za.net
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/28270: new port ftp/ncftpd
Date: Tue, 19 Jun 2001 20:23:59 +0300

 On Tue, Jun 19, 2001 at 10:21:38AM +0200, jus@security.za.net wrote:
 > 
 > >Number:         28270
 > >Category:       ports
 > >Synopsis:       new port ftp/ncftpd
 > >Originator:     Justin Stanford
 > >Organization:
 > SZN 
 > 	
 > >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:
 > 
 [snip]
 > 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
 
 This would probably be better as
 
 DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd4.2-${ARCH}-export.tar.gz
 
 ..just in case the port version changes, or ncftpd starts supporting
 other platforms :)
 
 > 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
 [snip]
 > X
 > Xpost-install:
 > X		${MKDIR} ${PREFIX}/share/doc/ncftpd
 > X		${INSTALL_MAN} ${WRKSRC}/README.freebsd ${PREFIX}/share/doc/ncftpd
 
 Which indent, one or two tabs? :)  Make up your mind :P
 
 > 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        ;;
 
 This might be put in an 'if' statement, or at least split in
 an 80-columns-friendly way..
 
 Other than that, thanks for your submission!  ncftpd is a great FTP
 server indeed.
 
 G'luck,
 Peter
 
 -- 
 The rest of this sentence is written in Thailand, on

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?200106191730.f5JHU5K48485>