1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
$NetBSD: patch-aq,v 1.6 2005/11/13 22:48:32 heinz Exp $
--- README.orig Wed Sep 14 04:07:32 2005
+++ README
@@ -99,18 +99,18 @@ Mail::SpamAssassin::Conf class (run the
the standard defaults that people use. There is an explanation of all the
default locations that SpamAssassin will look at the end.
- - /usr/share/spamassassin/*.cf:
+ - @@PREFIX@@/share/spamassassin/*.cf:
Distributed configuration files, with all defaults. Do not modify
these, as they are overwritten when you upgrade.
- - /etc/mail/spamassassin/*.cf:
+ - @PKG_SYSCONFDIR@/*.cf:
Site config files, for system admins to create, modify, and
add local rules and scores to. Modifications here will be
appended to the config loaded from the above directory.
- - /etc/mail/spamassassin/*.pre:
+ - @PKG_SYSCONFDIR@/*.pre:
Plugin control files, installed from the distribution. These are
used to control what plugins are loaded. Modifications here will
@@ -119,22 +119,22 @@ default locations that SpamAssassin will
You want to modify these files if you want to load additional
plugins, or inhibit loading a plugin that is enabled by default.
- If the files exist in /etc/mail/spamassassin, they will not
+ If the files exist in @PKG_SYSCONFDIR@, they will not
be overwritten during future installs.
- - /usr/share/spamassassin/user_prefs.template:
+ - @@PREFIX@@/share/spamassassin/user_prefs.template:
Distributed default user preferences. Do not modify this, as it is
overwritten when you upgrade.
- - /etc/mail/spamassassin/user_prefs.template:
+ - @PKG_SYSCONFDIR@/user_prefs.template:
Default user preferences, for system admins to create, modify, and
set defaults for users' preferences files. Takes precedence over
the above prefs file, if it exists.
Do not put system-wide settings in here; put them in a file in the
- "/etc/mail/spamassassin" directory ending in ".cf". This file is
+ "@PKG_SYSCONFDIR@" directory ending in ".cf". This file is
just a template, which will be copied to a user's home directory
for them to change.
@@ -187,6 +187,12 @@ These are:
/usr/local /usr/local/share/spamassassin /etc/mail/spamassassin
/opt/$DIR /opt/$DIR/share/spamassassin /etc/opt/mail/spamassassin
$DIR $DIR/share/spamassassin $DIR/etc/mail/spamassassin
+
+(Pkgsrc note: the pkgsrc build process used the following path names
+ __prefix__: @@PREFIX@@
+ __def_rules_dir__: @@PREFIX@@/share/spamassassin
+ __local_rules_dir__: @PKG_SYSCONFDIR@
+)
The files themselves are then looked for in these paths:
|