summaryrefslogtreecommitdiff
path: root/chat/jabberd/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'chat/jabberd/patches/patch-ab')
-rw-r--r--chat/jabberd/patches/patch-ab129
1 files changed, 117 insertions, 12 deletions
diff --git a/chat/jabberd/patches/patch-ab b/chat/jabberd/patches/patch-ab
index a25af0a6056..c3702c8fcb1 100644
--- a/chat/jabberd/patches/patch-ab
+++ b/chat/jabberd/patches/patch-ab
@@ -1,13 +1,118 @@
-$NetBSD: patch-ab,v 1.1.1.1 2003/12/23 10:16:21 xtraeme Exp $
+$NetBSD: patch-ab,v 1.2 2004/02/21 05:38:29 xtraeme Exp $
---- configure.orig 2003-05-10 11:40:14.000000000 +0200
-+++ configure 2003-05-10 11:41:01.000000000 +0200
-@@ -32,7 +32,7 @@
- LDFLAGS="$LDFLAGS"
- LIBS="$LIBS"
- XLDFLAGS="$XLDFLAGS "
--JHOME=`pwd`
-+JHOME=${PKG_SYSCONFDIR}
-
- ##
- # Print a cool header
+--- 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>