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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
$NetBSD: patch-ag,v 1.7 2008/02/20 14:33:04 xtraeme Exp $
--- etc/c2s.xml.in.orig 2008-02-03 08:23:09.000000000 -0600
+++ etc/c2s.xml.in
@@ -5,7 +5,7 @@
<!-- The process ID file. Comment this out if you don't need to know
the process ID from outside the process (eg for control scripts) -->
- <pidfile>@localstatedir@/jabberd/pid/c2s.pid</pidfile>
+ <pidfile>@PIDDIR@/c2s.pid</pidfile>
<!-- Router connection configuration -->
<router>
@@ -27,7 +27,7 @@
If this is commented out, or the file can't be read, no attempt
will be made to establish an encrypted channel with the router. -->
<!--
- <pemfile>@sysconfdir@/server.pem</pemfile>
+ <pemfile>@SSLCERTS@/server.pem</pemfile>
-->
<!-- Router connection retry -->
@@ -60,7 +60,7 @@
<!-- If logging to file, this is the filename of the logfile -->
<!--
- <file>@localstatedir@/jabberd/log/c2s.log</file>
+ <file>@LOGDIR@/c2s.log</file>
-->
</log>
@@ -118,7 +118,7 @@
<id register-enable='true'>localhost.localdomain</id>
<!-- or
<id realm='company.int'
- pemfile='@sysconfdir@/server.pem'
+ pemfile='@SSLCERTS@/server.pem'
verify-mode='7'
require-starttls='true'
register-enable='true'
@@ -157,7 +157,7 @@
use STARTTLS over the standard XMPP port 5222 then you
MUST specify the pemfile in the 'id' tag above. -->
<!--
- <pemfile>@sysconfdir@/server.pem</pemfile>
+ <pemfile>@SSLCERTS@/server.pem</pemfile>
-->
<!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
@@ -284,7 +284,7 @@
<stats>
<!-- file containing count of packets that went through -->
<!--
- <packet>@localstatedir@/jabberd/stats/c2s.packets</packet>
+ <packet>@LOGDIR@/c2s.packets</packet>
-->
</stats>
@@ -393,7 +393,7 @@
<!-- SQLite driver configuration -->
<sqlite>
<!-- Database name -->
- <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname>
+ <dbname>@DBDIR@/sqlite.db</dbname>
<!-- Transacation support. If this is commented out, transactions
will be disabled. This might make database accesses faster,
@@ -407,7 +407,7 @@
<!-- Berkeley DB module configuration -->
<db>
<!-- Directory to store database files under -->
- <path>@localstatedir@/jabberd/db</path>
+ <path>@DBDIR@</path>
<!-- Synchronize the database to disk after each write. If you
disable this, database accesses may be faster, but data may
@@ -535,7 +535,7 @@
<!-- Pipe module configuration -->
<pipe>
<!-- Program to execute -->
- <exec>@bindir@/pipe-auth.pl</exec>
+ <exec>@BINDIR@/pipe-auth.pl</exec>
</pipe>
</authreg>
|