1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- 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)
This commit is contained in:
Ying-Chieh Liao 2001-08-11 04:32:29 +00:00
parent f73b300350
commit 0f33568e6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46056
4 changed files with 69 additions and 40 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (Net-FTPServer-1.0.23.tar.gz) = 4a433f01785ed2abfb5585095543abb1
MD5 (Net-FTPServer-1.026.tar.gz) = fcbcac0321c664c8701fa866db567bc2

View File

@ -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

View File

@ -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