1 $NetBSD: patch-ag,v 1.9 2010/06/16 07:56:30 adam Exp $
3 --- etc/c2s.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/c2s.pid</pidfile>
10 + <pidfile>@PIDDIR@/c2s.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/c2s.log</file>
28 + <file>@LOGDIR@/c2s.log</file>
33 <id register-enable='true'>localhost.localdomain</id>
35 <id realm='company.int'
36 - pemfile='@sysconfdir@/server.pem'
37 + pemfile='@SSLCERTS@/server.pem'
39 cachain='@sysconfdir@/client_ca_certs.pem'
40 require-starttls='true'
42 use STARTTLS over the standard XMPP port 5222 then you
43 MUST specify the pemfile in the 'id' tag above. -->
45 - <pemfile>@sysconfdir@/server.pem</pemfile>
46 + <pemfile>@SSLCERTS@/server.pem</pemfile>
49 <!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
52 <!-- file containing count of packets that went through -->
54 - <packet>@localstatedir@/jabberd/stats/c2s.packets</packet>
55 + <packet>@LOGDIR@/c2s.packets</packet>
60 <!-- SQLite driver configuration -->
62 <!-- Database name -->
63 - <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname>
64 + <dbname>@DBDIR@/sqlite.db</dbname>
66 <!-- Transacation support. If this is commented out, transactions
67 will be disabled. This might make database accesses faster,
69 <!-- Berkeley DB module configuration -->
71 <!-- Directory to store database files under -->
72 - <path>@localstatedir@/jabberd/db</path>
73 + <path>@DBDIR@</path>
75 <!-- Synchronize the database to disk after each write. If you
76 disable this, database accesses may be faster, but data may
78 <!-- Pipe module configuration -->
80 <!-- Program to execute -->
81 - <exec>@bindir@/pipe-auth.pl</exec>
82 + <exec>@BINDIR@/pipe-auth.pl</exec>