diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-01 23:39:44 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-01 23:39:44 +0000 |
commit | 933e228f47f6a11b9b9ac15423f716d4a78534ae (patch) | |
tree | 110182f54668c21dd4709d8d4b34d6b7724987c9 | |
parent | 4dd6c4c5fcf117c82e2c0f47f87a0ebd5fdd1b96 (diff) | |
download | ports-933e228f47f6a11b9b9ac15423f716d4a78534ae.tar.gz ports-933e228f47f6a11b9b9ac15423f716d4a78534ae.zip |
Notes
-rw-r--r-- | mail/spamass-milter/Makefile | 2 | ||||
-rw-r--r-- | mail/spamass-milter/files/spamass-milter.in | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile index 5471f882ec24..5eced9a2a784 100644 --- a/mail/spamass-milter/Makefile +++ b/mail/spamass-milter/Makefile @@ -7,7 +7,7 @@ PORTNAME= spamass-milter PORTVERSION= 0.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= spamass-milt diff --git a/mail/spamass-milter/files/spamass-milter.in b/mail/spamass-milter/files/spamass-milter.in index f73da3b4a710..e6ce12fd88a8 100644 --- a/mail/spamass-milter/files/spamass-milter.in +++ b/mail/spamass-milter/files/spamass-milter.in @@ -34,6 +34,9 @@ start_postcmd() sleep 1 kill -HUP `head -1 /var/run/sendmail.pid` fi + + /usr/sbin/chown ${spamass_milter_socket_owner}:${spamass_milter_socket_group} ${spamass_milter_socket} + /bin/chmod ${spamass_milter_socket_mode} ${spamass_milter_socket} } stop_postcmd() @@ -50,5 +53,8 @@ load_rc_config $name : ${spamass_milter_enable="NO"} : ${spamass_milter_socket="/var/run/spamass-milter.sock"} : ${spamass_milter_flags="-f -p ${spamass_milter_socket}"} +: ${spamass_milter_socket_owner="root"} +: ${spamass_milter_socket_group="wheel"} +: ${spamass_milter_socket_mode="644"} run_rc_command "$1" |