aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-10-20 16:03:11 +0800
committersergei <sergei@FreeBSD.org>2004-10-20 16:03:11 +0800
commit07673ecc0919286b91c629bf1aafe219b58509bf (patch)
tree420574cfd99b5c7e8cef48f6e0b6eef9128975dc /ftp/pure-ftpd
parent4d128e21a4cb4d2250ab4db0a9e1120dcda7218a (diff)
downloadfreebsd-ports-gnome-07673ecc0919286b91c629bf1aafe219b58509bf.tar.gz
freebsd-ports-gnome-07673ecc0919286b91c629bf1aafe219b58509bf.tar.zst
freebsd-ports-gnome-07673ecc0919286b91c629bf1aafe219b58509bf.zip
- Teach the startup script to respect pureftpd_config in rc.conf
(fixes ports/71477) PR: ports/72911 Submitted by: Frank Denis (author and maintainer)
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile2
-rw-r--r--ftp/pure-ftpd/files/pure-ftpd.sh.sample3
2 files changed, 3 insertions, 2 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index 8a92955a2e33..096f8b029cc4 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pure-ftpd
PORTVERSION= 1.0.20
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \
diff --git a/ftp/pure-ftpd/files/pure-ftpd.sh.sample b/ftp/pure-ftpd/files/pure-ftpd.sh.sample
index ddcbee1942ae..80a6f59e5593 100644
--- a/ftp/pure-ftpd/files/pure-ftpd.sh.sample
+++ b/ftp/pure-ftpd/files/pure-ftpd.sh.sample
@@ -16,6 +16,8 @@
name=pureftpd
rcvar=`set_rcvar`
+load_rc_config $name
+
command=%%PREFIX%%/sbin/pure-config.pl
pureftpd_config=${pureftpd_config:-"%%PREFIX%%/etc/pure-ftpd.conf"}
required_files=${pureftpd_config}
@@ -25,5 +27,4 @@ procname=pure-ftpd
pureftpd_enable=${pureftpd_enable:-"NO"}
command_args=${pureftpd_config}
-load_rc_config $name
run_rc_command "$1"