summaryrefslogtreecommitdiff
path: root/chat/jabberd2/patches/patch-ag
blob: 9adff9f72023cddaa996e54dea8ff3eab4bbd7c9 (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-ag,v 1.2 2004/07/14 00:25:11 xtraeme Exp $

--- etc/c2s.xml.in.orig	2004-07-13 18:56:31.000000000 +0200
+++ etc/c2s.xml.in	2004-07-13 18:58:39.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>
@@ -23,7 +23,7 @@
          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 -->
@@ -56,7 +56,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>
 
@@ -88,7 +88,7 @@
          connections. If this is commented out, clients will not be
          offered the STARTTLS stream extension -->
     <!--
-    <pemfile>@sysconfdir@/server.pem</pemfile>
+    <pemfile>@SSLCERTS@/server.pem</pemfile>
     -->
 
     <!-- Require STARTTLS. If this is enabled, clients must do STARTTLS
@@ -289,7 +289,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
@@ -342,7 +342,7 @@
     <!-- Pipe module configuration -->
     <pipe>
       <!-- Program to execute -->
-      <exec>@bindir@/pipe-auth.pl</exec>
+      <exec>@BINDIR@/pipe-auth.pl</exec>
     </pipe>
 
   </authreg>