summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-ad
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2002-11-06 21:51:26 +0000
committerheinz <heinz@pkgsrc.org>2002-11-06 21:51:26 +0000
commit24d4f258b3b309674c517dcbb74cd00dc1ce7941 (patch)
treefbc226b8ccd401443de1dd828a882d41051129e5 /mail/spamassassin/patches/patch-ad
parent66985773711149490ac9a2529a31727516c40385 (diff)
downloadpkgsrc-24d4f258b3b309674c517dcbb74cd00dc1ce7941.tar.gz
Changed the rc.d script to account for different behaviour of
load_rc_config in NetBSD 1.6. This resolves PR pkg/18928 by Frank Cusack (fcusack at fcusack com). The rc.d script is now called on 'shutdown'. Included fixes from SA CVS repository (2002-10-21) to minimize impact of Razor2 on the environment vector, especially PATH. Bumped PKGREVISION.
Diffstat (limited to 'mail/spamassassin/patches/patch-ad')
-rw-r--r--mail/spamassassin/patches/patch-ad16
1 files changed, 15 insertions, 1 deletions
diff --git a/mail/spamassassin/patches/patch-ad b/mail/spamassassin/patches/patch-ad
index d6527076eed..bf597d76ecd 100644
--- a/mail/spamassassin/patches/patch-ad
+++ b/mail/spamassassin/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.2 2002/10/20 20:09:05 heinz Exp $
+$NetBSD: patch-ad,v 1.3 2002/11/06 21:51:26 heinz Exp $
--- spamd/netbsd-rc-script.sh.orig Thu Sep 26 12:50:26 2002
+++ spamd/netbsd-rc-script.sh
@@ -6,3 +6,17 @@ $NetBSD: patch-ad,v 1.2 2002/10/20 20:09:05 heinz Exp $
-#! /bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
+@@ -13,2 +13,3 @@
+ # BEFORE: mail
++# KEYWORD: shutdown
+
+@@ -34,6 +35,6 @@
+ # default values, may be overridden by setting them in /etc/rc.conf
+-spamd_flags="-H -c -a"
+-spamd=NO
++spamd_flags=${spamd_flags-"-H -c -a"}
++spamd=${spamd:-NO}
+
+-INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@
++INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@ # set during package build
+