diff options
author | tv <tv@pkgsrc.org> | 2005-08-23 13:46:37 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-08-23 13:46:37 +0000 |
commit | 6639c4ce72fef3addf836439c9a23baa76ac3c1a (patch) | |
tree | b010b2c1b378480ed83f05b03743ff9ca6fca51c /mail/spamass-milter | |
parent | 6eff28a5cec858c9af6d153b83ea442b56c986cf (diff) | |
download | pkgsrc-6639c4ce72fef3addf836439c9a23baa76ac3c1a.tar.gz |
Do the same for the rc.subr case via a backflip hack to munge command_args.
Noted in private e-mail.
Diffstat (limited to 'mail/spamass-milter')
-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}" |