summaryrefslogtreecommitdiff
path: root/chat/jabberd2/patches/patch-ae
blob: 25ef6fdf3e2ff37c6360d5e7b18b6358abc4164a (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
$NetBSD: patch-ae,v 1.5 2009/08/21 02:28:13 schnoebe Exp $

--- etc/router.xml.in.orig	2008-07-16 04:36:58.000000000 -0500
+++ etc/router.xml.in
@@ -5,7 +5,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/router.pid</pidfile>
+  <pidfile>@PIDDIR@/router.pid</pidfile>
 
   <!-- Log configuration - type is "syslog", "file" or "stdout" -->
   <log type='syslog'>
@@ -18,7 +18,7 @@
 
     <!-- If logging to file, this is the filename of the logfile -->
     <!--
-    <file>@localstatedir@/jabberd/log/router.log</file>
+    <file>@LOGDIR@/router.log</file>
     -->
   </log>
 
@@ -33,7 +33,7 @@
     <!-- File containing the user table. This is where the router gets
          its component and secret information from for component
          authentication.-->
-    <users>@sysconfdir@/router-users.xml</users>
+    <users>@PKG_SYSCONFDIR@/router-users.xml</users>
 
     <!-- Shared secret used to identify XEP-0114 components (that is,
          "jabber:component:accept" components that authenticate using
@@ -52,7 +52,7 @@
          If this is commented out, connecting components will not be able
          to request an SSL-encrypted channel. -->
     <!--
-    <pemfile>@sysconfdir@/server.pem</pemfile>
+    <pemfile>@SSLCERTS@/server.pem</pemfile>
     -->
   </local>
 
@@ -191,7 +191,7 @@
 
     <!-- File containing packet filter rules.
          May be used for fine grained packet routing control. -->
-    <filter>@sysconfdir@/router-filter.xml</filter>
+    <filter>@PKG_SYSCONFDIR@/router-filter.xml</filter>
 
   </aci>