update Wed Jun 16 06:37:00 PDT 2010
[pkgsrc.git] / chat / jabberd2 / patches / patch-ag
1 $NetBSD: patch-ag,v 1.9 2010/06/16 07:56:30 adam Exp $
2
3 --- etc/c2s.xml.in.orig 2010-06-11 11:44:58.000000000 +0000
4 +++ etc/c2s.xml.in
5 @@ -5,7 +5,7 @@
6  
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>
11  
12    <!-- Router connection configuration -->
13    <router>
14 @@ -27,7 +27,7 @@
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. -->
17      <!--
18 -    <pemfile>@sysconfdir@/server.pem</pemfile>
19 +    <pemfile>@SSLCERTS@/server.pem</pemfile>
20      -->
21  
22      <!-- Router connection retry -->
23 @@ -60,7 +60,7 @@
24  
25      <!-- If logging to file, this is the filename of the logfile -->
26      <!--
27 -    <file>@localstatedir@/jabberd/log/c2s.log</file>
28 +    <file>@LOGDIR@/c2s.log</file>
29      -->
30    </log>
31  
32 @@ -136,7 +136,7 @@
33      <id register-enable='true'>localhost.localdomain</id>
34      <!-- or
35      <id realm='company.int'
36 -        pemfile='@sysconfdir@/server.pem'
37 +        pemfile='@SSLCERTS@/server.pem'
38          verify-mode='7'
39          cachain='@sysconfdir@/client_ca_certs.pem'
40          require-starttls='true'
41 @@ -176,7 +176,7 @@
42           use STARTTLS over the standard XMPP port 5222 then you
43           MUST specify the pemfile in the 'id' tag above. -->
44      <!--
45 -    <pemfile>@sysconfdir@/server.pem</pemfile>
46 +    <pemfile>@SSLCERTS@/server.pem</pemfile>
47      -->
48  
49      <!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
50 @@ -329,7 +329,7 @@
51    <stats>
52      <!-- file containing count of packets that went through -->
53      <!--
54 -    <packet>@localstatedir@/jabberd/stats/c2s.packets</packet>
55 +    <packet>@LOGDIR@/c2s.packets</packet>
56      -->
57    </stats>
58  
59 @@ -399,7 +399,7 @@
60      <!-- SQLite driver configuration -->
61      <sqlite>
62        <!-- Database name -->
63 -      <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname>
64 +      <dbname>@DBDIR@/sqlite.db</dbname>
65  
66        <!-- Transacation support. If this is commented out, transactions
67             will be disabled. This might make database accesses faster,
68 @@ -476,7 +476,7 @@
69      <!-- Berkeley DB module configuration -->
70      <db>
71        <!-- Directory to store database files under -->
72 -      <path>@localstatedir@/jabberd/db</path>
73 +      <path>@DBDIR@</path>
74  
75        <!-- Synchronize the database to disk after each write. If you
76             disable this, database accesses may be faster, but data may
77 @@ -604,7 +604,7 @@
78      <!-- Pipe module configuration -->
79      <pipe>
80        <!-- Program to execute -->
81 -      <exec>@bindir@/pipe-auth.pl</exec>
82 +      <exec>@BINDIR@/pipe-auth.pl</exec>
83      </pipe>
84  
85    </authreg>