$NetBSD: patch-bc,v 1.3 2008/06/22 22:41:01 heinz Exp $ Both submitted upstream (bug id 5628/5630): - no need for a hard-coded path, the appropriate variables already exist - the documentation conflicts with the code --- sa-compile.raw.orig 2008-06-10 11:21:07.000000000 +0200 +++ sa-compile.raw @@ -684,7 +684,7 @@ Options: --siteconfigpath=path Path for site configs (default: /etc/mail/spamassassin) --updatedir=path Directory to place updates - (default: /var/lib/spamassassin/compiled//) + (default: @@LOCAL_STATE_DIR@@/compiled/@@PERL_MAJOR_VER@@/@@VERSION@@) --cf='config line' Additional line of configuration -D, --debug [area=n,...] Print debugging messages -V, --version Print version @@ -746,12 +746,12 @@ the default directories (usually C will use the system-wide rules update directory: - @@LOCAL_STATE_DIR@@/spamassassin/compiled/@@PERL_MAJOR_VER@@/@@VERSION@@ + @@LOCAL_STATE_DIR@@/compiled/@@PERL_MAJOR_VER@@/@@VERSION@@ If the updates should be stored in another location, specify it here. Note that use of this option is not recommended; if sa-compile is placing the -compiled rules the wrong directory, you probably need to rebuild SpamAssassin +compiled rules in the wrong directory, you probably need to rebuild SpamAssassin with different C arguments, instead of overriding sa-compile's runtime behaviour.