aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/postfix-policyd-weight/Makefile3
-rw-r--r--mail/postfix-policyd-weight/distinfo6
-rw-r--r--mail/postfix-policyd-weight/files/policyd-weight.in10
3 files changed, 12 insertions, 7 deletions
diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile
index 96f3dd37c364..674bac6e77ff 100644
--- a/mail/postfix-policyd-weight/Makefile
+++ b/mail/postfix-policyd-weight/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= policyd-weight
-PORTVERSION= 0.1.14
+PORTVERSION= 0.1.14.3
+
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/
PKGNAMEPREFIX= postfix-
diff --git a/mail/postfix-policyd-weight/distinfo b/mail/postfix-policyd-weight/distinfo
index 0de221554bd0..03700b6c4480 100644
--- a/mail/postfix-policyd-weight/distinfo
+++ b/mail/postfix-policyd-weight/distinfo
@@ -1,3 +1,3 @@
-MD5 (policyd-weight-0.1.14.tar.gz) = fb4829a57c8b805fe981ee949a145042
-SHA256 (policyd-weight-0.1.14.tar.gz) = f613986516538575570177af7b3525b6db55301e728ce1b31ad35933148c3a6b
-SIZE (policyd-weight-0.1.14.tar.gz) = 45179
+MD5 (policyd-weight-0.1.14.3.tar.gz) = afa9286a5adc393b63641994bbb78a16
+SHA256 (policyd-weight-0.1.14.3.tar.gz) = 642d5ca134fe6deeb6e7d7e0147dedcf615c8e4d3b4d7d848f1a0ff023a67b50
+SIZE (policyd-weight-0.1.14.3.tar.gz) = 49105
diff --git a/mail/postfix-policyd-weight/files/policyd-weight.in b/mail/postfix-policyd-weight/files/policyd-weight.in
index 1880fd2f670f..e592a7263b0c 100644
--- a/mail/postfix-policyd-weight/files/policyd-weight.in
+++ b/mail/postfix-policyd-weight/files/policyd-weight.in
@@ -16,6 +16,7 @@
name="policyd-weight"
rcvar=policyd_weight_enable
+start_cmd=policyd_weight_start
stop_cmd=policyd_weight_stop
# defaults
@@ -28,13 +29,16 @@ case "$policyd_weight_enable" in
*) echo "To make use of $name set $rcvar=\"YES\" in /etc/rc.conf" ;;
esac
-policyd_weight_progname="/usr/local/libexec/postfix/policyd-weight"
-command=/usr/local/libexec/postfix/policyd-weight
+command="/usr/local/libexec/postfix/policyd-weight"
pidfile=/var/run/policyd-weight.pid
+policyd_weight_start() {
+ /usr/local/libexec/postfix/policyd-weight start
+}
+
policyd_weight_stop() {
echo "Stopping $name"
- $policyd_weight_progname stop
+ /usr/local/libexec/postfix/policyd-weight stop
}
run_rc_command "$1"