pkgsrc/chat/jabberd/patches/patch-ab
xtraeme ce2b2cd2f0 Downgrade jabberd to 1.4.2. Because 1.4.3 version doesn't work with
current pth's version from pkgsrc. It was tested by David Ferlier
<david@NetBSD-fr dot org> and it works perfectly, reported in PR
pkg/24462.
2004-02-21 05:38:29 +00:00

118 lines
3.8 KiB
Text

$NetBSD: patch-ab,v 1.2 2004/02/21 05:38:29 xtraeme Exp $
--- jabber.xml.in.orig Tue May 15 17:21:56 2001
+++ jabber.xml.in Sat Feb 14 02:06:11 2004
@@ -264,26 +264,26 @@
-->
<load main="jsm">
- <jsm>./jsm/jsm.so</jsm>
- <mod_echo>./jsm/jsm.so</mod_echo>
- <mod_roster>./jsm/jsm.so</mod_roster>
- <mod_time>./jsm/jsm.so</mod_time>
- <mod_vcard>./jsm/jsm.so</mod_vcard>
- <mod_last>./jsm/jsm.so</mod_last>
- <mod_version>./jsm/jsm.so</mod_version>
- <mod_announce>./jsm/jsm.so</mod_announce>
- <mod_agents>./jsm/jsm.so</mod_agents>
- <mod_browse>./jsm/jsm.so</mod_browse>
- <mod_admin>./jsm/jsm.so</mod_admin>
- <mod_filter>./jsm/jsm.so</mod_filter>
- <mod_offline>./jsm/jsm.so</mod_offline>
- <mod_presence>./jsm/jsm.so</mod_presence>
- <mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
- <mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
- <mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
- <mod_log>./jsm/jsm.so</mod_log>
- <mod_register>./jsm/jsm.so</mod_register>
- <mod_xml>./jsm/jsm.so</mod_xml>
+ <jsm>@LIBDIR@/jsm.so</jsm>
+ <mod_echo>@LIBDIR@/jsm.so</mod_echo>
+ <mod_roster>@LIBDIR@/jsm.so</mod_roster>
+ <mod_time>@LIBDIR@/jsm.so</mod_time>
+ <mod_vcard>@LIBDIR@/jsm.so</mod_vcard>
+ <mod_last>@LIBDIR@/jsm.so</mod_last>
+ <mod_version>@LIBDIR@/jsm.so</mod_version>
+ <mod_announce>@LIBDIR@/jsm.so</mod_announce>
+ <mod_agents>@LIBDIR@/jsm.so</mod_agents>
+ <mod_browse>@LIBDIR@/jsm.so</mod_browse>
+ <mod_admin>@LIBDIR@/jsm.so</mod_admin>
+ <mod_filter>@LIBDIR@/jsm.so</mod_filter>
+ <mod_offline>@LIBDIR@/jsm.so</mod_offline>
+ <mod_presence>@LIBDIR@/jsm.so</mod_presence>
+ <mod_auth_plain>@LIBDIR@/jsm.so</mod_auth_plain>
+ <mod_auth_digest>@LIBDIR@/jsm.so</mod_auth_digest>
+ <mod_auth_0k>@LIBDIR@/jsm.so</mod_auth_0k>
+ <mod_log>@LIBDIR@/jsm.so</mod_log>
+ <mod_register>@LIBDIR@/jsm.so</mod_register>
+ <mod_xml>@LIBDIR@/jsm.so</mod_xml>
</load>
</service>
@@ -295,10 +295,10 @@
<xdb id="xdb">
<host/>
<load>
- <xdb_file>./xdb_file/xdb_file.so</xdb_file>
+ <xdb_file>@LIBDIR@/xdb_file.so</xdb_file>
</load>
<xdb_file xmlns="jabber:config:xdb_file">
- <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
+ <spool><jabberd:cmdline flag='s'>@SPOOLDIR@</jabberd:cmdline></spool>
</xdb_file>
</xdb>
@@ -319,7 +319,7 @@
<service id="c2s">
<load>
- <pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
+ <pthsock_client>@LIBDIR@/pthsock_client.so</pthsock_client>
</load>
<pthcsock xmlns='jabber:config:pth-csock'>
<authtime/>
@@ -359,7 +359,7 @@
<host/>
<logtype/>
<format>%d: [%t] (%h): %s</format>
- <file>error.log</file>
+ <file>@LOGDIR@/error.log</file>
<stderr/>
</log>
@@ -372,7 +372,7 @@
<host/>
<logtype>record</logtype>
<format>%d %h %s</format>
- <file>record.log</file>
+ <file>@LOGDIR@/record.log</file>
</log>
<!-- The following two services are for handling server-to-server traffic. -->
@@ -382,7 +382,7 @@
<service id="dnsrv">
<host/>
<load>
- <dnsrv>./dnsrv/dnsrv.so</dnsrv>
+ <dnsrv>@LIBDIR@/dnsrv.so</dnsrv>
</load>
<dnsrv xmlns="jabber:config:dnsrv">
<resend service="_jabber._tcp">s2s</resend> <!-- for supporting SRV records -->
@@ -401,7 +401,7 @@
<service id="s2s">
<load>
- <dialback>./dialback/dialback.so</dialback>
+ <dialback>@LIBDIR@/dialback.so</dialback>
</load>
<dialback xmlns='jabber:config:dialback'>
<legacy/>
@@ -596,7 +596,7 @@
<!--
This specifies the file to store the pid of the process in.
-->
- <pidfile>./jabber.pid</pidfile>
+ <pidfile>@PIDDIR@/jabber.pid</pidfile>
</jabber>