summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-18 00:14:21 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-18 00:14:21 +0000
commita0406bddfbb5d88b4b1c1de57d1167f9910513c8 (patch)
tree4c878a4ae9b4edfe632445fecfd4e3a663db7a49
parent- Unbreak INDEX on amd64/6 (diff)
- Fix the rc.d script
PR: ports/139046 Submitted by: James E Risner <risner@mail.bullard.de> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=248041
-rw-r--r--mail/postgrey/Makefile1
-rw-r--r--mail/postgrey/files/postgrey.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index d1327325819a..1cb211fca6d1 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postgrey
PORTVERSION= 1.32
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/ LOCAL/beech
diff --git a/mail/postgrey/files/postgrey.in b/mail/postgrey/files/postgrey.in
index c64a58ce8095..7e9f56879953 100644
--- a/mail/postgrey/files/postgrey.in
+++ b/mail/postgrey/files/postgrey.in
@@ -33,6 +33,8 @@ stop_postcmd()
# set defaults
+load_rc_config $name
+
postgrey_enable=${postgrey_enable:-"NO"}
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
@@ -40,5 +42,4 @@ postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
pidfile="${postgrey_pidfile}"
-load_rc_config $name
run_rc_command "$1"