Bug 28270 - new port ftp/ncftpd
Summary: new port ftp/ncftpd
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-19 09:30 UTC by jus
Modified: 2001-06-27 14:36 UTC (History)
0 users

See Also:


Attachments
file.shar (4.27 KB, text/plain)
2001-06-19 09:30 UTC, jus
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jus 2001-06-19 09:30:01 UTC
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)
Comment 1 Peter Pentchev 2001-06-19 18:23:59 UTC
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
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2001-06-19 18:32:58 UTC
State Changed
From-To: open->analyzed

Working with the maintainer on this one.. 


Comment 3 Peter Pentchev freebsd_committer freebsd_triage 2001-06-19 18:32:58 UTC
Responsible Changed
From-To: freebsd-ports->roam

I'll take care of this one.
Comment 4 Peter Pentchev freebsd_committer freebsd_triage 2001-06-27 14:35:46 UTC
State Changed
From-To: analyzed->closed

Committed with some cleanup, thanks! 
Next time, please at least run portlint -N, preferably 
something like portlint -a -b -c -t -N, before submitting 
the port :)