diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-10-20 08:03:11 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-10-20 08:03:11 +0000 |
commit | f4f5e832fcb0ad8858d1466bb1cba2df56cb0e36 (patch) | |
tree | 72a001d9b256ef5166eae9f1c8f7a9c0add4aa71 /ftp/pure-ftpd | |
parent | 9697568af0d34ac5ce665cd94bb3159195e9121d (diff) | |
download | ports-f4f5e832fcb0ad8858d1466bb1cba2df56cb0e36.tar.gz ports-f4f5e832fcb0ad8858d1466bb1cba2df56cb0e36.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)
Notes
Notes:
svn path=/head/; revision=119837
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r-- | ftp/pure-ftpd/Makefile | 2 | ||||
-rw-r--r-- | ftp/pure-ftpd/files/pure-ftpd.sh.sample | 3 |
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" |