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

--- etc/router.xml.in.orig	2008-01-08 04:23:48.000000000 -0600
+++ 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>
 
@@ -185,6 +185,6 @@
 
   <!-- 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>
 
 </router>