aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/milter-greylist/Makefile1
-rw-r--r--mail/milter-greylist/files/milter-greylist.in16
-rw-r--r--mail/milter-greylist/files/milter-greylist.sh16
3 files changed, 17 insertions, 16 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index f14c6fa4b8ce..462cc2e0cc98 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -7,6 +7,7 @@
PORTNAME= milter-greylist
PORTVERSION= 1.5.3
+PORTREVISION= 1
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 45cda90666d2..ef708559081f 100644
--- a/mail/milter-greylist/files/milter-greylist.in
+++ b/mail/milter-greylist/files/milter-greylist.in
@@ -8,18 +8,18 @@
# Define these miltergreylist_* variables in one of these files:
# /etc/rc.conf
-# /etc/rc.conf.miltergreylist
+# /etc/rc.conf.local
# /etc/rc.conf.d/miltergreylist
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-miltergreylist_enable="NO"
-miltergreylist_runas="smmsp"
-miltergreylist_pidfile="/var/run/milter-greylist.pid"
-miltergreylist_sockfile="/var/milter-greylist/milter-greylist.sock"
-miltergreylist_cfgfile="%%PREFIX%%/etc/mail/greylist.conf"
-miltergreylist_flags="-P $miltergreylist_pidfile -f $miltergreylist_cfgfile
- -p $miltergreylist_sockfile -u $miltergreylist_runas"
+miltergreylist_enable=${miltergreylist_enable-"NO"}
+miltergreylist_runas=${miltergreylist_runas-"smmsp"}
+miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"}
+miltergreylist_sockfile=${miltergreylist_sockfile-"/var/milter-greylist/milter-greylist.sock"}
+miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.conf"}
+miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \
+-f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"}
. %%RC_SUBR%%
diff --git a/mail/milter-greylist/files/milter-greylist.sh b/mail/milter-greylist/files/milter-greylist.sh
index 45cda90666d2..ef708559081f 100644
--- a/mail/milter-greylist/files/milter-greylist.sh
+++ b/mail/milter-greylist/files/milter-greylist.sh
@@ -8,18 +8,18 @@
# Define these miltergreylist_* variables in one of these files:
# /etc/rc.conf
-# /etc/rc.conf.miltergreylist
+# /etc/rc.conf.local
# /etc/rc.conf.d/miltergreylist
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-miltergreylist_enable="NO"
-miltergreylist_runas="smmsp"
-miltergreylist_pidfile="/var/run/milter-greylist.pid"
-miltergreylist_sockfile="/var/milter-greylist/milter-greylist.sock"
-miltergreylist_cfgfile="%%PREFIX%%/etc/mail/greylist.conf"
-miltergreylist_flags="-P $miltergreylist_pidfile -f $miltergreylist_cfgfile
- -p $miltergreylist_sockfile -u $miltergreylist_runas"
+miltergreylist_enable=${miltergreylist_enable-"NO"}
+miltergreylist_runas=${miltergreylist_runas-"smmsp"}
+miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"}
+miltergreylist_sockfile=${miltergreylist_sockfile-"/var/milter-greylist/milter-greylist.sock"}
+miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.conf"}
+miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \
+-f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"}
. %%RC_SUBR%%