tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

jabberd2 update review?



I successfully imported udns into net/udns (well, I'll say
successfully until someone says otherwise.)

Now, the reason for having udns, jabberd2.  I'd like to update
the version in pkgsrc/chat/jabberd2 from 2.1.24 to 2.2.9.  2.2.9
has been in pkgsrc-wip as wip/jabberd2 for a while, and I've
been running in production on jabber.cirr.com for a while.

I've attached the diffs for review and commentary.

I'd like to update the package on Tuesday, 4 August, in the pm
UTC.  Please comment or object by then!

Thanks,
        Eric Schnoebelen        
        schnoebe%netbsd.org@localhost

--
Eric Schnoebelen                eric%cirr.com@localhost         
http://www.cirr.com
        "We are interested in artificial intelligence because there
          is so much less of the natural kind around these days."
diff -Nrbuw -x CVS chat/jabberd2/DESCR wip/jabberd2/DESCR
--- chat/jabberd2/DESCR 2004-03-28 13:44:05.000000000 -0600
+++ wip/jabberd2/DESCR  2008-01-17 11:01:56.000000000 -0600
@@ -4,4 +4,4 @@
 messaging platform, and an IM network that offers functionality similar
 to legacy IM systems such as AIM, ICQ, MSN, and Yahoo.
 
-This is a complete rewrite of the original jabberd.
+This is a complete redesign/reimplementation of the original jabberd.
diff -Nrbuw -x CVS chat/jabberd2/MESSAGE wip/jabberd2/MESSAGE
--- chat/jabberd2/MESSAGE       1969-12-31 18:00:00.000000000 -0600
+++ wip/jabberd2/MESSAGE        2009-05-01 18:34:32.000000000 -0500
@@ -0,0 +1,6 @@
+===========================================================================
+$NetBSD$
+
+       Review ${PREFIX}/share/doc/jabberd/UPGRADE if you're upgrading
+       from an earlier release of Jabberd 2.x.
+===========================================================================
diff -Nrbuw -x CVS chat/jabberd2/Makefile wip/jabberd2/Makefile
--- chat/jabberd2/Makefile      2009-07-28 10:42:13.000000000 -0500
+++ wip/jabberd2/Makefile       2009-07-31 21:50:07.000000000 -0500
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.50 2009/07/24 19:05:53 gdt Exp $
-#
+# $NetBSD: Makefile,v 1.42 2007/11/15 12:57:21 sborrill Exp $
 
-DISTNAME=              jabberd-2.1.24
+DISTNAME=              jabberd-2.2.9
 CATEGORIES=            chat
-MASTER_SITES=          http://codex.xiaoka.com/pub/jabberd2/releases/
+MASTER_SITES=          http://ftp.xiaoka.com/jabberd2/releases/
 EXTRACT_SUFX=          .tar.bz2
 
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=            eric%cirr.com@localhost
 HOMEPAGE=              http://jabberd2.xiaoka.com/
-COMMENT=               Instant messaging server (version 2)
+LICENSE=               gnu-gpl-v2
 
 PKG_DESTDIR_SUPPORT=   user-destdir
+COMMENT=               XMPP (Jabber) instant messaging server
 
 CONFLICTS=             jabberd-[0-9]*
 
@@ -31,7 +31,15 @@
 CONFIGURE_ARGS+=       --enable-anon
 CONFIGURE_ARGS+=       --enable-ssl
 CONFIGURE_ARGS+=       --enable-fs
