update Wed Jun 16 06:37:00 PDT 2010
[pkgsrc.git] / chat / jabberd2 / patches / patch-ac
1 $NetBSD: patch-ac,v 1.7 2010/06/16 07:56:30 adam Exp $
2
3 --- etc/sm.xml.in.orig  2010-06-11 11:44:58.000000000 +0000
4 +++ etc/sm.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/sm.pid</pidfile>
10 +  <pidfile>@PIDDIR@/sm.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/sm.log</file>
28 +    <file>@LOGDIR@/sm.log</file>
29      -->
30    </log>
31  
32 @@ -114,7 +114,7 @@
33      <!-- SQLite driver configuration -->
34      <sqlite>
35        <!-- Database name -->
36 -      <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname>
37 +      <dbname>@DBDIR@/sqlite.db</dbname>
38  
39        <!-- Transacation support. If this is commented out, transactions
40             will be disabled. This might make database accesses faster,
41 @@ -180,7 +180,7 @@
42           implementation does not implement the 'count' callback). -->
43      <db>
44        <!-- Directory to store database files under -->
45 -      <path>@localstatedir@/jabberd/db</path>
46 +      <path>@DBDIR@</path>
47  
48        <!-- Synchronize the database to disk after each write. If you
49             disable this, database accesses may be faster, but data may
50 @@ -205,7 +205,7 @@
51      <!-- Filesystem driver configuration -->
52      <fs>
53        <!-- Directory to store database files under. -->
54 -      <path>@localstatedir@/lib/jabberd2/fs</path>
55 +      <path>@DBDIR@/fs</path>
56      </fs>
57  
58      <!-- LDAPVCARD driver configuration -->
59 @@ -679,7 +679,7 @@
60             stored in the users data store when they are created. -->
61        <!-- If you defined publish, you should comment-out <roster> -->
62        <!--
63 -      <roster>@sysconfdir@/templates/roster.xml</roster>
64 +      <roster>@PKG_SYSCONFDIR@/roster.xml</roster>
65        -->
66      </template>
67    </user>