pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/jabberd2 Changes 2.2.16:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/566271fd91f9
branches:  trunk
changeset: 603722:566271fd91f9
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 12 05:44:45 2012 +0000

description:
Changes 2.2.16:
* Implemented --enable-tests configure option
* Fixed 'make dist' packaging
* Fixed domain name in punycode resolution
* Expand @package@ in etc/*.xml.dist.in
* storage_ldapvcard compilation fixes
* Implement debug logging into file
* Fix invalid default router.xml (Unterminated XML comment tag)
* Fixed libstorage_la_SOURCES
* Implemented support for fake (PBX) sessions in SM
* PBX integration priority setting support
* Fix a crash that occurs when c2s connecting clients passed the defined
  connection limit
* Log S2S retry timeout to main log
* Do not log messages when not enabled or empty logfile configured

diffstat:

 chat/jabberd2/Makefile                      |  12 ++++++------
 chat/jabberd2/PLIST                         |   4 +++-
 chat/jabberd2/distinfo                      |  14 ++++++++------
 chat/jabberd2/patches/patch-Makefile.in     |  16 +++++++++-------
 chat/jabberd2/patches/patch-configure       |   6 ++++--
 chat/jabberd2/patches/patch-s2s_out.c       |  15 +++++++++++++++
 chat/jabberd2/patches/patch-sm_mod_roster.c |  15 +++++++++++++++
 7 files changed, 60 insertions(+), 22 deletions(-)

diffs (159 lines):

diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/Makefile
--- a/chat/jabberd2/Makefile    Sat May 12 05:38:00 2012 +0000
+++ b/chat/jabberd2/Makefile    Sat May 12 05:44:45 2012 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.70 2012/04/27 12:31:35 obache Exp $
+# $NetBSD: Makefile,v 1.71 2012/05/12 05:44:45 adam Exp $
 
-DISTNAME=      jabberd-2.2.14
-PKGREVISION=   2
+DISTNAME=      jabberd-2.2.16
 CATEGORIES=    chat
-MASTER_SITES=  http://codex.xiaoka.com/pub/jabberd2/releases/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  https://github.com/downloads/Jabberd2/jabberd2/
+FETCH_USING=   curl
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      http://jabberd2.xiaoka.com/
@@ -17,7 +16,7 @@
 
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
-USE_TOOLS+=            perl:run
+USE_TOOLS+=            perl:run pkg-config
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-anon
 CONFIGURE_ARGS+=       --enable-pipe
@@ -125,6 +124,7 @@
 .endfor
 
 .include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/cppunit/buildlink3.mk"
 .include "../../devel/libidn/buildlink3.mk"
 .include "../../net/udns/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/PLIST
--- a/chat/jabberd2/PLIST       Sat May 12 05:38:00 2012 +0000
+++ b/chat/jabberd2/PLIST       Sat May 12 05:44:45 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2010/06/16 07:56:29 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2012/05/12 05:44:45 adam Exp $
 bin/bdbdump.pl
 bin/c2s
 bin/jabberd
@@ -6,6 +6,7 @@
 bin/router
 bin/s2s
 bin/sm
+bin/tests
 lib/jabberd/authreg_anon.la
 ${PLIST.db}lib/jabberd/authreg_db.la
 ${PLIST.ldap}lib/jabberd/authreg_ldap.la
@@ -15,6 +16,7 @@
 ${PLIST.pgsql}lib/jabberd/authreg_pgsql.la
 ${PLIST.sqlite}lib/jabberd/authreg_sqlite.la
 lib/jabberd/authreg_pipe.la
+lib/jabberd/libstorage.la
 lib/jabberd/mod_active.la
 lib/jabberd/mod_amp.la
 lib/jabberd/mod_announce.la
diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/distinfo
--- a/chat/jabberd2/distinfo    Sat May 12 05:38:00 2012 +0000
+++ b/chat/jabberd2/distinfo    Sat May 12 05:44:45 2012 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.27 2011/06/01 11:16:09 adam Exp $
+$NetBSD: distinfo,v 1.28 2012/05/12 05:44:46 adam Exp $
 
-SHA1 (jabberd-2.2.14.tar.bz2) = 419319cf8a9ec188b50c349033567977a97d0d72
-RMD160 (jabberd-2.2.14.tar.bz2) = 29e2eaeac85dcbd8872478e64b1420c1288b8548
-Size (jabberd-2.2.14.tar.bz2) = 615984 bytes
-SHA1 (patch-Makefile.in) = 0db128003f37425a1b7b315f526828f2e328ddb4
-SHA1 (patch-configure) = 3142e9bfdaa1a147d75a3ae86db3287b25129b35
+SHA1 (jabberd-2.2.16.tar.gz) = d39f7475ec676a127e948f2c5f73d7605ec5a7f9
+RMD160 (jabberd-2.2.16.tar.gz) = c778babd0a883506f874dff56f879f800533e73c
+Size (jabberd-2.2.16.tar.gz) = 2818476 bytes
+SHA1 (patch-Makefile.in) = 10d7ad04ee5c0844e948f0302420a77a89c05b08
+SHA1 (patch-configure) = cf61b12c93c94e167c710a776128b73bb91ce0c3
+SHA1 (patch-s2s_out.c) = 89580485bc82ce57e22c382eb464b60c3820f346
+SHA1 (patch-sm_mod_roster.c) = f43d80c2abfd31d99016b4738a717d3c6db183ce
diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/patches/patch-Makefile.in
--- a/chat/jabberd2/patches/patch-Makefile.in   Sat May 12 05:38:00 2012 +0000
+++ b/chat/jabberd2/patches/patch-Makefile.in   Sat May 12 05:44:45 2012 +0000
@@ -1,13 +1,15 @@
-$NetBSD: patch-Makefile.in,v 1.1 2011/02/06 19:23:51 schnoebe Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2012/05/12 05:44:46 adam Exp $
+
+Skip etc.
 
---- Makefile.in.orig   2010-08-08 15:51:13.000000000 +0000
+--- Makefile.in.orig   2012-05-12 05:19:32.000000000 +0000
 +++ Makefile.in
-@@ -233,7 +233,7 @@ top_build_prefix = @top_build_prefix@
+@@ -247,7 +247,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 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
+ EXTRA_DIST = Doxyfile.in README.win32 README.protocol README.config contrib UPGRADE docs win32
+-SUBDIRS = etc man $(am__append_1) tools mio sx util c2s router s2s \
++SUBDIRS = man $(am__append_1) tools mio sx util c2s router s2s \
+       storage sm $(am__append_2)
  all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/patches/patch-configure
--- a/chat/jabberd2/patches/patch-configure     Sat May 12 05:38:00 2012 +0000
+++ b/chat/jabberd2/patches/patch-configure     Sat May 12 05:44:45 2012 +0000
@@ -1,8 +1,10 @@
-$NetBSD: patch-configure,v 1.3 2011/06/01 11:16:09 adam Exp $
+$NetBSD: patch-configure,v 1.4 2012/05/12 05:44:46 adam Exp $
+
+Allow -Os in CFLAGS.
 
 --- configure.orig     2011-05-31 22:11:47.000000000 +0000
 +++ configure
-@@ -10896,7 +10896,7 @@ fi
+@@ -15431,7 +15431,7 @@ fi
  # check for optimisation level
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS optimization level" >&5
  $as_echo_n "checking CFLAGS optimization level... " >&6; }
diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/patches/patch-s2s_out.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jabberd2/patches/patch-s2s_out.c     Sat May 12 05:44:45 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-s2s_out.c,v 1.3 2012/05/12 05:44:46 adam Exp $
+
+Non-void function must return a value.
+
+--- s2s/out.c.orig     2012-05-12 05:21:36.000000000 +0000
++++ s2s/out.c
+@@ -632,7 +632,7 @@ int out_packet(s2s_t s2s, pkt_t pkt) {
+             nad_free(pkt->nad);
+         free(pkt);
+ 
+-        return;
++        return -1;
+     }
+ 
+     /* new route key */
diff -r 5687d72bb068 -r 566271fd91f9 chat/jabberd2/patches/patch-sm_mod_roster.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jabberd2/patches/patch-sm_mod_roster.c       Sat May 12 05:44:45 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sm_mod_roster.c,v 1.1 2012/05/12 05:44:46 adam Exp $
+
+Void function must not return any values.
+
+--- sm/mod_roster.c.orig       2012-05-12 05:25:14.000000000 +0000
++++ sm/mod_roster.c
+@@ -460,7 +460,7 @@ static void _roster_set_item(pkt_t pkt, 
+     log_debug(ZONE, "added %s to roster (to %d from %d ask %d name %s ngroups %d)", jid_full(item->jid), item->to, item->from, item->ask, item->name, item->ngroups);
+ 
+     if (sm_storage_rate_limit(sess->user->sm, jid_user(sess->user->jid)))
+-        return -stanza_err_RESOURCE_CONSTRAINT;
++        return;
+ 
+     /* save changes */
+     _roster_save_item(sess->user, item);



Home | Main Index | Thread Index | Old Index