diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-11 12:32:29 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-11 12:32:29 +0800 |
commit | a98f341f56bec9b4a1ab61439119dad820186cdb (patch) | |
tree | 36c4cad72b4621b68ef585b795c8dc2a020e6d54 /ftp/p5-Net-FTPServer | |
parent | 7737ff536d1da2200c595d7dba9c9861a702fc4b (diff) | |
download | freebsd-ports-gnome-a98f341f56bec9b4a1ab61439119dad820186cdb.tar.gz freebsd-ports-gnome-a98f341f56bec9b4a1ab61439119dad820186cdb.tar.zst freebsd-ports-gnome-a98f341f56bec9b4a1ab61439119dad820186cdb.zip |
- update to version 1.026
- take over as maintainer from ports@
- use SITE_PERL for readability
- install the ftpd, sample conf, docs
- shorten pkg-descr to please portlint
- add WWW:
- sort pkg-plist
PR: 29618
Submitted by: Pete Fritchman <petef@databits.net> (new maintainer)
Diffstat (limited to 'ftp/p5-Net-FTPServer')
-rw-r--r-- | ftp/p5-Net-FTPServer/Makefile | 30 | ||||
-rw-r--r-- | ftp/p5-Net-FTPServer/distinfo | 2 | ||||
-rw-r--r-- | ftp/p5-Net-FTPServer/pkg-descr | 18 | ||||
-rw-r--r-- | ftp/p5-Net-FTPServer/pkg-plist | 59 |
4 files changed, 69 insertions, 40 deletions
diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile index 0aeabeca92a8..d6669c10d20e 100644 --- a/ftp/p5-Net-FTPServer/Makefile +++ b/ftp/p5-Net-FTPServer/Makefile @@ -7,22 +7,24 @@ # PORTNAME= Net-FTPServer -PORTVERSION= 1.0.23 +PORTVERSION= 1.026 CATEGORIES= ftp perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= petef@databits.net -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Authen/PAM.pm:${PORTSDIR}/security/p5-Authen-PAM \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Authen/PAM.pm:${PORTSDIR}/security/p5-Authen-PAM \ + ${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource \ + ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ + ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${SITE_PERL}/${PERL_ARCH}/File/Sync.pm:${PORTSDIR}/devel/p5-File-Sync \ + ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy RUN_DEPENDS= ${BUILD_DEPENDS} USE_PERL5= yes +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} @@ -44,4 +46,18 @@ MAN3= Net::FTPServer.3 \ Net::FTPServer::RO::FileHandle.3 \ Net::FTPServer::RO::Server.3 +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ftpd ${PREFIX}/sbin/perlftpd + @${MKDIR} ${PREFIX}/share/examples/Net-FTPServer + ${INSTALL_DATA} ${WRKSRC}/ftpd.conf \ + ${PREFIX}/share/examples/Net-FTPServer +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in FAQ README TODO doc/* + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + @${PERL} -pi -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> diff --git a/ftp/p5-Net-FTPServer/distinfo b/ftp/p5-Net-FTPServer/distinfo index 1a55f38f86f9..aca8523948ee 100644 --- a/ftp/p5-Net-FTPServer/distinfo +++ b/ftp/p5-Net-FTPServer/distinfo @@ -1 +1 @@ -MD5 (Net-FTPServer-1.0.23.tar.gz) = 4a433f01785ed2abfb5585095543abb1 +MD5 (Net-FTPServer-1.026.tar.gz) = fcbcac0321c664c8701fa866db567bc2 diff --git a/ftp/p5-Net-FTPServer/pkg-descr b/ftp/p5-Net-FTPServer/pkg-descr index 601e4c8601cf..7793a46b66b0 100644 --- a/ftp/p5-Net-FTPServer/pkg-descr +++ b/ftp/p5-Net-FTPServer/pkg-descr @@ -1,8 +1,6 @@ -A full-featured, secure, extensible and configurable Perl FTP server - +A full-featured, secure, extensible and configurable Perl FTP server. Major features of Net::FTPServer include: - - * Feature parity with wu-ftpd. + * Feature parity with wu-ftpd, wu-ftpd style aliases and cdpath. * IP-based and IP-less virtual hosting. * Virtual filesystem allows the FTP server to serve files from a SQL database. @@ -10,15 +8,17 @@ Major features of Net::FTPServer include: * <Perl> sections in ftpd.conf file. * Supports all the latest RFCs and Internet Drafts, including MLST, MLSD, FEAT, OPTS, LANG. - * Secure by design and implementation. - * PAM authentication. + * Secure by design and implementation, can run in a chroot jail. + * PAM authentication and anonymous mode. * Resource limits. * Run standalone or from inetd. * Configurable server greetings and welcome messages. - * Anonymous mode. - * Run in chroot jail. * Sophisticated access control rules. - * wu-ftpd style aliases and cdpath. * SITE EXEC (disabled by default). * Syslog logging. * Set TCP parameters. + +WWW: http://search.cpan.org/search?dist=Net-FTPServer + +- Pete +petef@databits.net diff --git a/ftp/p5-Net-FTPServer/pkg-plist b/ftp/p5-Net-FTPServer/pkg-plist index 1fbc00c74772..d3876b7c310f 100644 --- a/ftp/p5-Net-FTPServer/pkg-plist +++ b/ftp/p5-Net-FTPServer/pkg-plist @@ -1,26 +1,39 @@ -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/DBeg1/FileHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/DBeg1/IOBlob.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/DBeg1/DirHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/DBeg1/Server.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/Full/DirHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/Full/Server.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/Full/FileHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/InMem/Server.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/InMem/FileHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/InMem/DirHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/RO/FileHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/RO/Server.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/RO/DirHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/DirHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/FileHandle.pm -lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/Handle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/DBeg1/DirHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/DBeg1/FileHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/DBeg1/IOBlob.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/DBeg1/Server.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/DirHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/FileHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/Full/DirHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/Full/FileHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/Full/Server.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/Handle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/InMem/DirHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/InMem/FileHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/InMem/Server.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/RO/DirHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/RO/FileHandle.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/RO/Server.pm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/FTPServer/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/DBeg1 -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/Full -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/InMem -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer/RO -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Net/FTPServer +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/FTPServer/FTPServer.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/FTPServer/FTPServer.so +sbin/perlftpd +%%PORTDOCS%%share/doc/Net-FTPServer/FAQ +%%PORTDOCS%%share/doc/Net-FTPServer/README +%%PORTDOCS%%share/doc/Net-FTPServer/TODO +%%PORTDOCS%%share/doc/Net-FTPServer/eg1-psql63.sql +%%PORTDOCS%%share/doc/Net-FTPServer/eg1.sql +%%PORTDOCS%%share/doc/Net-FTPServer/rfcs.txt +%%PORTDOCS%%share/doc/Net-FTPServer/safesignals.txt +%%PORTDOCS%%@dirrm share/doc/Net-FTPServer +share/examples/Net-FTPServer/ftpd.conf +@dirrm share/examples/Net-FTPServer @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/FTPServer -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/RO +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/InMem +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/Full +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer/DBeg1 +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/FTPServer +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true |