summaryrefslogtreecommitdiff
path: root/chat/jabberd2/patches/patch-ac
blob: e9846641a87daad38457abe89e831e8aaae19e11 (plain)
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
$NetBSD: patch-ac,v 1.4 2008/02/20 14:33:04 xtraeme Exp $

--- etc/sm.xml.in.orig	2008-01-08 04:23:48.000000000 -0600
+++ etc/sm.xml.in
@@ -8,7 +8,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/sm.pid</pidfile>
+  <pidfile>@PIDDIR@/sm.pid</pidfile>
 
   <!-- Router connection configuration -->
   <router>
@@ -30,7 +30,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 -->
@@ -63,7 +63,7 @@
 
     <!-- If logging to file, this is the filename of the logfile -->
     <!--
-    <file>@localstatedir@/jabberd/log/sm.log</file>
+    <file>@LOGDIR@/sm.log</file>
     -->
   </log>
 
@@ -152,7 +152,7 @@
     <!-- Berkeley DB driver 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
@@ -177,7 +177,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,
@@ -625,7 +625,7 @@
 
       <!-- If you defined publish, you should comment <roster> -->
       <!--
-      <roster>@sysconfdir@/templates/roster.xml</roster>
+      <roster>@PKG_SYSCONFDIR@/roster.xml</roster>
       -->
     </template>
   </user>