pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/ejabberd Updated chat/ejabberd to 2.0.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1dd80a9ef450
branches:  trunk
changeset: 556486:1dd80a9ef450
user:      martti <martti%pkgsrc.org@localhost>
date:      Sun Mar 22 10:39:43 2009 +0000

description:
Updated chat/ejabberd to 2.0.4

This version is a maintenance release containing 20 bugfixes and improvements.

http://secunia.com/advisories/34340/

diffstat:

 chat/ejabberd/Makefile         |   6 +++---
 chat/ejabberd/PLIST            |  35 +++++++++++++++++++++++++++++------
 chat/ejabberd/distinfo         |  16 ++++++++--------
 chat/ejabberd/patches/patch-ac |  24 ++++++++++++------------
 chat/ejabberd/patches/patch-ad |  14 +++++++-------
 chat/ejabberd/patches/patch-ah |  16 ++++++++--------
 chat/ejabberd/patches/patch-ai |  12 ++++++------
 7 files changed, 73 insertions(+), 50 deletions(-)

diffs (truncated from 336 to 300 lines):

diff -r 958605fe19c4 -r 1dd80a9ef450 chat/ejabberd/Makefile
--- a/chat/ejabberd/Makefile    Sun Mar 22 10:33:42 2009 +0000
+++ b/chat/ejabberd/Makefile    Sun Mar 22 10:39:43 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2009/02/09 23:05:02 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2009/03/22 10:39:43 martti Exp $
 
-DISTNAME=      ejabberd-2.0.3
+DISTNAME=      ejabberd-2.0.4
 #PKGREVISION=  1
 CATEGORIES=    chat
-MASTER_SITES=  http://www.process-one.net/downloads/ejabberd/2.0.3/
+MASTER_SITES=  http://www.process-one.net/downloads/ejabberd/2.0.4/
 
 MAINTAINER=    martti%NetBSD.org@localhost
 HOMEPAGE=      http://www.ejabberd.im/
diff -r 958605fe19c4 -r 1dd80a9ef450 chat/ejabberd/PLIST
--- a/chat/ejabberd/PLIST       Sun Mar 22 10:33:42 2009 +0000
+++ b/chat/ejabberd/PLIST       Sun Mar 22 10:39:43 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/02/03 12:07:26 martti Exp $
+@comment $NetBSD: PLIST,v 1.5 2009/03/22 10:39:43 martti Exp $
 ${EJABBERD_EXDIR}/ejabberd.cfg
 ${EJABBERD_EXDIR}/ejabberdctl.cfg
 ${EJABBERD_EXDIR}/inetrc
@@ -129,6 +129,7 @@
 lib/erlang/lib/${PKGNAME}/ebin/tls.beam
 lib/erlang/lib/${PKGNAME}/ebin/translate.beam
 lib/erlang/lib/${PKGNAME}/ebin/treap.beam
+lib/erlang/lib/${PKGNAME}/ebin/win32_dns.beam
 lib/erlang/lib/${PKGNAME}/ebin/xml.beam
 lib/erlang/lib/${PKGNAME}/ebin/xml_stream.beam
 lib/erlang/lib/${PKGNAME}/priv/lib/ejabberd_zlib_drv.so
@@ -160,20 +161,44 @@
 lib/erlang/lib/${PKGNAME}/priv/msgs/wa.msg
 lib/erlang/lib/${PKGNAME}/priv/msgs/zh.msg
 sbin/ejabberdctl
+share/doc/${PKGNAME}/COPYING
 share/doc/${PKGNAME}/Makefile
-share/doc/${PKGNAME}/COPYING
+share/doc/${PKGNAME}/api/Makefile
+share/doc/${PKGNAME}/api/overview.edoc
+share/doc/${PKGNAME}/api/process-one.css
+share/doc/${PKGNAME}/contributed_modules.aux
+share/doc/${PKGNAME}/contributed_modules.tex
+share/doc/${PKGNAME}/dev.haux
 share/doc/${PKGNAME}/dev.html
+share/doc/${PKGNAME}/dev.htoc
 share/doc/${PKGNAME}/dev.tex
 share/doc/${PKGNAME}/discorus.png
+share/doc/${PKGNAME}/features.aux
+share/doc/${PKGNAME}/features.haux
 share/doc/${PKGNAME}/features.html
+share/doc/${PKGNAME}/features.htoc
+share/doc/${PKGNAME}/features.log
+share/doc/${PKGNAME}/features.out
+share/doc/${PKGNAME}/features.pdf
 share/doc/${PKGNAME}/features.tex
 share/doc/${PKGNAME}/flow.dot
