diff options
-rw-r--r-- | mail/spamass-milter/Makefile | 4 | ||||
-rw-r--r-- | mail/spamass-milter/files/spamass-milter.sh | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile index 5cee1406223..af43ceb9a51 100644 --- a/mail/spamass-milter/Makefile +++ b/mail/spamass-milter/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2005/08/23 13:40:02 tv Exp $ +# $NetBSD: Makefile,v 1.19 2005/08/23 13:46:37 tv Exp $ # DISTNAME= spamass-milter-0.3.0 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= mail MASTER_SITES= http://savannah.nongnu.org/download/spamass-milt/ diff --git a/mail/spamass-milter/files/spamass-milter.sh b/mail/spamass-milter/files/spamass-milter.sh index 1dc5a045f82..377184ffd15 100644 --- a/mail/spamass-milter/files/spamass-milter.sh +++ b/mail/spamass-milter/files/spamass-milter.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: spamass-milter.sh,v 1.2 2005/08/23 13:40:02 tv Exp $ +# $NetBSD: spamass-milter.sh,v 1.3 2005/08/23 13:46:37 tv Exp $ # # PROVIDE: spamass-milter @@ -18,6 +18,13 @@ command_args="-u nobody -p /var/run/spamass.sock -f" if [ -f /etc/rc.subr ]; then load_rc_config $name + + # hack: put ${spamass_milter_flags} last in args, + # so that "-- ..." spamc flags can be added to the end + # + command_args="${command_args} ${spamass_milter_flags}" + spamass_milter_flags= + run_rc_command "$1" else @ECHO@ -n " ${name}" |