diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-06-30 11:55:19 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-06-30 11:55:19 +0000 |
commit | 5368811e5d3e4b930af3b700cb4dcb303df0e2b8 (patch) | |
tree | d24f884c1f1e5709f92e59c9c09679af08d4dc58 /mail | |
parent | 4f7c53410571b07ffcd5286ff669ea3bb81ae51f (diff) |
- Fix rcNG script.
PR: ports/82259
Submitted by: Andrew McNaughton <andrew@scoop.co.nz>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=138233
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-greylist/Makefile | 2 | ||||
-rw-r--r-- | mail/milter-greylist/files/milter-greylist.in | 14 | ||||
-rw-r--r-- | mail/milter-greylist/files/milter-greylist.sh | 14 |
3 files changed, 17 insertions, 13 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile index 7860bd8a8d55..c30342f09b1e 100644 --- a/mail/milter-greylist/Makefile +++ b/mail/milter-greylist/Makefile @@ -7,7 +7,7 @@ PORTNAME= milter-greylist PORTVERSION= 1.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ EXTRACT_SUFX= .tgz diff --git a/mail/milter-greylist/files/milter-greylist.in b/mail/milter-greylist/files/milter-greylist.in index ef708559081f..15524546d05d 100644 --- a/mail/milter-greylist/files/milter-greylist.in +++ b/mail/milter-greylist/files/milter-greylist.in @@ -13,6 +13,14 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # + +. %%RC_SUBR%% + +name="miltergreylist" +rcvar=`set_rcvar` + +load_rc_config $name + miltergreylist_enable=${miltergreylist_enable-"NO"} miltergreylist_runas=${miltergreylist_runas-"smmsp"} miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"} @@ -21,12 +29,6 @@ miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.co miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \ -f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"} -. %%RC_SUBR%% - -name="miltergreylist" -rcvar=`set_rcvar` command="%%PREFIX%%/bin/milter-greylist" -load_rc_config $name - run_rc_command "$1" diff --git a/mail/milter-greylist/files/milter-greylist.sh b/mail/milter-greylist/files/milter-greylist.sh index ef708559081f..15524546d05d 100644 --- a/mail/milter-greylist/files/milter-greylist.sh +++ b/mail/milter-greylist/files/milter-greylist.sh @@ -13,6 +13,14 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # + +. %%RC_SUBR%% + +name="miltergreylist" +rcvar=`set_rcvar` + +load_rc_config $name + miltergreylist_enable=${miltergreylist_enable-"NO"} miltergreylist_runas=${miltergreylist_runas-"smmsp"} miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"} @@ -21,12 +29,6 @@ miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.co miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \ -f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"} -. %%RC_SUBR%% - -name="miltergreylist" -rcvar=`set_rcvar` command="%%PREFIX%%/bin/milter-greylist" -load_rc_config $name - run_rc_command "$1" |