-CONFIGURE_ARGS+=       --with-sasl=gsasl
+
+.if (${MACHINE_ARCH} == alpha) || (${MACHINE_ARCH} == x86_64)
+CONFIGURE_ARGS+=       CXXFLAGS=${CXXFLAGS:M*:C/-O./-O1/:Q}
+CONFIGURE_ENV+=                CXXFLAGS=${CXXFLAGS:M*:C/-O./-O1/:Q}
+MAKE_ENV+=             CXXFLAGS=${CXXFLAGS:M*:C/-O./-O1/:Q}
+CONFIGURE_ARGS+=       CFLAGS=${CFLAGS:M*:C/-O./-O1/:Q}
+CONFIGURE_ENV+=                CFLAGS=${CFLAGS:M*:C/-O./-O1/:Q}
+MAKE_ENV+=             CFLAGS=${CFLAGS:M*:C/-O./-O1/:Q}
+.endif
 
 USE_TOOLS+=            perl:run
 REPLACE_PERL+=         tools/*.pl
@@ -44,7 +52,7 @@
 BUILD_DEFS+=           JABBERD_LOGDIR JABBERD_PIDDIR JABBERD_DBDIR
 
 PKG_SYSCONFSUBDIR=     jabberd
-RCD_SCRIPTS=           jabberd c2s sm resolver router s2s
+RCD_SCRIPTS=           jabberd c2s sm router s2s
 JABBERD_USER?=         jabberd
 JABBERD_GROUP?=                jabberd
 FILES_SUBST+=          JABBERD_USER=${JABBERD_USER:Q}
@@ -60,11 +68,11 @@
 EGDIR=                 ${PREFIX}/share/examples/jabberd
 DOCDIR=                        ${PREFIX}/share/doc/jabberd
 
-FILES=                 jabberd.cfg c2s.xml resolver.xml router.xml     \
+FILES=                 jabberd.cfg c2s.xml router.xml  \
                        router-users.xml router-filter.xml s2s.xml      \
                        sm.xml
 DBFILES=               db-jd14-2-jd2.sql db-setup.mysql db-setup.pgsql \
-                       db-update.mysql db-setup.sqlite
+                       db-update.mysql db-setup.sqlite db-update.sqlite
 DOCFILES=              README.protocol README UPGRADE ChangeLog
 
 INSTALLATION_DIRS=      bin share/examples/jabberd share/doc/jabberd
@@ -99,6 +107,8 @@
 .endfor
 
 post-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/etc/templates/roster.xml.dist.in      \
            ${DESTDIR}${EGDIR}/roster.xml
        ${INSTALL_SCRIPT} ${WRKSRC}/tools/pipe-auth.pl ${DESTDIR}${BINDIR}
@@ -113,9 +123,9 @@
        ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
 .endfor
 
+.include "../../net/udns/buildlink3.mk"
 .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 -Nrbuw -x CVS chat/jabberd2/PLIST wip/jabberd2/PLIST
--- chat/jabberd2/PLIST 2009-07-17 19:00:02.000000000 -0500
+++ wip/jabberd2/PLIST  2009-07-31 22:24:54.000000000 -0500
@@ -1,21 +1,15 @@
-@comment $NetBSD: PLIST,v 1.10 2009/06/14 17:37:46 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2007/05/26 11:50:12 xtraeme Exp $
 bin/c2s
 bin/jabberd
 bin/migrate.pl
 bin/pipe-auth.pl
-bin/resolver
 bin/router
 bin/s2s
 bin/sm
 lib/jabberd/authreg_anon.la
 ${PLIST.db}lib/jabberd/authreg_db.la
 ${PLIST.ldap}lib/jabberd/authreg_ldap.la
-${PLIST.ldap}lib/jabberd/authreg_ldapfull.a
 ${PLIST.ldap}lib/jabberd/authreg_ldapfull.la
-${PLIST.ldap}lib/jabberd/authreg_ldapfull.so
-${PLIST.ldap}lib/jabberd/storage_ldapvcard.a
-${PLIST.ldap}lib/jabberd/storage_ldapvcard.la
-${PLIST.ldap}lib/jabberd/storage_ldapvcard.so
 ${PLIST.mysql}lib/jabberd/authreg_mysql.la
 ${PLIST.pam}lib/jabberd/authreg_pam.la
 ${PLIST.pgsql}lib/jabberd/authreg_pgsql.la
@@ -47,12 +41,12 @@
 lib/jabberd/mod_validate.la
 lib/jabberd/storage_fs.la
 ${PLIST.db}lib/jabberd/storage_db.la
+${PLIST.ldap}lib/jabberd/storage_ldapvcard.la
 ${PLIST.mysql}lib/jabberd/storage_mysql.la
 ${PLIST.pgsql}lib/jabberd/storage_pgsql.la
 ${PLIST.sqlite}lib/jabberd/storage_sqlite.la
 man/man8/c2s.8
 man/man8/jabberd.8
-man/man8/resolver.8
 man/man8/router.8
 man/man8/s2s.8
 man/man8/sm.8
@@ -66,8 +60,8 @@
 share/examples/jabberd/db-setup.pgsql
 share/examples/jabberd/db-setup.sqlite
 share/examples/jabberd/db-update.mysql
+share/examples/jabberd/db-update.sqlite
 share/examples/jabberd/jabberd.cfg
-share/examples/jabberd/resolver.xml
 share/examples/jabberd/roster.xml
 share/examples/jabberd/router-filter.xml
 share/examples/jabberd/router-users.xml
@@ -76,7 +70,6 @@
 share/examples/jabberd/sm.xml
 share/examples/rc.d/c2s
 share/examples/rc.d/jabberd
-share/examples/rc.d/resolver
 share/examples/rc.d/router
 share/examples/rc.d/s2s
 share/examples/rc.d/sm
diff -Nrbuw -x CVS chat/jabberd2/distinfo wip/jabberd2/distinfo
--- chat/jabberd2/distinfo      2009-07-28 10:42:13.000000000 -0500
+++ wip/jabberd2/distinfo       2009-07-31 22:36:27.000000000 -0500
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.16 2009/07/24 19:05:53 gdt Exp $
+$NetBSD: distinfo,v 1.14 2007/08/27 08:41:06 xtraeme Exp $
 
-SHA1 (jabberd-2.1.24.tar.bz2) = fa93dc53d7443a96494baecabfd311769abfd6b6
-RMD160 (jabberd-2.1.24.tar.bz2) = 3608e8df96dfd14a57f066e85304e22aa4aa6d1b
-Size (jabberd-2.1.24.tar.bz2) = 649648 bytes
-SHA1 (patch-aa) = 524ac9a1c82914728aff96be527d624cb0ab648e
-SHA1 (patch-ab) = de1c8ec12b55117223bcca2071499c42ab145a34
-SHA1 (patch-ac) = e6e006bf73c345bb3bf873e389885c7f64bad11c
-SHA1 (patch-ad) = db126c24dcf85c0c3c790b5b8723c6ae4da59453
-SHA1 (patch-ae) = 8cab0e740a173b76d44eea03e4b5084967b3168a
-SHA1 (patch-af) = 0a606630727c1895fdf39d7ebdd2355540cd49d0
-SHA1 (patch-ag) = 28806cee8ac25a435ebf37de5744c2e893e8968b
+SHA1 (jabberd-2.2.9.tar.bz2) = 1da9da3305e6fd402336ffba402b80dc767afa27
+RMD160 (jabberd-2.2.9.tar.bz2) = 7b8075653d14dbdf491d96b28894d5450a374a91
+Size (jabberd-2.2.9.tar.bz2) = 653992 bytes
+SHA1 (patch-aa) = e069e26e9c88a48baee9b9eb8ebbc9a403e91f9f
+SHA1 (patch-ab) = c33cefcb0ddbcec732e475eaf5b931cdc8dd6cc7
+SHA1 (patch-ac) = 7fce39dc745cf1e9cd793150840eac1543f3b597
+SHA1 (patch-ad) = 2930f23bc8616ba2a5783cc8bb2a42c5d1c5eff7
+SHA1 (patch-ae) = 0c57279c309ef4f6a226d65a491fd040e03ae4f0
+SHA1 (patch-ag) = 64c5338daa59a5eb1eed70608ac766df36dc2f83
diff -Nrbuw -x CVS chat/jabberd2/files/jabberd.sh wip/jabberd2/files/jabberd.sh
--- chat/jabberd2/files/jabberd.sh      2007-11-15 06:57:22.000000000 -0600
+++ wip/jabberd2/files/jabberd.sh       2008-06-10 07:06:19.000000000 -0500
@@ -36,7 +36,7 @@
        done
 }
 
-COMMAND_LIST="resolver router c2s s2s sm"
+COMMAND_LIST="router c2s s2s sm"
 
 name="jabberd"
 start_cmd="forward_commands"
diff -Nrbuw -x CVS chat/jabberd2/files/resolver.sh 
wip/jabberd2/files/resolver.sh
--- chat/jabberd2/files/resolver.sh     2004-06-26 06:21:46.000000000 -0500
+++ wip/jabberd2/files/resolver.sh      1969-12-31 18:00:00.000000000 -0600
@@ -1,42 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: resolver.sh,v 1.2 2004/06/26 11:21:46 abs Exp $
-#
-# PROVIDE: resolver
-# REQUIRE: DAEMON c2s
-
-if [ -f /etc/rc.subr ]; then
-       . /etc/rc.subr
-fi
-
-name="resolver"
-rcvar=$name
-command="@PREFIX@/bin/${name}"
-required_files="@PKG_SYSCONFDIR@/${name}.xml"
-extra_commands="reload"
-command_args="2>&1 > /dev/null &"
-resolver_user="@JABBERD_USER@"
-pidfile="@JABBERD_PIDDIR@/${name}.pid"
-stop_postcmd="remove_pidfile"
-start_precmd="ensure_piddir"
-
-ensure_piddir()
-{
-       mkdir -p @JABBERD_PIDDIR@
-       chown @JABBERD_USER@ @JABBERD_PIDDIR@
-}
-
-remove_pidfile()
-{ 
-        if [ -f @JABBERD_PIDDIR@/${name}.pid ]; then
-            rm -f @JABBERD_PIDDIR@/${name}.pid
-        fi
-}
-
-if [ -f /etc/rc.subr ]; then
-       load_rc_config $name
-       run_rc_command "$1"
-else
-       @ECHO@ -n " ${name}"
-       ${command} ${resolver_flags} ${command_args}
-fi
diff -Nrbuw -x CVS chat/jabberd2/files/sm.sh wip/jabberd2/files/sm.sh
--- chat/jabberd2/files/sm.sh   2008-03-08 16:20:02.000000000 -0600
+++ wip/jabberd2/files/sm.sh    2007-12-09 01:25:35.000000000 -0600
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: sm.sh,v 1.3 2008/03/08 22:20:02 gdt Exp $
+# $NetBSD: sm.sh,v 1.2 2004/06/26 11:21:46 abs Exp $
 #
 # PROVIDE: sm
 # REQUIRE: DAEMON c2s
@@ -35,8 +35,6 @@
 
 if [ -f /etc/rc.subr ]; then
        load_rc_config $name
-       # XXX Previous commands seem to complete but not be ready.
-       sleep 5
        run_rc_command "$1"
 else
        @ECHO@ -n " ${name}"
diff -Nrbuw -x CVS chat/jabberd2/options.mk wip/jabberd2/options.mk
--- chat/jabberd2/options.mk    2008-05-27 08:23:43.000000000 -0500
+++ wip/jabberd2/options.mk     2009-07-01 16:58:58.000000000 -0500
@@ -1,30 +1,39 @@
-# $NetBSD: options.mk,v 1.21 2008/05/27 13:23:43 obache Exp $
-#
+# $NetBSD: options.mk,v 1.18 2007/08/26 09:10:54 xtraeme Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.jabberd2
-PKG_OPTIONS_REQUIRED_GROUPS=   auth storage
+PKG_OPTIONS_REQUIRED_GROUPS=   auth storage sasl
 # 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=                sasl-cyrus sasl-gnu
+# debugging
 PKG_SUPPORTED_OPTIONS+=                debug
-PKG_SUGGESTED_OPTIONS=         auth-sqlite storage-sqlite
+PKG_SUGGESTED_OPTIONS=         auth-sqlite storage-sqlite sasl-gnu
 
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=           db ldap mysql pam pgsql sqlite
 
+.if !empty(PKG_OPTIONS:Msasl-cyrus)
+CONFIGURE_ARGS+=       --with-sasl=cyrus
+.  include "../../security/cyrus-sasl/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msasl-gnu)
+CONFIGURE_ARGS+=       --with-sasl=gsasl
+.  include "../../security/gsasl/buildlink3.mk"
+.endif
+
 .if !empty(PKG_OPTIONS:Mauth-db) || !empty(PKG_OPTIONS:Mstorage-db)
-.  include "../../databases/db4/buildlink3.mk"
-# XXX: configure script is broken, always using -ldb even if detect db4.
-SUBST_CLASSES+=                fixdb
-SUBST_STAGE.fixdb=     pre-configure
-SUBST_FILES.fixdb=     storage/Makefile.in
-SUBST_SED.fixdb=       -e "s|@DB_LIBS@|${BUILDLINK_LDADD.db4}|g"
-PLIST.db=              yes
 CONFIGURE_ARGS+=       --enable-db
+PLIST.db=              yes
+BDB_ACCEPTED=          db4
+BUILDLINK_TRANSFORM+=  l:db:db4
+.  include "../../databases/db4/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --disable-db
 .endif
@@ -72,4 +81,5 @@
 
 .if !empty(PKG_OPTIONS:Mdebug)
 CONFIGURE_ARGS+=       --enable-debug
+CONFIGURE_ARGS+=       --enable-developer
 .endif
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-aa wip/jabberd2/patches/patch-aa
--- chat/jabberd2/patches/patch-aa      2009-07-28 10:42:13.000000000 -0500
+++ wip/jabberd2/patches/patch-aa       2009-07-21 21:23:28.000000000 -0500
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.6 2009/07/24 19:05:53 gdt Exp $
+$NetBSD$
 
---- Makefile.in.orig   2008-04-24 17:26:15.000000000 -0400
+--- Makefile.in.orig   2009-07-05 16:54:47.000000000 -0500
 +++ Makefile.in
-@@ -194,7 +194,7 @@ target_alias = @target_alias@
+@@ -201,7 +201,7 @@ top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
- 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
+ EXTRA_DIST = Doxyfile.in README.win32 README.protocol contrib UPGRADE 
tests/Makefile.in
+-SUBDIRS = etc man $(am__append_1) tools mio sx util c2s router s2s sm \
++SUBDIRS = man $(am__append_1) tools mio sx util c2s router s2s sm \
+       storage
  all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
- 
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-ab wip/jabberd2/patches/patch-ab
--- chat/jabberd2/patches/patch-ab      2004-03-28 13:44:07.000000000 -0600
+++ wip/jabberd2/patches/patch-ab       2008-06-05 18:41:20.000000000 -0500
@@ -1,18 +1,16 @@
 $NetBSD: patch-ab,v 1.1.1.1 2004/03/28 19:44:07 xtraeme Exp $
 
---- etc/jabberd.cfg.in.orig    2003-09-27 11:12:14.000000000 +0200
-+++ etc/jabberd.cfg.in 2003-09-27 11:15:29.000000000 +0200
-@@ -12,8 +12,8 @@
+--- etc/jabberd.cfg.in.orig
++++ etc/jabberd.cfg.in
+@@ -12,7 +12,7 @@
  # program   [ path to config file ]
  #
  
 -@jabberd_router_bin@      @sysconfdir@/router.xml
--@jabberd_resolver_bin@    @sysconfdir@/resolver.xml
 -@jabberd_sm_bin@          @sysconfdir@/sm.xml
 -@jabberd_s2s_bin@         @sysconfdir@/s2s.xml
 -@jabberd_c2s_bin@         @sysconfdir@/c2s.xml
 +router                @PKG_SYSCONFDIR@/router.xml
-+resolver      @PKG_SYSCONFDIR@/resolver.xml
 +sm            @PKG_SYSCONFDIR@/sm.xml
 +s2s           @PKG_SYSCONFDIR@/s2s.xml
 +c2s           @PKG_SYSCONFDIR@/c2s.xml
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-ac wip/jabberd2/patches/patch-ac
--- chat/jabberd2/patches/patch-ac      2008-02-20 08:33:04.000000000 -0600
+++ wip/jabberd2/patches/patch-ac       2009-07-21 21:28:17.000000000 -0500
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2008/02/20 14:33:04 xtraeme Exp $
+$NetBSD$
 
---- etc/sm.xml.in.orig 2008-01-08 04:23:48.000000000 -0600
+--- etc/sm.xml.in.orig 2009-07-05 16:54:18.000000000 -0500
 +++ etc/sm.xml.in
-@@ -8,7 +8,7 @@
+@@ -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) -->
@@ -11,7 +11,7 @@
  
    <!-- Router connection configuration -->
    <router>
-@@ -30,7 +30,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 @@
      -->
  
      <!-- Router connection retry -->
-@@ -63,7 +63,7 @@
+@@ -60,7 +60,7 @@
  
      <!-- If logging to file, this is the filename of the logfile -->
      <!--
@@ -29,16 +29,7 @@
      -->
    </log>
  
-@@ -152,7 +152,7 @@
-     <!-- Berkeley DB driver 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
-@@ -177,7 +177,7 @@
+@@ -114,7 +114,7 @@
      <!-- SQLite driver configuration -->
      <sqlite>
        <!-- Database name -->
@@ -47,7 +38,25 @@
  
        <!-- Transacation support. If this is commented out, transactions
             will be disabled. This might make database accesses faster,
-@@ -625,7 +625,7 @@
+@@ -180,7 +180,7 @@
+          implementation does not implement the 'count' callback). -->
+     <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
+@@ -205,7 +205,7 @@
+     <!-- Filesystem driver configuration -->
+     <fs>
+       <!-- Directory to store database files under. -->
+-      <path>@localstatedir@/lib/jabberd2/fs</path>
++      <path>@DBDIR@/fs</path>
+     </fs>
+ 
+     <!-- LDAPVCARD driver configuration -->
+@@ -667,7 +667,7 @@
  
        <!-- If you defined publish, you should comment <roster> -->
        <!--
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-ad wip/jabberd2/patches/patch-ad
--- chat/jabberd2/patches/patch-ad      2008-02-20 08:33:04.000000000 -0600
+++ wip/jabberd2/patches/patch-ad       2009-07-31 22:35:46.000000000 -0500
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.3 2008/02/20 14:33:04 xtraeme Exp $
+$NetBSD$
 
---- etc/s2s.xml.in.orig        2008-01-08 04:23:48.000000000 -0600
+--- etc/s2s.xml.in.orig        2009-07-05 16:54:18.000000000 -0500
 +++ etc/s2s.xml.in
 @@ -5,7 +5,7 @@
  
@@ -29,7 +29,7 @@
      -->
    </log>
  
-@@ -104,7 +104,7 @@
+@@ -106,7 +106,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,7 +38,7 @@
      -->
  
      <!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
-@@ -115,7 +115,7 @@
+@@ -117,7 +117,7 @@
      <!-- File containing an optional SSL certificate chain file for SSL
           connections. -->
      <!--
@@ -47,7 +47,7 @@
      -->
  
    </local>
-@@ -190,7 +190,7 @@
+@@ -227,7 +227,7 @@
    <stats>
      <!-- file containing count of packets that went through -->
      <!--
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-ae wip/jabberd2/patches/patch-ae
--- chat/jabberd2/patches/patch-ae      2008-02-20 08:33:04.000000000 -0600
+++ wip/jabberd2/patches/patch-ae       2008-07-16 11:45:47.000000000 -0500
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.4 2008/02/20 14:33:04 xtraeme Exp $
+$NetBSD$
 
---- etc/router.xml.in.orig     2008-01-08 04:23:48.000000000 -0600
+--- etc/router.xml.in.orig     2008-07-16 04:36:58.000000000 -0500
 +++ etc/router.xml.in
 @@ -5,7 +5,7 @@
  
@@ -38,11 +38,12 @@
      -->
    </local>
  
-@@ -185,6 +185,6 @@
+@@ -191,7 +191,7 @@
  
    <!-- 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>
+   </aci>
+ 
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-af wip/jabberd2/patches/patch-af
--- chat/jabberd2/patches/patch-af      2008-02-20 08:33:04.000000000 -0600
+++ wip/jabberd2/patches/patch-af       1969-12-31 18:00:00.000000000 -0600
@@ -1,31 +0,0 @@
-$NetBSD: patch-af,v 1.3 2008/02/20 14:33:04 xtraeme Exp $
-
---- 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>
-@@ -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. -->
-     <!--
--    <pemfile>@sysconfdir@/server.pem</pemfile>
-+    <pemfile>@SSLCERTS@/server.pem</pemfile>
-     -->
- 
-     <!-- Router connection retry -->
-@@ -60,7 +60,7 @@
- 
-     <!-- If logging to file, this is the filename of the logfile -->
-     <!--
--    <file>@localstatedir@/jabberd/log/resolver.log</file>
-+    <file>@LOGDIR@/resolver.log</file>
-     -->
-   </log>
- 
diff -Nrbuw -x CVS chat/jabberd2/patches/patch-ag wip/jabberd2/patches/patch-ag
--- chat/jabberd2/patches/patch-ag      2008-02-20 08:33:04.000000000 -0600
+++ wip/jabberd2/patches/patch-ag       2009-07-31 22:36:19.000000000 -0500
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.7 2008/02/20 14:33:04 xtraeme Exp $
+$NetBSD$
 
---- etc/c2s.xml.in.orig        2008-02-03 08:23:09.000000000 -0600
+--- etc/c2s.xml.in.orig        2009-07-05 16:54:18.000000000 -0500
 +++ etc/c2s.xml.in
 @@ -5,7 +5,7 @@
  
@@ -29,7 +29,7 @@
      -->
    </log>
  
-@@ -118,7 +118,7 @@
+@@ -125,7 +125,7 @@
      <id register-enable='true'>localhost.localdomain</id>
      <!-- or
      <id realm='company.int'
@@ -38,7 +38,7 @@
          verify-mode='7'
          require-starttls='true'
          register-enable='true'
-@@ -157,7 +157,7 @@
+@@ -164,7 +164,7 @@
           use STARTTLS over the standard XMPP port 5222 then you
           MUST specify the pemfile in the 'id' tag above. -->
      <!--
@@ -47,7 +47,7 @@
      -->
  
      <!-- SSL verify mode - see SSL_CTX_set_verify(3), mode parameter -->
-@@ -284,7 +284,7 @@
+@@ -312,7 +312,7 @@
    <stats>
      <!-- file containing count of packets that went through -->
      <!--
@@ -56,7 +56,7 @@
      -->
    </stats>
  
-@@ -393,7 +393,7 @@
+@@ -382,7 +382,7 @@
      <!-- SQLite driver configuration -->
      <sqlite>
        <!-- Database name -->
@@ -65,7 +65,7 @@
  
        <!-- Transacation support. If this is commented out, transactions
             will be disabled. This might make database accesses faster,
-@@ -407,7 +407,7 @@
+@@ -459,7 +459,7 @@
      <!-- Berkeley DB module configuration -->
      <db>
        <!-- Directory to store database files under -->
@@ -74,7 +74,7 @@
  
        <!-- Synchronize the database to disk after each write. If you
             disable this, database accesses may be faster, but data may
-@@ -535,7 +535,7 @@
+@@ -587,7 +587,7 @@
      <!-- Pipe module configuration -->
      <pipe>
        <!-- Program to execute -->


Home | Main Index | Thread Index | Old Index