1 $NetBSD: patch-ac,v 1.7 2010/06/16 07:56:30 adam Exp $
3 --- etc/sm.xml.in.orig 2010-06-11 11:44:58.000000000 +0000
7 <!-- The process ID file. Comment this out if you don't need to know
8 the process ID from outside the process (eg for control scripts) -->
9 - <pidfile>@localstatedir@/jabberd/pid/sm.pid</pidfile>
10 + <pidfile>@PIDDIR@/sm.pid</pidfile>
12 <!-- Router connection configuration -->
15 If this is commented out, or the file can't be read, no attempt
16 will be made to establish an encrypted channel with the router. -->
18 - <pemfile>@sysconfdir@/server.pem</pemfile>
19 + <pemfile>@SSLCERTS@/server.pem</pemfile>
22 <!-- Router connection retry -->
25 <!-- If logging to file, this is the filename of the logfile -->
27 - <file>@localstatedir@/jabberd/log/sm.log</file>
28 + <file>@LOGDIR@/sm.log</file>
33 <!-- SQLite driver configuration -->
35 <!-- Database name -->
36 - <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname>
37 + <dbname>@DBDIR@/sqlite.db</dbname>
39 <!-- Transacation support. If this is commented out, transactions
40 will be disabled. This might make database accesses faster,
42 implementation does not implement the 'count' callback). -->
44 <!-- Directory to store database files under -->
45 - <path>@localstatedir@/jabberd/db</path>
46 + <path>@DBDIR@</path>
48 <!-- Synchronize the database to disk after each write. If you
49 disable this, database accesses may be faster, but data may
51 <!-- Filesystem driver configuration -->
53 <!-- Directory to store database files under. -->
54 - <path>@localstatedir@/lib/jabberd2/fs</path>
55 + <path>@DBDIR@/fs</path>
58 <!-- LDAPVCARD driver configuration -->
60 stored in the users data store when they are created. -->
61 <!-- If you defined publish, you should comment-out <roster> -->
63 - <roster>@sysconfdir@/templates/roster.xml</roster>
64 + <roster>@PKG_SYSCONFDIR@/roster.xml</roster>