+share/doc/${PKGNAME}/guide.aux
+share/doc/${PKGNAME}/guide.haux
 share/doc/${PKGNAME}/guide.html
+share/doc/${PKGNAME}/guide.htoc
+share/doc/${PKGNAME}/guide.idx
+share/doc/${PKGNAME}/guide.ilg
+share/doc/${PKGNAME}/guide.ind
+share/doc/${PKGNAME}/guide.log
+share/doc/${PKGNAME}/guide.out
+share/doc/${PKGNAME}/guide.pdf
 share/doc/${PKGNAME}/guide.tex
+share/doc/${PKGNAME}/guide.toc
 share/doc/${PKGNAME}/introduction.tex
 share/doc/${PKGNAME}/logo.png
 share/doc/${PKGNAME}/mod_http_bind.tex
 share/doc/${PKGNAME}/mod_http_fileserver.tex
+share/doc/${PKGNAME}/release_notes_${PKGVERSION}.txt
 share/doc/${PKGNAME}/release_notes_0.9.1.txt
 share/doc/${PKGNAME}/release_notes_0.9.8.txt
 share/doc/${PKGNAME}/release_notes_0.9.txt
@@ -186,14 +211,12 @@
 share/doc/${PKGNAME}/release_notes_2.0.0.txt
 share/doc/${PKGNAME}/release_notes_2.0.1.txt
 share/doc/${PKGNAME}/release_notes_2.0.2.txt
+share/doc/${PKGNAME}/release_notes_2.0.3.txt
+share/doc/${PKGNAME}/version.aux
 share/doc/${PKGNAME}/version.tex
 share/doc/${PKGNAME}/webadmmain.png
 share/doc/${PKGNAME}/webadmmainru.png
 share/doc/${PKGNAME}/yozhikheader.png
-share/doc/${PKGNAME}/api/Makefile
-share/doc/${PKGNAME}/api/process-one.css
-share/doc/${PKGNAME}/api/overview.edoc
-share/doc/${PKGNAME}/release_notes_${PKGVERSION}.txt
 share/examples/ejabberd/ejabberd.cfg
 share/examples/ejabberd/ejabberdctl.cfg
 share/examples/ejabberd/inetrc
diff -r 958605fe19c4 -r 1dd80a9ef450 chat/ejabberd/distinfo
--- a/chat/ejabberd/distinfo    Sun Mar 22 10:33:42 2009 +0000
+++ b/chat/ejabberd/distinfo    Sun Mar 22 10:39:43 2009 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.6 2009/02/09 23:05:02 joerg Exp $
+$NetBSD: distinfo,v 1.7 2009/03/22 10:39:44 martti Exp $
 
-SHA1 (ejabberd-2.0.3.tar.gz) = ee3a503befea79378c4c8f7ce5be6151209bf474
-RMD160 (ejabberd-2.0.3.tar.gz) = e5f77715a9e74dfed5b9dbdd17ad2255d40f3d13
-Size (ejabberd-2.0.3.tar.gz) = 1089870 bytes
+SHA1 (ejabberd-2.0.4.tar.gz) = 16516c7f9723e1ca781970d54afbf580a72c9eeb
+RMD160 (ejabberd-2.0.4.tar.gz) = 05b8d1fd42724335af588bf6fa7a14e5605bf6e3
+Size (ejabberd-2.0.4.tar.gz) = 1827181 bytes
 SHA1 (patch-aa) = b3cc3c7eaffeada40f322303f6b8d7ee4624f205
-SHA1 (patch-ac) = 271640b343bdc24f6609fe9c95250a91d514bc28
-SHA1 (patch-ad) = a6504e8454878c97e434040a2f9136174b994c0d
+SHA1 (patch-ac) = 54bf662dfeaa45bcf8443507033664d729e4b47f
+SHA1 (patch-ad) = 0aa1652ec464c1c995ae81a7ea6b00d0d9e1cd0d
 SHA1 (patch-ae) = c1c615a1d2e28d05d069f2bafa30179437922536
 SHA1 (patch-af) = 908ebaaea76de53cc22a53289d3b93189767d40c
 SHA1 (patch-ag) = c6620ce3018e4c01d8c9edf6242a8cb52a55395d
