2013-09-26 17:14:40 +02:00

34 lines
1.2 KiB
Plaintext

$NetBSD: patch-ae,v 1.13 2007/06/12 21:43:30 heinz Exp $
- pkgsrc sets default paths for rules and configuration data
--- spamd/spamd.raw.orig 2007-04-23 14:15:48.000000000 +0200
+++ spamd/spamd.raw
@@ -2404,8 +2404,9 @@ sub backtrace_handler {
}
sub daemonize {
- # Pretty command line in ps
- $0 = join (' ', $ORIG_ARG0, @ORIG_ARGV) unless would_log("dbg");
+ # no pretty 'ps' command line (easier for pkgsrc rc script)
+ # # Pretty command line in ps
+ # $0 = join (' ', $ORIG_ARG0, @ORIG_ARGV) unless would_log("dbg");
# be a nice daemon and chdir to the root so we don't block any
# unmount attempts
@@ -2664,12 +2665,12 @@ Create user preferences files if they do
=item B<-C> I<path>, B<--configpath>=I<path>
Use the specified path for locating the distributed configuration files.
-Ignore the default directories (usually C</usr/share/spamassassin> or similar).
+Ignore the default directories (usually C<@@DEF_RULES_DIR@@> or similar).
=item B<--siteconfigpath>=I<path>
Use the specified path for locating site-specific configuration files. Ignore
-the default directories (usually C</etc/mail/spamassassin> or similar).
+the default directories (usually C<@@LOCAL_RULES_DIR@@> or similar).
=item B<--cf='config line'>