summaryrefslogtreecommitdiffstats
path: root/mail/milter-greylist
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-30 11:55:19 +0000
committerflz <flz@FreeBSD.org>2005-06-30 11:55:19 +0000
commit22898cad366d49df0f18c250fdcb84603da48b52 (patch)
tree44972cef7abc188abec1fdbe2602c907f5b6b896 /mail/milter-greylist
parent73ffb5b1bfb48a9d6534ea754f616f709d0f4b45 (diff)
downloadFreeBSD-ports-22898cad366d49df0f18c250fdcb84603da48b52.zip
FreeBSD-ports-22898cad366d49df0f18c250fdcb84603da48b52.tar.gz
- Fix rcNG script.
PR: ports/82259 Submitted by: Andrew McNaughton <andrew@scoop.co.nz> Approved by: maintainer
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r--mail/milter-greylist/Makefile2
-rw-r--r--mail/milter-greylist/files/milter-greylist.in14
-rw-r--r--mail/milter-greylist/files/milter-greylist.sh14
3 files changed, 17 insertions, 13 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index 7860bd8..c30342f 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 ef70855..1552454 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 ef70855..1552454 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"
OpenPOWER on IntegriCloud