summaryrefslogtreecommitdiff
path: root/chat/jabberd2
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2008-02-20 14:33:04 +0000
committerxtraeme <xtraeme@pkgsrc.org>2008-02-20 14:33:04 +0000
commitd48527f6ef05f4015682f5f9780e1c9bd8c5d0d9 (patch)
tree59c8ae5011c39988819dc7e337102c5d23b67df8 /chat/jabberd2
parentadf80e9c5dc4f4a7bff5fc6003d18dc32cb888e7 (diff)
downloadpkgsrc-d48527f6ef05f4015682f5f9780e1c9bd8c5d0d9.tar.gz
Update to 2.1.23. Lots of changes and bugfixes since previous version,
see http://jabberd2.xiaoka.com/wiki/Releases for a detailed description.
Diffstat (limited to 'chat/jabberd2')
-rw-r--r--chat/jabberd2/Makefile28
-rw-r--r--chat/jabberd2/PLIST10
-rw-r--r--chat/jabberd2/distinfo21
-rw-r--r--chat/jabberd2/options.mk18
-rw-r--r--chat/jabberd2/patches/patch-aa14
-rw-r--r--chat/jabberd2/patches/patch-ac28
-rw-r--r--chat/jabberd2/patches/patch-ad33
-rw-r--r--chat/jabberd2/patches/patch-ae20
-rw-r--r--chat/jabberd2/patches/patch-af18
-rw-r--r--chat/jabberd2/patches/patch-ag51
-rw-r--r--chat/jabberd2/patches/patch-ah31
11 files changed, 128 insertions, 144 deletions
diff --git a/chat/jabberd2/Makefile b/chat/jabberd2/Makefile
index 51f8130ddf2..a7135aecd34 100644
--- a/chat/jabberd2/Makefile
+++ b/chat/jabberd2/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2008/01/18 05:06:24 tnn Exp $
+# $NetBSD: Makefile,v 1.44 2008/02/20 14:33:04 xtraeme Exp $
#
-DISTNAME= jabberd-2.1.14
-PKGREVISION= 3
+DISTNAME= jabberd-2.1.23
CATEGORIES= chat
MASTER_SITES= http://ftp.xiaoka.com/jabberd2/releases/
EXTRACT_SUFX= .tar.bz2
@@ -32,6 +31,7 @@ CONFIGURE_ARGS+= --enable-pipe
CONFIGURE_ARGS+= --enable-anon
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --enable-fs
+CONFIGURE_ARGS+= --with-sasl=gsasl
USE_TOOLS+= perl:run
REPLACE_PERL+= tools/*.pl
@@ -58,13 +58,16 @@ PKG_USERS= ${JABBERD_USER}:${JABBERD_GROUP}
BINDIR= ${PREFIX}/bin
EGDIR= ${PREFIX}/share/examples/jabberd
-CONF_FILES= ${EGDIR}/jabberd.cfg ${PKG_SYSCONFDIR}/jabberd.cfg
+DOCDIR= ${PREFIX}/share/doc/jabberd
-FILES= c2s.xml resolver.xml router.xml \
+FILES= jabberd.cfg c2s.xml resolver.xml router.xml \
router-users.xml router-filter.xml s2s.xml \
- sm.xml storage.xml
-DBFILES= db-setup.mysql db-setup.pgsql db-update.mysql \
- db-setup-status.mysql db-setup.sqlite
+ sm.xml
+DBFILES= db-jd14-2-jd2.sql db-setup.mysql db-setup.pgsql \
+ db-update.mysql db-setup.sqlite
+DOCFILES= README.protocol README UPGRADE ChangeLog
+
+INSTALLATION_DIRS= bin share/examples/jabberd share/doc/jabberd
.for f in ${FILES}
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
@@ -81,10 +84,9 @@ post-extract:
.for f in ${FILES}
mv ${WRKSRC}/etc/${f}.dist.in ${WRKSRC}/etc/${f}.in
.endfor
- mv ${WRKSRC}/etc/jabberd.cfg.dist.in ${WRKSRC}/etc/jabberd.cfg.in
pre-configure:
-.for f in ${FILES} jabberd.cfg
+.for f in ${FILES}
sed \
-e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
-e "s|@PIDDIR@|${JABBERD_PIDDIR}|g" \
@@ -105,12 +107,16 @@ post-install:
.for f in ${DBFILES}
${INSTALL_DATA} ${WRKSRC}/tools/${f} ${EGDIR}
.endfor
-.for f in jabberd.cfg ${FILES}
+.for f in ${FILES}
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${EGDIR}
.endfor
+.for f in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
+.endfor
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
+.include "../../security/gsasl/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/jabberd2/PLIST b/chat/jabberd2/PLIST
index 20b9224546e..e54f26df224 100644
--- a/chat/jabberd2/PLIST
+++ b/chat/jabberd2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2007/05/26 11:50:12 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.7 2008/02/20 14:33:04 xtraeme Exp $
bin/c2s
bin/jabberd
bin/migrate.pl
@@ -33,6 +33,7 @@ lib/jabberd/mod_offline.la
lib/jabberd/mod_presence.la
lib/jabberd/mod_privacy.la
lib/jabberd/mod_roster.la
+lib/jabberd/mod_roster-publish.la
lib/jabberd/mod_session.la
lib/jabberd/mod_status.la
lib/jabberd/mod_template-roster.la
@@ -49,8 +50,12 @@ man/man8/resolver.8
man/man8/router.8
man/man8/s2s.8
man/man8/sm.8
+share/doc/jabberd/README
+share/doc/jabberd/README.protocol
+share/doc/jabberd/UPGRADE
+share/doc/jabberd/ChangeLog
share/examples/jabberd/c2s.xml
-share/examples/jabberd/db-setup-status.mysql
+share/examples/jabberd/db-jd14-2-jd2.sql
share/examples/jabberd/db-setup.mysql
share/examples/jabberd/db-setup.pgsql
share/examples/jabberd/db-setup.sqlite
@@ -63,7 +68,6 @@ share/examples/jabberd/router-users.xml
share/examples/jabberd/router.xml
share/examples/jabberd/s2s.xml
share/examples/jabberd/sm.xml
-share/examples/jabberd/storage.xml
share/examples/rc.d/c2s
share/examples/rc.d/jabberd
share/examples/rc.d/resolver
diff --git a/chat/jabberd2/distinfo b/chat/jabberd2/distinfo
index 6738b3cb843..eb06692ce8f 100644
--- a/chat/jabberd2/distinfo
+++ b/chat/jabberd2/distinfo
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.14 2007/08/27 08:41:06 xtraeme Exp $
+$NetBSD: distinfo,v 1.15 2008/02/20 14:33:04 xtraeme Exp $
-SHA1 (jabberd-2.1.14.tar.bz2) = dd12ed8956ffc0118e6bfd0424d788d4bd1c128c
-RMD160 (jabberd-2.1.14.tar.bz2) = 3a6f1c2104ce0d88c4535139fd705e06da564863
-Size (jabberd-2.1.14.tar.bz2) = 1046630 bytes
-SHA1 (patch-aa) = bd62fd5956cb6722f7cb4b5bdca05ee502f43e46
+SHA1 (jabberd-2.1.23.tar.bz2) = eb05cc918f035316d47a4b4faae40f3ca976e0d6
+RMD160 (jabberd-2.1.23.tar.bz2) = 224a0cfd405d30e66a8259b579e94a556ef568b2
+Size (jabberd-2.1.23.tar.bz2) = 645473 bytes
+SHA1 (patch-aa) = fd63fa375ba477e988e057ab7dd65ab75b573f94
SHA1 (patch-ab) = de1c8ec12b55117223bcca2071499c42ab145a34
-SHA1 (patch-ac) = 768d98497682017a2b80bad02a719f817fd0dd87
-SHA1 (patch-ad) = 3a4b9f80912c70fb1cdc7756b6d4dcc12feadb5a
-SHA1 (patch-ae) = 56cb29f139c9f6e74afd9bb0361d70fe4fad0c47
-SHA1 (patch-af) = 83b16643caae2a0c5ca396793f0a80c0bb5d83e7
-SHA1 (patch-ag) = fd65428b7253eb1137799ef40d654e14083bc8d9
-SHA1 (patch-ah) = f896a30c9ee44bb0bd19a9c848a455e94eefcdb4
+SHA1 (patch-ac) = e6e006bf73c345bb3bf873e389885c7f64bad11c
+SHA1 (patch-ad) = db126c24dcf85c0c3c790b5b8723c6ae4da59453
+SHA1 (patch-ae) = 8cab0e740a173b76d44eea03e4b5084967b3168a
+SHA1 (patch-af) = 0a606630727c1895fdf39d7ebdd2355540cd49d0
+SHA1 (patch-ag) = 28806cee8ac25a435ebf37de5744c2e893e8968b
diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk
index bfe15de1081..102da9f35ea 100644
--- a/chat/jabberd2/options.mk
+++ b/chat/jabberd2/options.mk
@@ -1,18 +1,16 @@
-# $NetBSD: options.mk,v 1.18 2007/08/26 09:10:54 xtraeme Exp $
+# $NetBSD: options.mk,v 1.19 2008/02/20 14:33:04 xtraeme Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd2
-PKG_OPTIONS_REQUIRED_GROUPS= auth storage sasl
+PKG_OPTIONS_REQUIRED_GROUPS= auth storage
# Authentication backend
PKG_OPTIONS_GROUP.auth= auth-mysql auth-pgsql auth-sqlite
PKG_OPTIONS_GROUP.auth+= auth-db auth-ldap auth-pam
# Storage backend
PKG_OPTIONS_GROUP.storage= storage-mysql storage-pgsql
PKG_OPTIONS_GROUP.storage+= storage-sqlite storage-db
-# SASL implementation
-PKG_OPTIONS_GROUP.sasl= cyrus-sasl gnusasl
PKG_SUPPORTED_OPTIONS+= debug
-PKG_SUGGESTED_OPTIONS= auth-sqlite storage-sqlite gnusasl
+PKG_SUGGESTED_OPTIONS= auth-sqlite storage-sqlite
.include "../../mk/bsd.options.mk"
@@ -68,16 +66,6 @@ PLIST_SUBST+= LDAP_OPT='@comment '
CONFIGURE_ARGS+= --disable-ldap
.endif
-.if !empty(PKG_OPTIONS:Mcyrus-sasl)
-CONFIGURE_ARGS+= --enable-sasl=cyrus
-. include "../../security/cyrus-sasl/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mgnusasl)
-CONFIGURE_ARGS+= --enable-sasl=gsasl
-. include "../../security/gsasl/buildlink3.mk"
-.endif
-
.if !empty(PKG_OPTIONS:Mauth-pam)
PLIST_SUBST+= PAM_OPT=
CONFIGURE_ARGS+= --enable-pam
diff --git a/chat/jabberd2/patches/patch-aa b/chat/jabberd2/patches/patch-aa
index 8505a97f445..d76beb41999 100644
--- a/chat/jabberd2/patches/patch-aa
+++ b/chat/jabberd2/patches/patch-aa
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.4 2007/05/26 11:50:12 xtraeme Exp $
+$NetBSD: patch-aa,v 1.5 2008/02/20 14:33:04 xtraeme Exp $
---- Makefile.in.orig 2007-05-26 12:01:18.000000000 +0200
-+++ Makefile.in 2007-05-26 12:01:22.000000000 +0200
-@@ -191,7 +191,7 @@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- EXTRA_DIST = PROTOCOL Doxyfile.in README.win32 contrib UPGRADE
+--- Makefile.in.orig 2008-02-03 08:23:47.000000000 -0600
++++ Makefile.in
+@@ -223,7 +223,7 @@ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ EXTRA_DIST = Doxyfile.in README.win32 README.protocol contrib UPGRADE
-SUBDIRS = etc tools man mio subst sx util c2s resolver router s2s sm storage
+SUBDIRS = tools man mio subst sx util c2s resolver router s2s sm storage
all: config.h
diff --git a/chat/jabberd2/patches/patch-ac b/chat/jabberd2/patches/patch-ac
index 7bf4c4b6923..e9846641a87 100644
--- a/chat/jabberd2/patches/patch-ac
+++ b/chat/jabberd2/patches/patch-ac
@@ -1,17 +1,17 @@
-$NetBSD: patch-ac,v 1.3 2007/08/27 08:41:06 xtraeme Exp $
+$NetBSD: patch-ac,v 1.4 2008/02/20 14:33:04 xtraeme Exp $
---- etc/sm.xml.in.orig 2007-07-30 21:07:08.000000000 +0200
-+++ etc/sm.xml.in 2007-08-27 10:32:36.000000000 +0200
-@@ -9,7 +9,7 @@
- <!-- The process ID file. comment this out if you don't need to know
- to know the process ID from outside the process (eg for control
- scripts) -->
+--- etc/sm.xml.in.orig 2008-01-08 04:23:48.000000000 -0600
++++ etc/sm.xml.in
+@@ -8,7 +8,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/sm.pid</pidfile>
+ <pidfile>@PIDDIR@/sm.pid</pidfile>
<!-- Router connection configuration -->
<router>
-@@ -31,7 +31,7 @@
+@@ -30,7 +30,7 @@
If this is commented out, or the file can't be read, no attempt
will be made to establish an encrypted channel with the router. -->
<!--
@@ -20,7 +20,7 @@ $NetBSD: patch-ac,v 1.3 2007/08/27 08:41:06 xtraeme Exp $
-->
<!-- Router connection retry -->
-@@ -64,7 +64,7 @@
+@@ -63,7 +63,7 @@
<!-- If logging to file, this is the filename of the logfile -->
<!--
@@ -29,7 +29,7 @@ $NetBSD: patch-ac,v 1.3 2007/08/27 08:41:06 xtraeme Exp $
-->
</log>
-@@ -136,7 +136,7 @@
+@@ -152,7 +152,7 @@
<!-- Berkeley DB driver configuration -->
<db>
<!-- Directory to store database files under -->
@@ -38,7 +38,7 @@ $NetBSD: patch-ac,v 1.3 2007/08/27 08:41:06 xtraeme Exp $
<!-- Synchronize the database to disk after each write. If you
disable this, database accesses may be faster, but data may
-@@ -161,7 +161,7 @@
+@@ -177,7 +177,7 @@
<!-- SQLite driver configuration -->
<sqlite>
<!-- Database name -->
@@ -47,9 +47,9 @@ $NetBSD: patch-ac,v 1.3 2007/08/27 08:41:06 xtraeme Exp $
<!-- Transacation support. If this is commented out, transactions
will be disabled. This might make database accesses faster,
-@@ -430,7 +430,7 @@
- stored in the users data store when they are created. -->
- <template>
+@@ -625,7 +625,7 @@
+
+ <!-- If you defined publish, you should comment <roster> -->
<!--
- <roster>@sysconfdir@/templates/roster.xml</roster>
+ <roster>@PKG_SYSCONFDIR@/roster.xml</roster>
diff --git a/chat/jabberd2/patches/patch-ad b/chat/jabberd2/patches/patch-ad
index 81aaa737dde..d485b917206 100644
--- a/chat/jabberd2/patches/patch-ad
+++ b/chat/jabberd2/patches/patch-ad
@@ -1,17 +1,17 @@
-$NetBSD: patch-ad,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
+$NetBSD: patch-ad,v 1.3 2008/02/20 14:33:04 xtraeme Exp $
---- etc/s2s.xml.in.orig 2007-05-26 12:04:13.000000000 +0200
-+++ etc/s2s.xml.in 2007-05-26 12:05:01.000000000 +0200
-@@ -6,7 +6,7 @@
- <!-- The process ID file. comment this out if you don't need to know
- to know the process ID from outside the process (eg for control
- scripts) -->
+--- etc/s2s.xml.in.orig 2008-01-08 04:23:48.000000000 -0600
++++ etc/s2s.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/s2s.pid</pidfile>
+ <pidfile>@PIDDIR@/s2s.pid</pidfile>
<!-- Router connection configuration -->
<router>
-@@ -38,7 +38,7 @@
+@@ -37,7 +37,7 @@
If this is commented out, or the file can't be read, no attempt
will be made to establish an encrypted channel with the router. -->
<!--
@@ -20,7 +20,7 @@ $NetBSD: patch-ad,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
-->
<!-- Router connection retry -->
-@@ -71,7 +71,7 @@
+@@ -70,7 +70,7 @@
<!-- if logging to file, this is the filename of the logfile -->
<!--
@@ -29,7 +29,7 @@ $NetBSD: patch-ad,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
-->
</log>
-@@ -105,7 +105,7 @@
+@@ -104,7 +104,7 @@
If this is commented out, or the file can't be read, no attempt will be
made to establish encrypted connections with other servers. -->
<!--
@@ -38,8 +38,8 @@ $NetBSD: patch-ad,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
-->
<!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
-@@ -116,7 +116,7 @@
- <!-- File containing an optional SSL certificate chain file for SSL
+@@ -115,7 +115,7 @@
+ <!-- File containing an optional SSL certificate chain file for SSL
connections. -->
<!--
- <cachain>@sysconfdir@/cachain.pem</cachain>
@@ -47,3 +47,12 @@ $NetBSD: patch-ad,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
-->
</local>
+@@ -190,7 +190,7 @@
+ <stats>
+ <!-- file containing count of packets that went through -->
+ <!--
+- <packet>@localstatedir@/jabberd/stats/s2s.packets</packet>
++ <packet>@LOGDIR@/jabberd.s2s.packets</packet>
+ -->
+ </stats>
+
diff --git a/chat/jabberd2/patches/patch-ae b/chat/jabberd2/patches/patch-ae
index d9d11f88eb2..d2e9fd34011 100644
--- a/chat/jabberd2/patches/patch-ae
+++ b/chat/jabberd2/patches/patch-ae
@@ -1,17 +1,17 @@
-$NetBSD: patch-ae,v 1.3 2007/05/26 11:50:13 xtraeme Exp $
+$NetBSD: patch-ae,v 1.4 2008/02/20 14:33:04 xtraeme Exp $
---- etc/router.xml.in.orig 2007-05-26 12:05:26.000000000 +0200
-+++ etc/router.xml.in 2007-05-26 12:06:18.000000000 +0200
-@@ -6,7 +6,7 @@
- <!-- The process ID file. comment this out if you don't need to know
- to know the process ID from outside the process (eg for control
- scripts) -->
+--- 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'>
-@@ -19,7 +19,7 @@
+@@ -18,7 +18,7 @@
<!-- If logging to file, this is the filename of the logfile -->
<!--
@@ -20,14 +20,14 @@ $NetBSD: patch-ae,v 1.3 2007/05/26 11:50:13 xtraeme Exp $
-->
</log>
-@@ -34,7 +34,7 @@
+@@ -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 legacy components (that is,
+ <!-- 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
diff --git a/chat/jabberd2/patches/patch-af b/chat/jabberd2/patches/patch-af
index 96b67cedc0d..52beed97474 100644
--- a/chat/jabberd2/patches/patch-af
+++ b/chat/jabberd2/patches/patch-af
@@ -1,17 +1,17 @@
-$NetBSD: patch-af,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
+$NetBSD: patch-af,v 1.3 2008/02/20 14:33:04 xtraeme Exp $
---- etc/resolver.xml.in.orig 2007-05-26 12:06:43.000000000 +0200
-+++ etc/resolver.xml.in 2007-05-26 12:07:09.000000000 +0200
-@@ -6,7 +6,7 @@
- <!-- The process ID file. comment this out if you don't need to know
- to know the process ID from outside the process (eg for control
- scripts) -->
+--- etc/resolver.xml.in.orig 2008-01-08 04:23:48.000000000 -0600
++++ etc/resolver.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/resolver.pid</pidfile>
+ <pidfile>@PIDDIR@/resolver.pid</pidfile>
<!-- Router connection configuration -->
<router>
-@@ -28,7 +28,7 @@
+@@ -27,7 +27,7 @@
If this is commented out, or the file can't be read, no attempt
will be made to establish an encrypted channel with the router. -->
<!--
@@ -20,7 +20,7 @@ $NetBSD: patch-af,v 1.2 2007/05/26 11:50:13 xtraeme Exp $
-->
<!-- Router connection retry -->
-@@ -61,7 +61,7 @@
+@@ -60,7 +60,7 @@
<!-- If logging to file, this is the filename of the logfile -->
<!--
diff --git a/chat/jabberd2/patches/patch-ag b/chat/jabberd2/patches/patch-ag
index d52a4ec0baa..46740ddf16c 100644
--- a/chat/jabberd2/patches/patch-ag
+++ b/chat/jabberd2/patches/patch-ag
@@ -1,17 +1,17 @@
-$NetBSD: patch-ag,v 1.6 2007/08/27 08:41:06 xtraeme Exp $
+$NetBSD: patch-ag,v 1.7 2008/02/20 14:33:04 xtraeme Exp $
---- etc/c2s.xml.in.orig 2007-08-14 00:29:45.000000000 +0200
-+++ etc/c2s.xml.in 2007-08-27 10:31:18.000000000 +0200
-@@ -6,7 +6,7 @@
- <!-- The process ID file. comment this out if you don't need to know
- to know the process ID from outside the process (eg for control
- scripts) -->
+--- etc/c2s.xml.in.orig 2008-02-03 08:23:09.000000000 -0600
++++ etc/c2s.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/c2s.pid</pidfile>
-+ <pidfile>@PIDDIR@/c2s.pid</pidfile>
++ <pidfile>@PIDDIR@/c2s.pid</pidfile>
<!-- Router connection configuration -->
<router>
-@@ -28,7 +28,7 @@
+@@ -27,7 +27,7 @@
If this is commented out, or the file can't be read, no attempt
will be made to establish an encrypted channel with the router. -->
<!--
@@ -20,8 +20,8 @@ $NetBSD: patch-ag,v 1.6 2007/08/27 08:41:06 xtraeme Exp $
-->
<!-- Router connection retry -->
-@@ -61,7 +61,7 @@
-
+@@ -60,7 +60,7 @@
+
<!-- If logging to file, this is the filename of the logfile -->
<!--
- <file>@localstatedir@/jabberd/log/c2s.log</file>
@@ -29,25 +29,34 @@ $NetBSD: patch-ag,v 1.6 2007/08/27 08:41:06 xtraeme Exp $
-->
</log>
-@@ -113,7 +113,7 @@
- <id register-enable='true'>localhost</id>
+@@ -118,7 +118,7 @@
+ <id register-enable='true'>localhost.localdomain</id>
<!-- or
- <id realm='company'
+ <id realm='company.int'
- pemfile='@sysconfdir@/server.pem'
+ pemfile='@SSLCERTS@/server.pem'
verify-mode='7'
require-starttls='true'
register-enable='true'
-@@ -147,7 +147,7 @@
- If this is commented out, clients will not be offered
- the STARTTLS stream extension -->
+@@ -157,7 +157,7 @@
+ use STARTTLS over the standard XMPP port 5222 then you
+ MUST specify the pemfile in the 'id' tag above. -->
<!--
- <pemfile>@sysconfdir@/server.pem</pemfile>
+ <pemfile>@SSLCERTS@/server.pem</pemfile>
-->
<!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
-@@ -362,7 +362,7 @@
+@@ -284,7 +284,7 @@
+ <stats>
+ <!-- file containing count of packets that went through -->
+ <!--
+- <packet>@localstatedir@/jabberd/stats/c2s.packets</packet>
++ <packet>@LOGDIR@/c2s.packets</packet>
+ -->
+ </stats>
+
+@@ -393,7 +393,7 @@
<!-- SQLite driver configuration -->
<sqlite>
<!-- Database name -->
@@ -56,16 +65,16 @@ $NetBSD: patch-ag,v 1.6 2007/08/27 08:41:06 xtraeme Exp $
<!-- Transacation support. If this is commented out, transactions
will be disabled. This might make database accesses faster,
-@@ -376,7 +376,7 @@
+@@ -407,7 +407,7 @@
<!-- Berkeley DB module configuration -->
<db>
<!-- Directory to store database files under -->
- <path>@localstatedir@/jabberd/db</path>
+ <path>@DBDIR@</path>
-
+
<!-- Synchronize the database to disk after each write. If you
disable this, database accesses may be faster, but data may
-@@ -440,7 +440,7 @@
+@@ -535,7 +535,7 @@
<!-- Pipe module configuration -->
<pipe>
<!-- Program to execute -->
diff --git a/chat/jabberd2/patches/patch-ah b/chat/jabberd2/patches/patch-ah
deleted file mode 100644
index df7be7f008f..00000000000
--- a/chat/jabberd2/patches/patch-ah
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ah,v 1.3 2007/05/26 11:50:13 xtraeme Exp $
-
---- etc/storage.xml.in.orig 2007-05-26 12:40:47.000000000 +0200
-+++ etc/storage.xml.in 2007-05-26 12:41:15.000000000 +0200
-@@ -6,7 +6,7 @@
- <!-- The process ID file. comment this out if you don't need to know
- to know the process ID from outside the process (eg for control
- scripts) -->
-- <pidfile>@localstatedir@/jabberd/pid/storage.pid</pidfile>
-+ <pidfile>@PIDDIR@/storage.pid</pidfile>
-
- <!-- Router connection configuration -->
- <router>
-@@ -28,7 +28,7 @@
- If this is commented out, or the file can't be read, no attempt
- will be made to establish an encrypted channel with the router. -->
- <!--
-- <pemfile>@sysconfdir@/server.pem</pemfile>
-+ <pemfile>@SSLCERTS@/server.pem</pemfile>
- -->
-
- <!-- Router connection retry -->
-@@ -61,7 +61,7 @@
-
- <!-- If logging to file, this is the filename of the logfile -->
- <!--
-- <file>@localstatedir@/jabberd/log/storage.log</file>
-+ <file>@LOGDIR@/storage.log</file>
- -->
- </log>
-