pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2009Q4]: pkgsrc/chat/ejabberd Pullup ticket #3054 - requested ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5fa5016add3
branches: pkgsrc-2009Q4
changeset: 569297:e5fa5016add3
user: tron <tron%pkgsrc.org@localhost>
date: Mon Mar 15 10:21:58 2010 +0000
description:
Pullup ticket #3054 - requested by martti
ejabberd: security update
Revisions pulled up:
- chat/ejabberd/Makefile 1.17-1.19
- chat/ejabberd/PLIST 1.11
- chat/ejabberd/distinfo 1.11-1.12
- chat/ejabberd/patches/patch-aa 1.6-1.7
- chat/ejabberd/patches/patch-ad 1.5
- chat/ejabberd/patches/patch-ae 1.5
---
Module Name: pkgsrc
Committed By: dmcmahill
Date: Mon Mar 8 17:30:23 UTC 2010
Modified Files:
pkgsrc/chat/ejabberd: Makefile
pkgsrc/chat/ejabberd/patches: patch-aa
Log Message:
use BSD_INSTALL_SCRIPT instead of BSD_INSTALL_DATA for a shell script
---
Module Name: pkgsrc
Committed By: spz
Date: Thu Mar 11 06:33:04 UTC 2010
Modified Files:
pkgsrc/chat/ejabberd: distinfo
Log Message:
updated patch -> distinfo needs an update too
---
odule Name: pkgsrc
Committed By: fhajny
Date: Sat Mar 13 21:05:49 UTC 2010
Modified Files:
pkgsrc/chat/ejabberd: Makefile PLIST distinfo
pkgsrc/chat/ejabberd/patches: patch-aa patch-ad patch-ae
Log Message:
Updated chat/ejabberd to 2.1.3.
Changes in ejabberd-2.1.3
Client connections
* Avoid 'invalid' value in iq record
* Avoid resending stream:error stanzas on terminate (EJAB-1180)
* Close also legacy sessions that were half connected (EJAB-1165)
* iq_query_info/1 now returns 'invalid' if XMLNS is invalid
* New ejabberd_c2s option support: max_fsm_queue
* Rewrite mnesia counter functions to use dirty_update_counter (EJAB-1177)
* Run user_receive_packet also when sending offline messages (EJAB-1193)
* Use p1_fsm behaviour in c2s FSM (EJAB-1173)
Clustering
* Fix cluster race condition in route read
* New command to set master Mnesia node
* Use mnesia:async_dirty when cleaning table from failed node
Documentation
* Add quotes in documentation of some erl arguments (EJAB-1191)
* Add option access_from (EJAB-1187)
* Add option max_fsm_queue (EJAB-1185)
* Fix documentation installation, no need for executable permission
(EJAB-1170)
* Fix typo in EJABBERD_BIN_PATH (EJAB-891)
* Fix typos in example config comments (EJAB-1192)
ejabberdctl
* Support concurrent connections with bound connection names
* Add support for Jot in ctl and TTY in debug
* Support help command names with old - characters
* Fix to really use the variable ERL_PROCESSES
Erlang compatibility
* Don't call queue:filter/2 to keep compatibility with older Erlang versions
* Use alternative of file:read_line/1 to not require R13B02
HTTP
* Add new debugging hook to the http receiving process
* Allow a request_handler to serve a file in root of HTTP
HTTP-Bind (BOSH)
* Cross-domain HTTP-Bind support (EJAB-1168)
* Hibernate http-bind process after handling a request
* Reduce verbosity of HTTP Binding log messages
LDAP
* Document ldap_dn_filter, fetch only needed attributes in search
(EJAB-1204)
* Use "%u" pattern as default for ldap_uids (EJAB-1203)
Localization
* Fix German translation (EJAB-1195)
* Fix Russian translation
ODBC
* Fix MSSQL support, which was broken (EJAB-1201)
* Improved SQL reconnect behaviour
Pubsub, PEP and Caps
* Add extended stanza addressing 'replyto' on PEP (EJAB-1198)
* Add pubsub#purge_offline (EJAB-1186)
* Fix pubsub#title option (EJAB-1190)
* Fix remove_user for node subscriptions (EJAB-1172)
* Optimizations in mod_caps
Other
* mod_register: Add new acl access_from, default is to deny
* mod_sic: new module for the experimental XEP-0279 Server IP Check
(EJAB-1205)
* PIEFXIS: Catch errors when exporting to PIEFXIS file (EJAB-1178)
* Proxy65: new option "hostname" (EJAB-838)
* Roster: Fix resending authorization problem
* Shared Roster Groups: get contacts nickname from vcard (EJAB-114)
* S2S: Improved s2s connections clean up (EJAB-1202)
Changes in ejabberd-2.1.2
Core
* Close sessions that were half connected
* Fix SASL PLAIN authentication message for RFC4616 compliance
* Fix support for old Erlang/OTP R10 and R11
* Return proper error (not 'conflict') when register is forbidden by ACL
* When ejabberd stops, send stream close to clients
ejabberdctl
* Check for EGID in ejabberdctl command
* Command to stop ejabberd informing users, with grace period
* If there's a problem in config file, display config lines and stop node
MUC
* Kick occupants with reason when room is stopped due to MUC shutdown
* Write in room log when a room is created, destroyed, started, stopped
PubSub and PEP
* Don't call gen_server on internal event (improves performance and
scalability)
* Fix duplicate SHIM header in Pubsub message
* Notification messages of Pubsub node config change contained a SHIM
header
* SubID SHIM header missing in Pubsub message with multiple subscriptions
on the same node
* PEP: last published item not sent from unavailable users when the
subscription is implicit (XEP-0115)
* pep_mapping not working due to Node type mismatch
WebAdmin
* If big offline message queue, show only subset on WebAdmin
* Support in user list page of WebAdmin when mod_offline is disabled
---
Module Name: pkgsrc
Committed By: martti
Date: Mon Mar 15 06:27:55 UTC 2010
Modified Files:
pkgsrc/chat/ejabberd: Makefile
Log Message:
Reset MAINTAINER.
diffstat:
chat/ejabberd/Makefile | 10 ++++++----
chat/ejabberd/PLIST | 6 +++++-
chat/ejabberd/distinfo | 14 +++++++-------
chat/ejabberd/patches/patch-aa | 34 ++++++++++++++++++++++------------
chat/ejabberd/patches/patch-ad | 14 +++++++-------
chat/ejabberd/patches/patch-ae | 15 ++++++++++++---
6 files changed, 59 insertions(+), 34 deletions(-)
diffs (253 lines):
diff -r 50681def66f2 -r e5fa5016add3 chat/ejabberd/Makefile
--- a/chat/ejabberd/Makefile Tue Mar 09 10:52:22 2010 +0000
+++ b/chat/ejabberd/Makefile Mon Mar 15 10:21:58 2010 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.15 2009/12/23 21:02:20 fhajny Exp $
+# $NetBSD: Makefile,v 1.15.2.1 2010/03/15 10:21:58 tron Exp $
-DISTNAME= ejabberd-2.1.1
+DISTNAME= ejabberd-2.1.3
CATEGORIES= chat
-MASTER_SITES= http://www.process-one.net/downloads/ejabberd/2.1.1/
+MASTER_SITES= http://www.process-one.net/downloads/ejabberd/2.1.3/
-MAINTAINER= martti%NetBSD.org@localhost
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.ejabberd.im/
COMMENT= Free and Open Source distributed fault-tolerant Jabber server
LICENSE= gnu-gpl-v2
@@ -105,7 +105,9 @@
SUBST_FILES.paths+= doc/guide.tex
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_SED.paths+= -e 's,@JABBERD_LOGDIR@,${EJABBERD_LOGDIR},g'
+SUBST_SED.paths+= -e 's,@EJABBERD_DBDIR@,${EJABBERD_DB},g'
SUBST_SED.paths+= -e 's,@EJABBERD_LOGDIR@,${EJABBERD_LOGDIR},g'
+SUBST_SED.paths+= -e 's,@EJABBERD_PIDDIR@,${EJABBERD_PIDDIR},g'
SUBST_SED.paths+= -e 's,@EJABBERD_DB@,${EJABBERD_DB},g'
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@DISTNAME@,${DISTNAME},g'
diff -r 50681def66f2 -r e5fa5016add3 chat/ejabberd/PLIST
--- a/chat/ejabberd/PLIST Tue Mar 09 10:52:22 2010 +0000
+++ b/chat/ejabberd/PLIST Mon Mar 15 10:21:58 2010 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2009/12/23 21:02:20 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.10.2.1 2010/03/15 10:21:58 tron Exp $
lib/erlang/lib/${PKGNAME}/ebin/ELDAPv3.beam
lib/erlang/lib/${PKGNAME}/ebin/XmppAddr.beam
lib/erlang/lib/${PKGNAME}/ebin/acl.beam
@@ -107,6 +107,7 @@
lib/erlang/lib/${PKGNAME}/ebin/mod_roster_odbc.beam
lib/erlang/lib/${PKGNAME}/ebin/mod_service_log.beam
lib/erlang/lib/${PKGNAME}/ebin/mod_shared_roster.beam
+lib/erlang/lib/${PKGNAME}/ebin/mod_sic.beam
lib/erlang/lib/${PKGNAME}/ebin/mod_stats.beam
lib/erlang/lib/${PKGNAME}/ebin/mod_time.beam
lib/erlang/lib/${PKGNAME}/ebin/mod_vcard.beam
@@ -165,6 +166,7 @@
lib/erlang/lib/${PKGNAME}/include/mod_roster.hrl
lib/erlang/lib/${PKGNAME}/include/web/ejabberd_http.hrl
lib/erlang/lib/${PKGNAME}/include/web/ejabberd_web_admin.hrl
+lib/erlang/lib/${PKGNAME}/include/web/http_bind.hrl
lib/erlang/lib/${PKGNAME}/priv/bin/captcha.sh
lib/erlang/lib/${PKGNAME}/priv/lib/ejabberd_zlib_drv.so
lib/erlang/lib/${PKGNAME}/priv/lib/expat_erl.so
@@ -220,6 +222,8 @@
share/doc/ejabberd/release_notes_2.0.5.txt
share/doc/ejabberd/release_notes_2.1.0.txt
share/doc/ejabberd/release_notes_2.1.1.txt
+share/doc/ejabberd/release_notes_2.1.2.txt
+share/doc/ejabberd/release_notes_2.1.3.txt
share/doc/ejabberd/webadmmain.png
share/doc/ejabberd/webadmmainru.png
share/doc/ejabberd/yozhikheader.png
diff -r 50681def66f2 -r e5fa5016add3 chat/ejabberd/distinfo
--- a/chat/ejabberd/distinfo Tue Mar 09 10:52:22 2010 +0000
+++ b/chat/ejabberd/distinfo Mon Mar 15 10:21:58 2010 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2009/12/23 21:02:20 fhajny Exp $
+$NetBSD: distinfo,v 1.10.2.1 2010/03/15 10:21:58 tron Exp $
-SHA1 (ejabberd-2.1.1.tar.gz) = 09cf5a151a7ed5c550939549b8de2c7d9519e4c2
-RMD160 (ejabberd-2.1.1.tar.gz) = d3566425ab18744ad28e520d40766d047d2bad95
-Size (ejabberd-2.1.1.tar.gz) = 2224808 bytes
-SHA1 (patch-aa) = f0c8f884f43d31e77456f273d2037595432b10ea
-SHA1 (patch-ad) = 64e4795488cb21ee343f35e43aab08a713d5e65b
-SHA1 (patch-ae) = 362f19c23338154f0683cb2e97e6fc66fdae68a4
+SHA1 (ejabberd-2.1.3.tar.gz) = 77fdf18c0bb3b25cf9045e0c833ba4d82f180469
+RMD160 (ejabberd-2.1.3.tar.gz) = c57672928e30f71ec66636dd5e76adb802f17b03
+Size (ejabberd-2.1.3.tar.gz) = 2243874 bytes
+SHA1 (patch-aa) = 9bedb8f7ba32ad940ada86d00565a5dd521c7b16
+SHA1 (patch-ad) = 9108a39e78c57b78202eabc9ee7036baf1a3b144
+SHA1 (patch-ae) = ca6c8e35b3a72924eb8844f0a0111e87278285fa
diff -r 50681def66f2 -r e5fa5016add3 chat/ejabberd/patches/patch-aa
--- a/chat/ejabberd/patches/patch-aa Tue Mar 09 10:52:22 2010 +0000
+++ b/chat/ejabberd/patches/patch-aa Mon Mar 15 10:21:58 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2009/12/15 13:30:54 fhajny Exp $
+$NetBSD: patch-aa,v 1.5.2.1 2010/03/15 10:21:58 tron Exp $
---- src/Makefile.in.orig 2009-11-06 19:53:19.000000000 +0000
+--- src/Makefile.in.orig 2010-03-12 10:40:41.000000000 +0000
+++ src/Makefile.in
@@ -59,7 +59,7 @@ endif
@@ -27,23 +27,27 @@
# /share/doc/ejabberd
PACKAGE_TARNAME = @PACKAGE_TARNAME@
-@@ -108,13 +108,13 @@ SODIR = $(PRIVDIR)/lib
+@@ -108,16 +108,16 @@ SODIR = $(PRIVDIR)/lib
MSGSDIR = $(PRIVDIR)/msgs
# /var/lib/ejabberd/
-SPOOLDIR = $(DESTDIR)@localstatedir@/lib/ejabberd
-+SPOOLDIR = @EJABBERD_VARDIR@/spool/ejabberd/db/$NODE
++SPOOLDIR = $(DESTDIR)@EJABBERD_DB@
+
+ # /var/lock/ejabberdctl
+-CTLLOCKDIR = $(DESTDIR)@localstatedir@/lock/ejabberdctl
++CTLLOCKDIR = $(DESTDIR)@EJABBERD_PIDDIR@
# /var/lib/ejabberd/.erlang.cookie
COOKIEFILE = $(SPOOLDIR)/.erlang.cookie
# /var/log/ejabberd/
-LOGDIR = $(DESTDIR)@localstatedir@/log/ejabberd
-+LOGDIR = $(DESTDIR)/@JABBERD_LOGDIR@
++LOGDIR = $(DESTDIR)@JABBERD_LOGDIR@
# Assume Linux-style dynamic library flags
DYNAMIC_LIB_CFLAGS = -fpic -shared
-@@ -167,10 +167,10 @@ translations:
+@@ -170,10 +170,10 @@ translations:
install: all
#
# Configuration files
@@ -57,7 +61,7 @@
sed -e "s*@rootdir@*@prefix@*" \
-e "s*@installuser@*@INSTALLUSER@*" \
-e "s*@LIBDIR@*@libdir@*" \
-@@ -180,13 +180,13 @@ install: all
+@@ -183,13 +183,13 @@ install: all
-e "s*@erl@*@ERL@*" ejabberdctl.template \
> ejabberdctl.example
[ -f $(ETCDIR)/ejabberdctl.cfg ] \
@@ -72,11 +76,11 @@
- [ -d $(SBINDIR) ] || install -d -m 755 $(SBINDIR)
- install -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
+ [ -d $(SBINDIR) ] || $(BSD_INSTALL_DATA_DIR) -m 755 $(SBINDIR)
-+ $(BSD_INSTALL_DATA) -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
++ $(BSD_INSTALL_SCRIPT) -m 555 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
#
# Init script
sed -e "s*@ctlscriptpath@*$(SBINDIR)*" \
-@@ -194,54 +194,48 @@ install: all
+@@ -197,59 +197,53 @@ install: all
> ejabberd.init
#
# Binary Erlang files
@@ -139,6 +143,12 @@
+ $(BSD_INSTALL_DATA_DIR) $(MSGSDIR)
+ $(BSD_INSTALL_DATA) -m 644 msgs/*.msg $(MSGSDIR)
#
+ # ejabberdctl lock directory
+- install -d -m 750 $(O_USER) $(CTLLOCKDIR)
++ $(BSD_INSTALL_DATA_DIR) -m 750 ${O_USER} ${CTLLOCKDIR}
+ $(CHOWN_COMMAND) -R @INSTALLUSER@ $(CTLLOCKDIR) >$(CHOWN_OUTPUT)
+ chmod -R 750 $(CTLLOCKDIR)
+ #
# Log directory
- install -d -m 750 $(O_USER) $(LOGDIR)
+ $(BSD_INSTALL_DATA_DIR) -m 750 $(O_USER) $(LOGDIR)
@@ -147,9 +157,9 @@
#
# Documentation
- install -d $(DOCDIR)
-- install ../doc/guide.html $(DOCDIR)
-- install ../doc/*.png $(DOCDIR)
-- install ../doc/*.txt $(DOCDIR)
+- install -m 644 ../doc/guide.html $(DOCDIR)
+- install -m 644 ../doc/*.png $(DOCDIR)
+- install -m 644 ../doc/*.txt $(DOCDIR)
+ $(BSD_INSTALL_DATA_DIR) $(DOCDIR)
+ $(BSD_INSTALL_DATA) ../doc/guide.html $(DOCDIR)
+ $(BSD_INSTALL_DATA) ../doc/*.png $(DOCDIR)
diff -r 50681def66f2 -r e5fa5016add3 chat/ejabberd/patches/patch-ad
--- a/chat/ejabberd/patches/patch-ad Tue Mar 09 10:52:22 2010 +0000
+++ b/chat/ejabberd/patches/patch-ad Mon Mar 15 10:21:58 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.4 2009/12/15 13:30:54 fhajny Exp $
+$NetBSD: patch-ad,v 1.4.2.1 2010/03/15 10:21:58 tron Exp $
---- src/ejabberd.cfg.example.orig 2009-11-06 19:53:19.000000000 +0000
+--- src/ejabberd.cfg.example.orig 2010-03-12 10:40:41.000000000 +0000
+++ src/ejabberd.cfg.example
@@ -109,7 +109,6 @@
[
@@ -8,11 +8,11 @@
{5222, ejabberd_c2s, [
-
%%
- %% If TLS is compiled and you installed a SSL
- %% certificate, put the correct path to the
+ %% If TLS is compiled in and you installed a SSL
+ %% certificate, specify the full path to the
@@ -125,12 +124,12 @@
%%
- %% To enable the old SSL connection method in port 5223:
+ %% To enable the old SSL connection method on port 5223:
%%
- %%{5223, ejabberd_c2s, [
- %% {access, c2s},
@@ -31,7 +31,7 @@
{shaper, s2s_shaper},
@@ -140,10 +139,10 @@
%%
- %% ejabberd_service: Interact with external components (transports...)
+ %% ejabberd_service: Interact with external components (transports, ...)
%%
- %%{8888, ejabberd_service, [
+ %%{{8888, "127.0.0.1"},
@@ -42,7 +42,7 @@
%% {hosts, ["icq.example.org", "sms.example.org"],
%% [{password, "secret"}]
%% }
-@@ -465,7 +464,7 @@
+@@ -471,7 +470,7 @@
%%
%% Full path to a script that generates the image.
%%
diff -r 50681def66f2 -r e5fa5016add3 chat/ejabberd/patches/patch-ae
--- a/chat/ejabberd/patches/patch-ae Tue Mar 09 10:52:22 2010 +0000
+++ b/chat/ejabberd/patches/patch-ae Mon Mar 15 10:21:58 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.4 2009/12/15 13:30:54 fhajny Exp $
+$NetBSD: patch-ae,v 1.4.2.1 2010/03/15 10:21:58 tron Exp $
---- src/ejabberdctl.template.orig 2009-11-16 20:25:51.344260518 +0000
+--- src/ejabberdctl.template.orig 2010-03-12 10:40:41.000000000 +0000
+++ src/ejabberdctl.template
@@ -43,10 +43,10 @@ if [ "$EJABBERDCTL_CONFIG_PATH" = "" ] ;
fi
@@ -15,7 +15,7 @@
fi
if [ "$EJABBERD_DOC_PATH" = "" ] ; then
EJABBERD_DOC_PATH=@DOCDIR@
-@@ -83,7 +83,7 @@ ERLANG_OPTS="+K $POLL -smp $SMP +P $ERL_
+@@ -86,7 +86,7 @@ ERLANG_OPTS="+K $POLL -smp $SMP +P $ERL_
# define additional environment variables
if [ "$EJABBERDDIR" = "" ]; then
@@ -24,3 +24,12 @@
fi
if [ "$EJABBERD_EBIN_PATH" = "" ]; then
EJABBERD_EBIN_PATH=$EJABBERDDIR/ebin
+@@ -234,7 +234,7 @@ ctl ()
+ # using flock if available. Expects a linux-style
+ # flock that can lock a file descriptor.
+ MAXCONNID=100
+- CONNLOCKDIR=@LOCALSTATEDIR@/lock/ejabberdctl
++ CONNLOCKDIR=@EJABBERD_PIDDIR@
+ FLOCK='/usr/bin/flock'
+ if [ ! -x "$FLOCK" ] ; then
+ JOT='/usr/bin/jot'
Home |
Main Index |
Thread Index |
Old Index