From faadf6f4449084fde82603c7755ce8a91f95d0f0 Mon Sep 17 00:00:00 2001 From: salo Date: Sat, 12 Jul 2003 14:43:08 +0000 Subject: Reimported net/pureftpd as net/pure-ftpd to make it more consistent. Updated to version 1.0.15. Addresses PR pkg/21941 by Jon Olsson. Changes: - buildlink2-ify - added PostgreSQL support (PURE_FTPD_USE_PGSQL) - fixed MySQL support (missing bsd.prefs.mk include) 1.0.15: ======= - A turkish translation has been added. Thanks to Mehmet Cokcevik . - Various functional and portability fixes have been made to the handling of upload scripts, to the pure-pw command and to the automatic creation of home directories. - Accounts in a puredb database can now be quickly listed ("pure-pw list"). - The anonymous FTP directory can now be overriden on the Windows port (using a WIN32_ANON_DIR environment variable). - The default banner has been stripped down to look more professionnal (ie. boring). - Transfer speed on BSD systems has been improved. - The license of the whole package has changed from GPL to a simplified BSD license. --- net/pure-ftpd/DESCR | 5 +++++ net/pure-ftpd/MESSAGE | 17 ++++++++++++++++ net/pure-ftpd/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++ net/pure-ftpd/PLIST | 20 ++++++++++++++++++ net/pure-ftpd/distinfo | 4 ++++ net/pure-ftpd/files/pure_ftpd.sh | 18 ++++++++++++++++ 6 files changed, 108 insertions(+) create mode 100644 net/pure-ftpd/DESCR create mode 100644 net/pure-ftpd/MESSAGE create mode 100644 net/pure-ftpd/Makefile create mode 100644 net/pure-ftpd/PLIST create mode 100644 net/pure-ftpd/distinfo create mode 100644 net/pure-ftpd/files/pure_ftpd.sh (limited to 'net/pure-ftpd') diff --git a/net/pure-ftpd/DESCR b/net/pure-ftpd/DESCR new file mode 100644 index 00000000000..58d8e18ba31 --- /dev/null +++ b/net/pure-ftpd/DESCR @@ -0,0 +1,5 @@ +Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant +FTP server based upon Troll-FTPd. It doesn't provide useless bells and +whistles, but focuses on efficiency and ease of use. It provides simple +answers to common needs, plus unique useful features for personal users as +well as hosting providers. diff --git a/net/pure-ftpd/MESSAGE b/net/pure-ftpd/MESSAGE new file mode 100644 index 00000000000..3ea75968e92 --- /dev/null +++ b/net/pure-ftpd/MESSAGE @@ -0,0 +1,17 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ + +To use pure-ftpd, you will need to perform the following steps: + +1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy + ${PREFIX}/etc/rc.d/pure_ftpd to /etc/rc.d/pure_ftpd and add + + pure_ftpd=YES + + to /etc/rc.conf. Other FTP servers should be disabled. + +2. Stop any other running FTP server. Now start pure-ftpd by issuing the + command + + /etc/rc.d/pure_ftpd start +=========================================================================== diff --git a/net/pure-ftpd/Makefile b/net/pure-ftpd/Makefile new file mode 100644 index 00000000000..7b4aba8534a --- /dev/null +++ b/net/pure-ftpd/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ +# + +DISTNAME= pure-ftpd-1.0.15 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pureftpd/} + +MAINTAINER= dawszy@arhea.net +HOMEPAGE= http://www.pureftpd.org/ +COMMENT= FTP daemon with optional SQL support + +USE_BUILDLINK2= YES +USE_PKGINSTALL= YES +GNU_CONFIGURE= YES + +CONFIGURE_ARGS+= --with-sysquotas \ + --with-ftpwho \ + --with-virtualvhosts \ + --with-virtualchroot \ + --with-diraliases \ + --with-ratios \ + --with-throttling \ + --with-altlog \ + --with-puredb \ + --with-quotas + +.include "../../mk/bsd.prefs.mk" + +.if defined(PURE_FTPD_USE_MYSQL) && !empty(PURE_FTPD_USE_MYSQL:M[Yy][Ee][Ss]) +.include "../../databases/mysql-client/buildlink2.mk" +CONFIGURE_ARGS+= --with-mysql +BUILD_DEFS+= PURE_FTPD_USE_MYSQL +.endif + +.if defined(PURE_FTPD_USE_PGSQL) && !empty(PURE_FTPD_USE_PGSQL:M[Yy][Ee][Ss]) +.include "../../databases/postgresql-lib/buildlink2.mk" +CONFIGURE_ARGS+= --with-pgsql +CPPFLAGS+= -I${BUILDLINK_DIR}/include/pgsql +BUILD_DEFS+= PURE_FTPD_USE_PGSQL +.endif + +RCD_SCRIPTS= pure_ftpd + +.include "../../mk/bsd.pkg.mk" diff --git a/net/pure-ftpd/PLIST b/net/pure-ftpd/PLIST new file mode 100644 index 00000000000..d6ebe7c8881 --- /dev/null +++ b/net/pure-ftpd/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ +bin/pure-pw +bin/pure-pwconvert +bin/pure-statsdecode +etc/rc.d/pure_ftpd +man/man8/pure-authd.8 +man/man8/pure-ftpd.8 +man/man8/pure-ftpwho.8 +man/man8/pure-mrtginfo.8 +man/man8/pure-pw.8 +man/man8/pure-pwconvert.8 +man/man8/pure-quotacheck.8 +man/man8/pure-statsdecode.8 +man/man8/pure-uploadscript.8 +sbin/pure-authd +sbin/pure-ftpd +sbin/pure-ftpwho +sbin/pure-mrtginfo +sbin/pure-quotacheck +sbin/pure-uploadscript diff --git a/net/pure-ftpd/distinfo b/net/pure-ftpd/distinfo new file mode 100644 index 00000000000..63d24795c36 --- /dev/null +++ b/net/pure-ftpd/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ + +SHA1 (pure-ftpd-1.0.15.tar.gz) = 301384e4967b325b439235abe661c406d6f036a3 +Size (pure-ftpd-1.0.15.tar.gz) = 495335 bytes diff --git a/net/pure-ftpd/files/pure_ftpd.sh b/net/pure-ftpd/files/pure_ftpd.sh new file mode 100644 index 00000000000..7c378228030 --- /dev/null +++ b/net/pure-ftpd/files/pure_ftpd.sh @@ -0,0 +1,18 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: pure_ftpd.sh,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ +# +# PROVIDE: pure_ftpd +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="pure_ftpd" +help_name="pure-ftpd" +rcvar=$name +command="@PREFIX@/sbin/${help_name}" +command_args="-B" +pidfile="/var/run/${help_name}.pid" + +load_rc_config $name +run_rc_command "$1" -- cgit v1.2.3