-SHA1 (patch-ah) = 29b4440454a138908fe2c6937c65658e4cd689ba
-SHA1 (patch-ai) = 4b51670e283e7facd3142601d8560821b7829505
+SHA1 (patch-ah) = 29703bddcc89df1c7b8d85cebcd3efb273b14e89
+SHA1 (patch-ai) = a764916c2c9c396bc55ed4244dc7afcd14208cd3
diff -r 958605fe19c4 -r 1dd80a9ef450 chat/ejabberd/patches/patch-ac
--- a/chat/ejabberd/patches/patch-ac    Sun Mar 22 10:33:42 2009 +0000
+++ b/chat/ejabberd/patches/patch-ac    Sun Mar 22 10:39:43 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ac,v 1.3 2009/02/03 12:07:26 martti Exp $
+$NetBSD: patch-ac,v 1.4 2009/03/22 10:39:44 martti Exp $
 
 Modified to use IPv6/v4 patch (https://support.process-one.net/browse/EJAB-389)
 
---- doc/guide.tex.orig 2009-01-14 11:54:15.000000000 +0200
-+++ doc/guide.tex      2009-02-03 13:18:32.000000000 +0200
-@@ -716,34 +716,80 @@
+--- doc/guide.tex.orig 2009-03-12 08:41:02.000000000 +0000
++++ doc/guide.tex      2009-03-22 10:26:07.000000000 +0000
+@@ -713,34 +713,80 @@
  will listen and what services will be run on them. Each element of the list is a
  tuple with the following elements:
  \begin{itemize}
@@ -94,7 +94,7 @@
  This is a detailed description of each option allowed by the listening modules:
  \begin{description}
    \titem{\{access, <access rule>\}} \ind{options!access}This option defines
-@@ -789,12 +835,6 @@
+@@ -786,12 +832,6 @@
      is also needed in the \Jabber{} client. Remark also that HTTP Polling can be
      interesting to host a web-based \Jabber{} client such as
      \footahref{http://jwchat.sourceforge.net/}{JWChat}.
@@ -107,7 +107,7 @@
      \titem{\{max\_stanza\_size, Size\}}
      \ind{options!max\_stanza\_size}This option specifies an
      approximate maximum size in bytes of XML stanzas.  Approximate,
-@@ -842,7 +882,7 @@
+@@ -839,7 +879,7 @@
      option will not affect connections (there will be no stream compression).
  \end{description}
  
@@ -116,7 +116,7 @@
  \begin{description}
    \titem{\{s2s\_use\_starttls, true|false\}}
    \ind{options!s2s\_use\_starttls}\ind{STARTTLS}This option defines whether to
-@@ -863,6 +903,8 @@
+@@ -860,6 +900,8 @@
    Specified in seconds. The default value is 300 seconds (5 minutes).
  \end{description}
  
@@ -125,7 +125,7 @@
  For example, the following simple configuration defines:
  \begin{itemize}
  \item There are three domains. The default certificate file is \term{server.pem}.
-@@ -870,10 +912,10 @@
+@@ -867,10 +909,10 @@
  \item Port 5222 listens for c2s connections with STARTTLS,
    and also allows plain connections for old clients.
  \item Port 5223 listens for c2s connections with the old SSL.
@@ -138,7 +138,7 @@
  \end{itemize}
  \begin{verbatim}
  {hosts, ["example.com", "example.org", "example.net"]}.
-@@ -882,50 +924,52 @@
+@@ -879,50 +921,52 @@
    {5222, ejabberd_c2s, [
                          {access, c2s},
                          {shaper, c2s_shaper},
@@ -209,7 +209,7 @@
  \item \ind{transports!ICQ}The ICQ transport JIT (\jid{icq.example.org} and
    \jid{sms.example.org}) is connected to port 5234 with password
    `\term{jitsecret}'.
-@@ -953,13 +997,32 @@
+@@ -950,13 +994,32 @@
  {access, c2s_shaper, [{none, admin},
                        {normal, all}]}.
  {listen,
@@ -248,7 +248,7 @@
    {5234, ejabberd_service, [{hosts, ["icq.example.org", "sms.example.org"],
                               [{password, "jitsecret"}]}]},
    {5235, ejabberd_service, [{hosts, ["msn.example.org"],
-@@ -3745,7 +3808,7 @@
+@@ -3737,7 +3800,7 @@
  \item For security reasons, you can serve the Web Admin on a secured
    connection, on a port differing from the HTTP Polling interface, and bind it
    to the internal LAN IP. The Web Admin will be accessible by pointing your
@@ -257,7 +257,7 @@
  \begin{verbatim}
  
  {hosts, ["example.org"]}.
-@@ -3753,9 +3816,13 @@
+@@ -3745,9 +3808,13 @@
  {listen,
   [
    ...
diff -r 958605fe19c4 -r 1dd80a9ef450 chat/ejabberd/patches/patch-ad
--- a/chat/ejabberd/patches/patch-ad    Sun Mar 22 10:33:42 2009 +0000
+++ b/chat/ejabberd/patches/patch-ad    Sun Mar 22 10:39:43 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ad,v 1.2 2008/11/12 13:13:59 martti Exp $
+$NetBSD: patch-ad,v 1.3 2009/03/22 10:39:44 martti Exp $
 
 Modified to use IPv6/v4 patch (https://support.process-one.net/browse/EJAB-389)
 
---- src/ejabberd.cfg.example.orig      2008-11-12 15:15:04.000000000 +0200
-+++ src/ejabberd.cfg.example
-@@ -107,10 +107,9 @@
+--- src/ejabberd.cfg.example.orig      2009-03-12 08:41:02.000000000 +0000
++++ src/ejabberd.cfg.example   2009-03-22 10:27:16.000000000 +0000
+@@ -108,10 +108,9 @@
   [
  
    {5222, ejabberd_c2s, [
@@ -16,7 +16,7 @@
                        %% file and uncomment this line:
                        %%
                        %%{certfile, "/path/to/ssl.pem"}, starttls,
-@@ -123,12 +122,12 @@
+@@ -124,12 +123,12 @@
    %%
    %% To enable the old SSL connection method in port 5223:
    %%
@@ -35,7 +35,7 @@
  
    {5269, ejabberd_s2s_in, [
                           {shaper, s2s_shaper},
-@@ -138,14 +137,14 @@
+@@ -139,14 +138,14 @@
    %%
    %% ejabberd_service: Interact with external components (transports...)
    %%
@@ -58,7 +58,7 @@
  
    {5280, ejabberd_http, [
                         http_poll, 
-@@ -224,17 +223,26 @@
+@@ -225,17 +224,26 @@
  %% List of LDAP servers:
  %%{ldap_servers, ["localhost"]}.    
  %%
diff -r 958605fe19c4 -r 1dd80a9ef450 chat/ejabberd/patches/patch-ah
--- a/chat/ejabberd/patches/patch-ah    Sun Mar 22 10:33:42 2009 +0000
+++ b/chat/ejabberd/patches/patch-ah    Sun Mar 22 10:39:43 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-ah,v 1.1 2008/11/12 13:13:59 martti Exp $
+$NetBSD: patch-ah,v 1.2 2009/03/22 10:39:44 martti Exp $
 
 Modified to use IPv6/v4 patch (https://support.process-one.net/browse/EJAB-389)
 
---- src/mod_proxy65/mod_proxy65_service.erl.orig       2008-08-27 12:37:52.000000000 +0300
-+++ src/mod_proxy65/mod_proxy65_service.erl
+--- src/mod_proxy65/mod_proxy65_service.erl.orig       2009-03-12 08:41:02.000000000 +0000
++++ src/mod_proxy65/mod_proxy65_service.erl    2009-03-22 10:27:50.000000000 +0000
 @@ -52,6 +52,7 @@
          name,
          stream_addr,
@@ -12,7 +12,7 @@
          acl
         }).
  
-@@ -69,14 +70,14 @@ start_link(Host, Opts) ->
+@@ -69,14 +70,14 @@
      gen_server:start_link({local, Proc}, ?MODULE, [Host, Opts], []).
  
  init([Host, Opts]) ->
@@ -32,8 +32,8 @@
      ejabberd_router:unregister_route(MyHost),
      ok.
  
-@@ -203,12 +204,13 @@ parse_options(ServerHost, Opts) ->
-            end,
+@@ -202,12 +203,13 @@
+        end,
      StrIP = inet_parse:ntoa(IP),
      StreamAddr = [{"jid", MyHost}, {"host", StrIP}, {"port", integer_to_list(Port)}],
 -    {IP, #state{myhost      = MyHost,
@@ -46,5 +46,5 @@
 -              acl         = ACL}}.
 +              acl         = ACL}.
  
- %% Return the IP of the proxy host, or if not found, the ip of the xmpp domain
- get_proxy_or_domainip(ServerHost, MyHost) ->
+ get_my_ip() ->
+     {ok, MyHostName} = inet:gethostname(),



Home | Main Index | Thread Index | Old Index