]> git.pld-linux.org Git - packages/jabberd.git/blob - jabberd-default_config.patch
Release 2 (by relup.sh)
[packages/jabberd.git] / jabberd-default_config.patch
1 diff -urNp -x '*.orig' jabberd-2.6.1.org/etc/c2s.xml.dist.in jabberd-2.6.1/etc/c2s.xml.dist.in
2 --- jabberd-2.6.1.org/etc/c2s.xml.dist.in       2016-10-09 11:47:52.000000000 +0200
3 +++ jabberd-2.6.1/etc/c2s.xml.dist.in   2021-10-06 23:07:15.380661414 +0200
4 @@ -5,7 +5,7 @@
5  
6    <!-- The process ID file. Comment this out if you don't need to know
7         the process ID from outside the process (eg for control scripts) -->
8 -  <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
9 +  <pidfile>@localstatedir@/run/jabber/${id}.pid</pidfile>
10  
11    <!-- Router connection configuration -->
12    <router>
13 @@ -60,12 +60,12 @@
14  
15      <!-- If logging to file, this is the filename of the logfile -->
16      <!--
17 -    <file>@localstatedir@/@package@/log/c2s.log</file>
18 +    <file>@localstatedir@/log/jabberd/c2s.log</file>
19      -->
20  
21      <!-- Filename of the debug logfile -->
22      <!--
23 -    <debug>@localstatedir@/@package@/log/debug-${id}.log</debug>
24 +    <debug>@localstatedir@/log/jabberd/debug-${id}.log</debug>
25      -->
26    </log>
27  
28 @@ -348,7 +348,7 @@
29    <stats>
30      <!-- file containing count of packets that went through -->
31      <!--
32 -    <packet>@localstatedir@/@package@/stats/c2s.packets</packet>
33 +    <packet>@localstatedir@/lib/jabberd/stats/c2s.packets</packet>
34      -->
35    </stats>
36  
37 @@ -435,7 +435,7 @@
38      <!-- SQLite driver configuration -->
39      <sqlite>
40        <!-- Database name -->
41 -      <dbname>@localstatedir@/@package@/db/sqlite.db</dbname>
42 +      <dbname>@localstatedir@/lib/jabberd/sqlite.db</dbname>
43  
44      <!-- Use this to pass any SQL statements to the database immediately
45           after opening it. This is typically used to set pragmas for
46 @@ -562,7 +562,7 @@
47      <!-- Berkeley DB module configuration -->
48      <db>
49        <!-- Directory to store database files under -->
50 -      <path>@localstatedir@/@package@/db</path>
51 +      <path>@localstatedir@/lib/jabberd/db</path>
52  
53        <!-- Synchronize the database to disk after each write. If you
54             disable this, database accesses may be faster, but data may
55 diff -urNp -x '*.orig' jabberd-2.6.1.org/etc/jabberd.cfg.dist.in jabberd-2.6.1/etc/jabberd.cfg.dist.in
56 --- jabberd-2.6.1.org/etc/jabberd.cfg.dist.in   2016-05-04 00:25:09.000000000 +0200
57 +++ jabberd-2.6.1/etc/jabberd.cfg.dist.in       2021-10-06 23:07:15.380661414 +0200
58 @@ -14,5 +14,9 @@
59  
60  @jabberd_router_bin@      @sysconfdir@/router.xml
61  @jabberd_sm_bin@          @sysconfdir@/sm.xml
62 -@jabberd_s2s_bin@         @sysconfdir@/s2s.xml
63  @jabberd_c2s_bin@         @sysconfdir@/c2s.xml
64 +
65 +# After sm and c2s are configured to use a fully qualified domain name
66 +# and proper SRV records are set in DNS uncoment this to enable communication
67 +# with other Jabber servers
68 +#@jabberd_s2s_bin@         @sysconfdir@/s2s.xml
69 diff -urNp -x '*.orig' jabberd-2.6.1.org/etc/router.xml.dist.in jabberd-2.6.1/etc/router.xml.dist.in
70 --- jabberd-2.6.1.org/etc/router.xml.dist.in    2016-05-04 00:25:09.000000000 +0200
71 +++ jabberd-2.6.1/etc/router.xml.dist.in        2021-10-06 23:07:15.380661414 +0200
72 @@ -5,7 +5,7 @@
73  
74    <!-- The process ID file. Comment this out if you don't need to know
75         the process ID from outside the process (eg for control scripts) -->
76 -  <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
77 +  <pidfile>@localstatedir@/run/jabber/${id}.pid</pidfile>
78  
79    <!-- Log configuration - type is "syslog", "file" or "stdout" -->
80    <log type='syslog'>
81 @@ -18,19 +18,19 @@
82  
83      <!-- If logging to file, this is the filename of the logfile -->
84      <!--
85 -    <file>@localstatedir@/@package@/log/router.log</file>
86 +    <file>@localstatedir@/log/jabberd/router.log</file>
87      -->
88  
89      <!-- Filename of the debug logfile -->
90      <!--
91 -    <debug>@localstatedir@/@package@/log/debug-${id}.log</debug>
92 +    <debug>@localstatedir@/log/jabberd/debug-${id}.log</debug>
93      -->
94    </log>
95  
96    <!-- Local network configuration -->
97    <local>
98 -    <!-- IP address to bind to (default: 0.0.0.0) -->
99 -    <ip>0.0.0.0</ip>
100 +    <!-- IP address to bind to (default: 127.0.0.1) -->
101 +    <ip>127.0.0.1</ip>
102  
103      <!-- Port to bind to (default: 5347) -->
104      <port>5347</port>
105 @@ -164,6 +164,9 @@
106      <!--
107      <alias name='conference.domain.com' target='muclinker'/>
108      -->
109 +    <alias name='jud.localhost' target='jud-linker'/>
110 +    <alias name='muc.localhost' target='muc-linker'/>
111 +    <alias name='icq.localhost' target='icq-linker'/>
112    </aliases>
113  
114    <!-- Access control information -->
115 diff -urNp -x '*.orig' jabberd-2.6.1.org/etc/s2s.xml.dist.in jabberd-2.6.1/etc/s2s.xml.dist.in
116 --- jabberd-2.6.1.org/etc/s2s.xml.dist.in       2016-05-04 00:25:09.000000000 +0200
117 +++ jabberd-2.6.1/etc/s2s.xml.dist.in   2021-10-06 23:07:15.380661414 +0200
118 @@ -5,7 +5,7 @@
119  
120    <!-- The process ID file. Comment this out if you don't need to know
121         the process ID from outside the process (eg for control scripts) -->
122 -  <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
123 +  <pidfile>@localstatedir@/run/jabber/${id}.pid</pidfile>
124  
125    <!-- Router connection configuration -->
126    <router>
127 @@ -70,12 +70,12 @@
128  
129      <!-- if logging to file, this is the filename of the logfile -->
130      <!--
131 -    <file>@localstatedir@/@package@/log/s2s.log</file>
132 +    <file>@localstatedir@/log/jabberd/s2s.log</file>
133      -->
134  
135      <!-- Filename of the debug logfile -->
136      <!--
137 -    <debug>@localstatedir@/@package@/log/debug-${id}.log</debug>
138 +    <debug>@localstatedir@/log/jabberd/debug-${id}.log</debug>
139      -->
140    </log>
141  
142 @@ -245,7 +245,7 @@
143    <stats>
144      <!-- file containing count of packets that went through -->
145      <!--
146 -    <packet>@localstatedir@/@package@/stats/s2s.packets</packet>
147 +    <packet>@localstatedir@/lib/jabberd/stats/s2s.packets</packet>
148      -->
149    </stats>
150  
151 diff -urNp -x '*.orig' jabberd-2.6.1.org/etc/sm.xml.dist.in jabberd-2.6.1/etc/sm.xml.dist.in
152 --- jabberd-2.6.1.org/etc/sm.xml.dist.in        2016-05-04 00:25:09.000000000 +0200
153 +++ jabberd-2.6.1/etc/sm.xml.dist.in    2021-10-06 23:07:15.380661414 +0200
154 @@ -5,7 +5,7 @@
155  
156    <!-- The process ID file. Comment this out if you don't need to know
157         the process ID from outside the process (eg for control scripts) -->
158 -  <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
159 +  <pidfile>@localstatedir@/run/jabber/${id}.pid</pidfile>
160  
161    <!-- Router connection configuration -->
162    <router>
163 @@ -60,12 +60,12 @@
164  
165      <!-- If logging to file, this is the filename of the logfile -->
166      <!--
167 -    <file>@localstatedir@/@package@/log/sm.log</file>
168 +    <file>@localstatedir@/log/jabberd/sm.log</file>
169      -->
170  
171      <!-- Filename of the debug logfile -->
172      <!--
173 -    <debug>@localstatedir@/@package@/log/debug-${id}.log</debug>
174 +    <debug>@localstatedir@/log/jabberd/debug-${id}.log</debug>
175      -->
176    </log>
177  
178 @@ -139,7 +139,7 @@
179      <!-- SQLite driver configuration -->
180      <sqlite>
181        <!-- Database name -->
182 -      <dbname>@localstatedir@/@package@/db/sqlite.db</dbname>
183 +      <dbname>@localstatedir@/lib/jabberd/sqlite.db</dbname>
184       <!-- Use this to pass any SQL statements to the database immediately
185            after opening it. This is typically used to set pragmas for
186            performance tuning. -->
187 @@ -217,7 +217,7 @@
188           implementation does not implement the 'count' callback). -->
189      <db>
190        <!-- Directory to store database files under -->
191 -      <path>@localstatedir@/@package@/db</path>
192 +      <path>@localstatedir@/lib/jabberd/db</path>
193  
194        <!-- Synchronize the database to disk after each write. If you
195             disable this, database accesses may be faster, but data may
196 @@ -629,6 +629,8 @@
197      </serverinfo>
198      -->
199  
200 +    <browse/>
201 +
202    </discovery>
203  
204    <!-- User options -->
This page took 0.051356 seconds and 3 git commands to generate.