summaryrefslogtreecommitdiff
path: root/chat/jabberd2/patches/patch-ag
blob: 2bd8673028ac00e4548b9d57286375764fa659cb (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
$NetBSD: patch-ag,v 1.4 2007/05/26 11:50:13 xtraeme Exp $

--- etc/c2s.xml.in.orig	2007-05-26 12:07:39.000000000 +0200
+++ etc/c2s.xml.in	2007-05-26 12:09:13.000000000 +0200
@@ -6,7 +6,7 @@
   <!-- The process ID file. comment this out if you don't need to know
        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>
@@ -28,7 +28,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 -->
@@ -61,7 +61,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>
 
@@ -109,7 +109,7 @@
     <id register-enable='true'>localhost</id>
     <!-- or
     <id realm='company'
-        pemfile='/usr/local/etc/jabberd/server.pem'
+	pemfile='@SSLCERTS@/server.pem'
         verify-mode='7'
         require-starttls='true'
         register-enable='true'
@@ -142,7 +142,7 @@
          If this is commented out, clients will not be offered
          the STARTTLS stream extension -->
     <!--
-    <pemfile>@sysconfdir@/server.pem</pemfile>
+    <pemfile>@SSLCERTS@/server.pem</pemfile>
     -->
 
     <!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
@@ -339,7 +339,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
@@ -403,13 +403,13 @@
     <!-- Pipe module configuration -->
     <pipe>
       <!-- Program to execute -->
-      <exec>@bindir@/pipe-auth.pl</exec>
+      <exec>@BINDIR@/pipe-auth.pl</exec>
     </pipe>
 
     <!-- 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,