initial import of p5-Net-FTPServer-1.119
-- Major features of Net::FTPServer include: * Feature parity with wu-ftpd. * IP-based and IP-less virtual hosting. * Virtual filesystem allows the FTP server to serve files from a SQL database. * Configurable and extensible in Perl. * <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. * 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.
This commit is contained in:
parent
a2bb11355d
commit
0393bc1691
35
net/p5-Net-FTPServer/Makefile
Normal file
35
net/p5-Net-FTPServer/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/01/15 14:21:00 avsm Exp $
|
||||
|
||||
COMMENT= "secure, extensible and configurable Perl FTPd"
|
||||
|
||||
V= 1.119
|
||||
DISTNAME= Net-FTPServer-${V}
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= net perl5
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
||||
|
||||
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= ::archivers/p5-Archive-Zip \
|
||||
::devel/p5-BSD-Resource \
|
||||
::devel/p5-IO-stringy \
|
||||
::databases/p5-DBI \
|
||||
::devel/p5-File-Sync
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
FAKE_FLAGS= NOCONF=1 ${DESTDIRNAME}=${WRKINST}
|
||||
CONFIG_DIR= ${PREFIX}/share/examples/p5-Net-FTPServer
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${CONFIG_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ftpd.conf ${CONFIG_DIR}/ftpd.conf
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/p5-Net-FTPServer/distinfo
Normal file
3
net/p5-Net-FTPServer/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Net-FTPServer-1.119.tar.gz) = 8e1779270e4f8e00a0f88e1b830bcd29
|
||||
RMD160 (Net-FTPServer-1.119.tar.gz) = 86bf425526998216f36ac6064672b0cbb6f3901e
|
||||
SHA1 (Net-FTPServer-1.119.tar.gz) = 28d74bcbd55d169711f5799782a0d651fa9fd0c2
|
22
net/p5-Net-FTPServer/pkg/DESCR
Normal file
22
net/p5-Net-FTPServer/pkg/DESCR
Normal file
@ -0,0 +1,22 @@
|
||||
Major features of Net::FTPServer include:
|
||||
|
||||
* Feature parity with wu-ftpd.
|
||||
* IP-based and IP-less virtual hosting.
|
||||
* Virtual filesystem allows the FTP server to serve files from a
|
||||
SQL database.
|
||||
* Configurable and extensible in Perl.
|
||||
* <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.
|
||||
* 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.
|
64
net/p5-Net-FTPServer/pkg/INSTALL
Normal file
64
net/p5-Net-FTPServer/pkg/INSTALL
Normal file
@ -0,0 +1,64 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2004/01/15 14:21:00 avsm Exp $
|
||||
#
|
||||
# Pre/post-installation setup of p5-Net-FTPServer
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/ftpd.conf
|
||||
SAMPLE_CONFIG_FILE=$PREFIX/share/examples/p5-Net-FTPServer/ftpd.conf
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 config file, $CONFIG_FILE,"
|
||||
echo "| has NOT been changed. You may want to compare it to the"
|
||||
echo "| current sample file, $SAMPLE_CONFIG_FILE,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_FILE $CONFIG_FILE
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration file, $CONFIG_FILE,"
|
||||
echo "| has been installed. Please view this file and change"
|
||||
echo "| the configuration to meet your needs."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -f $CONFIG_FILE ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
56
net/p5-Net-FTPServer/pkg/PLIST
Normal file
56
net/p5-Net-FTPServer/pkg/PLIST
Normal file
@ -0,0 +1,56 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/01/15 14:21:00 avsm Exp $
|
||||
bin/dbeg1-ftpd.pl
|
||||
bin/ftpd.pl
|
||||
bin/inmem-ftpd.pl
|
||||
bin/proxy-ftpd.pl
|
||||
bin/ro-ftpd.pl
|
||||
${P5SITE}/Net/FTPServer.pm
|
||||
${P5SITE}/Net/FTPServer/DBeg1/DirHandle.pm
|
||||
${P5SITE}/Net/FTPServer/DBeg1/FileHandle.pm
|
||||
${P5SITE}/Net/FTPServer/DBeg1/IOBlob.pm
|
||||
${P5SITE}/Net/FTPServer/DBeg1/Server.pm
|
||||
${P5SITE}/Net/FTPServer/DirHandle.pm
|
||||
${P5SITE}/Net/FTPServer/FileHandle.pm
|
||||
${P5SITE}/Net/FTPServer/Full/DirHandle.pm
|
||||
${P5SITE}/Net/FTPServer/Full/FileHandle.pm
|
||||
${P5SITE}/Net/FTPServer/Full/Server.pm
|
||||
${P5SITE}/Net/FTPServer/Handle.pm
|
||||
${P5SITE}/Net/FTPServer/InMem/DirHandle.pm
|
||||
${P5SITE}/Net/FTPServer/InMem/FileHandle.pm
|
||||
${P5SITE}/Net/FTPServer/InMem/Server.pm
|
||||
${P5SITE}/Net/FTPServer/Proxy/DirHandle.pm
|
||||
${P5SITE}/Net/FTPServer/Proxy/FileHandle.pm
|
||||
${P5SITE}/Net/FTPServer/Proxy/Server.pm
|
||||
${P5SITE}/Net/FTPServer/RO/DirHandle.pm
|
||||
${P5SITE}/Net/FTPServer/RO/FileHandle.pm
|
||||
${P5SITE}/Net/FTPServer/RO/Server.pm
|
||||
man/man3p/Net::FTPServer.3p
|
||||
man/man3p/Net::FTPServer::DBeg1::DirHandle.3p
|
||||
man/man3p/Net::FTPServer::DBeg1::FileHandle.3p
|
||||
man/man3p/Net::FTPServer::DBeg1::IOBlob.3p
|
||||
man/man3p/Net::FTPServer::DBeg1::Server.3p
|
||||
man/man3p/Net::FTPServer::DirHandle.3p
|
||||
man/man3p/Net::FTPServer::FileHandle.3p
|
||||
man/man3p/Net::FTPServer::Full::DirHandle.3p
|
||||
man/man3p/Net::FTPServer::Full::FileHandle.3p
|
||||
man/man3p/Net::FTPServer::Full::Server.3p
|
||||
man/man3p/Net::FTPServer::Handle.3p
|
||||
man/man3p/Net::FTPServer::InMem::DirHandle.3p
|
||||
man/man3p/Net::FTPServer::InMem::FileHandle.3p
|
||||
man/man3p/Net::FTPServer::InMem::Server.3p
|
||||
man/man3p/Net::FTPServer::Proxy::DirHandle.3p
|
||||
man/man3p/Net::FTPServer::Proxy::FileHandle.3p
|
||||
man/man3p/Net::FTPServer::Proxy::Server.3p
|
||||
man/man3p/Net::FTPServer::RO::DirHandle.3p
|
||||
man/man3p/Net::FTPServer::RO::FileHandle.3p
|
||||
man/man3p/Net::FTPServer::RO::Server.3p
|
||||
share/examples/p5-Net-FTPServer/ftpd.conf
|
||||
@dirrm share/examples/p5-Net-FTPServer
|
||||
@dirrm ${P5SITE}/Net/FTPServer/RO
|
||||
@dirrm ${P5SITE}/Net/FTPServer/Proxy
|
||||
@dirrm ${P5SITE}/Net/FTPServer/InMem
|
||||
@dirrm ${P5SITE}/Net/FTPServer/Full
|
||||
@dirrm ${P5SITE}/Net/FTPServer/DBeg1
|
||||
@dirrm ${P5SITE}/Net/FTPServer
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra ftpd.conf
|
Loading…
Reference in New Issue
Block a user