aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-30 04:07:03 +0800
committerpav <pav@FreeBSD.org>2004-07-30 04:07:03 +0800
commitaaa6c793d4956b6d2ae1023b9afc830de8c5e60d (patch)
tree13366ed313b29ee4bd5070690fb9dc2919ef711c /mail
parent820509993b9986447d2f7732ca08daa01d9198c1 (diff)
downloadfreebsd-ports-gnome-aaa6c793d4956b6d2ae1023b9afc830de8c5e60d.tar.gz
freebsd-ports-gnome-aaa6c793d4956b6d2ae1023b9afc830de8c5e60d.tar.zst
freebsd-ports-gnome-aaa6c793d4956b6d2ae1023b9afc830de8c5e60d.zip
- Update rc script to conform latest localpkg changes
PR: ports/69698 Submitted by: Cyril Guibourg <aragorn+ports@teaser.fr> (maintainer)
Diffstat (limited to 'mail')
-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%%