pkgsrc/net/pure-ftpd/files/pure_ftpd.sh
salo faadf6f444 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
  <dns@netline.com.tr> .
- 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.
2003-07-12 14:43:08 +00:00

18 lines
332 B
Bash

#!@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"