pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2008Q4]: pkgsrc/chat/ejabberd pullup ticket #2680 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6751ff61e8f0
branches:  pkgsrc-2008Q4
changeset: 552301:6751ff61e8f0
user:      rtr <rtr%pkgsrc.org@localhost>
date:      Wed Feb 04 12:30:42 2009 +0000

description:
pullup ticket #2680 - requested by martti
ejabberd: update package

revisions pulled up:
pkgsrc/chat/ejabberd/Makefile           1.7
pkgsrc/chat/ejabberd/PLIST              1.4
pkgsrc/chat/ejabberd/distinfo           1.5
pkgsrc/chat/ejabberd/patches/patch-ab   r0
pkgsrc/chat/ejabberd/patches/patch-ac   1.3
pkgsrc/chat/ejabberd/patches/patch-ag   1.2

   Module Name:    pkgsrc
   Committed By:   martti
   Date:           Tue Feb  3 12:07:26 UTC 2009

   Modified Files:
           pkgsrc/chat/ejabberd: Makefile PLIST distinfo
           pkgsrc/chat/ejabberd/patches: patch-ac patch-ag
   Removed Files:
           pkgsrc/chat/ejabberd/patches: patch-ab

   Log Message:
   Updated chat/ejabberd to 2.0.3

   * Do not ask certificate for client (c2s)
   * Check digest-uri in SASL digest authentication
   * Use send timeout to avoid locking on gen_tcp:send
   * Fix ejabberd reconnection to database
   * HTTP-Bind: handle wrong order of packets
   * MUC: Improved traffic regulation management
   * PubSub: Several bugfixes and improvements for best coverage of XEP-0060 v1.12
   * Shared Roster Groups: push immediately membership changes
   * Rotate also sasl.log on "reopen-log" command

diffstat:

 chat/ejabberd/Makefile         |  12 +++++-
 chat/ejabberd/PLIST            |   4 +-
 chat/ejabberd/distinfo         |  13 +++----
 chat/ejabberd/patches/patch-ab |  24 --------------
 chat/ejabberd/patches/patch-ac |  72 ++++++++++++++++++++++-------------------
 chat/ejabberd/patches/patch-ag |  63 ++++++++++++++----------------------
 6 files changed, 80 insertions(+), 108 deletions(-)

diffs (truncated from 456 to 300 lines):

diff -r 5e7eb3c07d75 -r 6751ff61e8f0 chat/ejabberd/Makefile
--- a/chat/ejabberd/Makefile    Tue Feb 03 07:02:58 2009 +0000
+++ b/chat/ejabberd/Makefile    Wed Feb 04 12:30:42 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2008/11/12 13:13:59 martti Exp $
+# $NetBSD: Makefile,v 1.6.2.1 2009/02/04 12:30:42 rtr Exp $
 
-DISTNAME=      ejabberd-2.0.2
+DISTNAME=      ejabberd-2.0.3
 #PKGREVISION=  1
 CATEGORIES=    chat
-MASTER_SITES=  http://www.process-one.net/downloads/ejabberd/2.0.2/
+MASTER_SITES=  http://www.process-one.net/downloads/ejabberd/2.0.3/
 
 MAINTAINER=    martti%NetBSD.org@localhost
 HOMEPAGE=      http://www.ejabberd.im/
@@ -49,6 +49,8 @@
 BUILD_DEFS+=           VARBASE
 PKG_SYSCONFSUBDIR=     ejabberd
 
+PKG_DESTDIR_SUPPORT=   destdir
+
 .include "../../mk/bsd.prefs.mk"
 
 EJABBERD_USER=         ejabberd
@@ -84,6 +86,9 @@
 CONF_FILES+=           ${EGDIR}/ejabberdctl.cfg ${PKG_SYSCONFDIR}/ejabberdctl.cfg
 CONF_FILES+=           ${EGDIR}/inetrc ${PKG_SYSCONFDIR}/inetrc
 
+post-patch:
+       ${RM} -f ${WRKSRC}/doc/guide.tex.orig
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/${PKGNAME_NOREV}
        ${INSTALL_DATA} ${WRKSRC}/doc/Makefile ${PREFIX}/share/doc/${PKGNAME_NOREV}
@@ -95,6 +100,7 @@
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths=     src/Makefile.in
 SUBST_FILES.paths+=    src/ejabberdctl.template
+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_LOGDIR@,${EJABBERD_LOGDIR},g'
diff -r 5e7eb3c07d75 -r 6751ff61e8f0 chat/ejabberd/PLIST
--- a/chat/ejabberd/PLIST       Tue Feb 03 07:02:58 2009 +0000
+++ b/chat/ejabberd/PLIST       Wed Feb 04 12:30:42 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2008/11/12 13:13:59 martti Exp $
+@comment $NetBSD: PLIST,v 1.3.2.1 2009/02/04 12:30:43 rtr Exp $
 ${EJABBERD_EXDIR}/ejabberd.cfg
 ${EJABBERD_EXDIR}/ejabberdctl.cfg
 ${EJABBERD_EXDIR}/inetrc
@@ -170,7 +170,6 @@
 share/doc/${PKGNAME}/flow.dot
 share/doc/${PKGNAME}/guide.html
 share/doc/${PKGNAME}/guide.tex
-share/doc/${PKGNAME}/guide.tex.orig
 share/doc/${PKGNAME}/introduction.tex
 share/doc/${PKGNAME}/logo.png
 share/doc/${PKGNAME}/mod_http_bind.tex
@@ -186,6 +185,7 @@
 share/doc/${PKGNAME}/release_notes_1.1.4.txt
 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}/version.tex
 share/doc/${PKGNAME}/webadmmain.png
 share/doc/${PKGNAME}/webadmmainru.png
diff -r 5e7eb3c07d75 -r 6751ff61e8f0 chat/ejabberd/distinfo
--- a/chat/ejabberd/distinfo    Tue Feb 03 07:02:58 2009 +0000
+++ b/chat/ejabberd/distinfo    Wed Feb 04 12:30:42 2009 +0000
@@ -1,14 +1,13 @@
-$NetBSD: distinfo,v 1.4 2008/11/12 13:13:59 martti Exp $
+$NetBSD: distinfo,v 1.4.2.1 2009/02/04 12:30:43 rtr Exp $
 
-SHA1 (ejabberd-2.0.2.tar.gz) = 7c82082b941277fe18aac25ca9b2016f25dc8472
-RMD160 (ejabberd-2.0.2.tar.gz) = b24c1c2d6ce8c56fd26f28a98b89d99890dbad72
-Size (ejabberd-2.0.2.tar.gz) = 1040817 bytes
+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 (patch-aa) = 5b0c2994aad402cf13cc9531465513aad69de1e0
-SHA1 (patch-ab) = a083116beb37cd19a011993e009b57a0a4b202bf
-SHA1 (patch-ac) = 32387347e9581500cbdbdec971b0825c4043d1f1
+SHA1 (patch-ac) = 271640b343bdc24f6609fe9c95250a91d514bc28
 SHA1 (patch-ad) = a6504e8454878c97e434040a2f9136174b994c0d
 SHA1 (patch-ae) = c1c615a1d2e28d05d069f2bafa30179437922536
 SHA1 (patch-af) = 908ebaaea76de53cc22a53289d3b93189767d40c
-SHA1 (patch-ag) = 4cb80b3c530ddb561693a82b55254b322cb41a97
+SHA1 (patch-ag) = c6620ce3018e4c01d8c9edf6242a8cb52a55395d
 SHA1 (patch-ah) = 29b4440454a138908fe2c6937c65658e4cd689ba
 SHA1 (patch-ai) = 4b51670e283e7facd3142601d8560821b7829505
diff -r 5e7eb3c07d75 -r 6751ff61e8f0 chat/ejabberd/patches/patch-ab
--- a/chat/ejabberd/patches/patch-ab    Tue Feb 03 07:02:58 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2008/03/10 08:58:32 martti Exp $
-
-What is this for?
-
---- src/mod_last.erl.orig      2008-01-16 12:33:27.000000000 +0200
-+++ src/mod_last.erl   2008-02-11 13:46:13.000000000 +0200
-@@ -133,7 +133,16 @@
-                 sub_el = [{xmlelement, "query",
-                            [{"xmlns", ?NS_LAST},
-                             {"seconds", integer_to_list(Sec)}],
--                           [{xmlcdata, Status}]}]}
-+                           [{xmlcdata, Status}]}]};
-+      [{last_activity, _, TimeStamp}] ->
-+          {MegaSecs, Secs, _MicroSecs} = now(),
-+          TimeStamp2 = MegaSecs * 1000000 + Secs,
-+          Sec = TimeStamp2 - TimeStamp,
-+          IQ#iq{type = result,
-+                sub_el = [{xmlelement, "query",
-+                           [{"xmlns", ?NS_LAST},
-+                            {"seconds", integer_to_list(Sec)}],
-+                           []}]}
-     end.
- 
- 
diff -r 5e7eb3c07d75 -r 6751ff61e8f0 chat/ejabberd/patches/patch-ac
--- a/chat/ejabberd/patches/patch-ac    Tue Feb 03 07:02:58 2009 +0000
+++ b/chat/ejabberd/patches/patch-ac    Wed Feb 04 12:30:42 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ac,v 1.2 2008/11/12 13:13:59 martti Exp $
+$NetBSD: patch-ac,v 1.2.2.1 2009/02/04 12:30:43 rtr Exp $
 
 Modified to use IPv6/v4 patch (https://support.process-one.net/browse/EJAB-389)
 
---- doc/guide.tex.orig 2008-08-27 12:37:52.000000000 +0300
-+++ doc/guide.tex
-@@ -713,34 +713,80 @@ The option \option{listen} defines for w
+--- 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 @@
  will listen and what services will be run on them. Each element of the list is a
  tuple with the following elements:
  \begin{itemize}
@@ -62,7 +62,7 @@
  \ind{modules!ejabberd\_c2s}\ind{modules!ejabberd\_s2s\_in}\ind{modules!ejabberd\_service}\ind{modules!ejabberd\_http}\ind{protocols!XEP-0114: Jabber Component Protocol}
  The available modules, their purpose and the options allowed by each one are:
  \begin{description}
-   \titem{\texttt{ejabberd\_c2s}} 
+   \titem{\texttt{ejabberd\_c2s}}
      Handles c2s connections.\\
 -    Options: \texttt{access}, \texttt{certfile}, \texttt{inet6},
 -    \texttt{ip}, \texttt{max\_stanza\_size}, \texttt{shaper},
@@ -75,7 +75,7 @@
 -    Options: \texttt{inet6}, \texttt{ip}, \texttt{max\_stanza\_size}
 +    Options: \texttt{max\_stanza\_size}
    \titem{\texttt{ejabberd\_service}}
-     Interacts with \footahref{http://www.ejabberd.im/tutorials-transports}{external components} 
+     Interacts with an \footahref{http://www.ejabberd.im/tutorials-transports}{external component}
      (as defined in the Jabber Component Protocol (\xepref{0114}).\\
 -    Options: \texttt{access}, \texttt{hosts}, \texttt{inet6},
 -    \texttt{ip}, \texttt{shaper}, \texttt{service\_check\_from}
@@ -94,22 +94,20 @@
  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
-@@ -785,13 +831,7 @@ This is a detailed description of each o
+@@ -789,12 +835,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}.
 -  \titem{inet6} \ind{options!inet6}\ind{IPv6}Set up the socket for IPv6 instead of IPv4.
 -    Note: this option is not required for S2S outgoing connections,
--    because when ejabberd attempts to establish a S2S outgoing connection 
+-    because when ejabberd attempts to establish a S2S outgoing connection
 -    it first tries IPv4, and if that fails it attempts with IPv6.
 -  \titem{\{ip, IPAddress\}} \ind{options!ip}This option specifies which network
 -    interface to listen for. For example \verb|{ip, {192, 168, 1, 1}}|.
--    \titem{\{max\_stanza\_size, Size\}}
-+  \titem{\{max\_stanza\_size, Size\}}
+     \titem{\{max\_stanza\_size, Size\}}
      \ind{options!max\_stanza\_size}This option specifies an
      approximate maximum size in bytes of XML stanzas.  Approximate,
-     because it is calculated with the precision of one block of readed
-@@ -838,7 +878,7 @@ This is a detailed description of each o
+@@ -842,7 +882,7 @@
      option will not affect connections (there will be no stream compression).
  \end{description}
  
@@ -118,7 +116,7 @@
  \begin{description}
    \titem{\{s2s\_use\_starttls, true|false\}}
    \ind{options!s2s\_use\_starttls}\ind{STARTTLS}This option defines whether to
-@@ -859,6 +899,8 @@ There are some additional global options
+@@ -863,6 +903,8 @@
    Specified in seconds. The default value is 300 seconds (5 minutes).
  \end{description}
  
@@ -127,8 +125,8 @@
  For example, the following simple configuration defines:
  \begin{itemize}
  \item There are three domains. The default certificate file is \term{server.pem}.
-@@ -866,17 +908,17 @@ However, the c2s and s2s connections to 
- \item Port 5222 listens for c2s connections with STARTTLS, 
+@@ -870,10 +912,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.
 -\item Port 5269 listens for s2s connections with STARTTLS.
@@ -140,16 +138,19 @@
  \end{itemize}
  \begin{verbatim}
  {hosts, ["example.com", "example.org", "example.net"]}.
- {listen,
-  [
+@@ -882,50 +924,52 @@
    {5222, ejabberd_c2s, [
--                        {access, c2s}, 
-+                        {access, c2s},
+                         {access, c2s},
                          {shaper, c2s_shaper},
-                         starttls, {certfile, "/etc/ejabberd/server.pem"},
+-                        starttls, {certfile, "/etc/ejabberd/server.pem"},
++                        starttls, {certfile, "@PKG_SYSCONFDIR@/server.pem"},
                          {max_stanza_size, 65536}
-@@ -887,17 +929,17 @@ However, the c2s and s2s connections to 
-                         tls, {certfile, "/etc/ejabberd/server.pem"},
+                        ]},
+   {5223, ejabberd_c2s, [
+                         {access, c2s},
+                         {shaper, c2s_shaper},
+-                        tls, {certfile, "/etc/ejabberd/server.pem"},
++                        tls, {certfile, "@PKG_SYSCONFDIR@/server.pem"},
                          {max_stanza_size, 65536}
                         ]},
 -  {5269, ejabberd_s2s_in, [
@@ -169,12 +170,16 @@
 -                        ]}
 +  {{5281, "127.0.0.1"}, ejabberd_http, [
 +                                        web_admin,
-+                                        tls, {certfile, "/etc/ejabberd/server.pem"},
++                                        tls, {certfile, "@PKG_SYSCONFDIR@/server.pem"},
 +                                       ]}
   ]
  }.
  {s2s_use_starttls, true}.
-@@ -907,21 +949,23 @@ However, the c2s and s2s connections to 
+-{s2s_certfile, "/etc/ejabberd/server.pem"}.
+-{domain_certfile, "example.com", "/etc/ejabberd/example_com.pem"}.
++{s2s_certfile, "@PKG_SYSCONFDIR@/server.pem"}.
++{domain_certfile, "example.com", "@PKG_SYSCONFDIR@/example_com.pem"}.
+ \end{verbatim}
  
  In this example, the following configuration defines that:
  \begin{itemize}
@@ -193,7 +198,7 @@
 +  in all the IPv4 addresses. Note
    that it is also possible to serve them on different ports. The second
    example in section~\ref{webadmin} shows how exactly this can be done.
- \item All users except for the administrators have a traffic of limit 
+ \item All users except for the administrators have a traffic of limit
    1,000\,Bytes/second
  \item \ind{transports!AIM}The
    \footahref{http://www.ejabberd.im/pyaimt}{AIM transport}
@@ -204,17 +209,13 @@
  \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}'.
-@@ -949,13 +993,32 @@ In this example, the following configura
+@@ -953,13 +997,32 @@
  {access, c2s_shaper, [{none, admin},
                        {normal, all}]}.
  {listen,
 - [{5222, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper}]},
 -  {5223, ejabberd_c2s,     [{access, c2s},
 -                            ssl, {certfile, "/path/to/ssl.pem"}]},
--  {5269, ejabberd_s2s_in,  []},
--  {5280, ejabberd_http,    [http_poll, web_admin]},
--  {5233, ejabberd_service, [{hosts, ["aim.example.org"],
--                             [{password, "aimsecret"}]}]},
 + [{5222, ejabberd_c2s, [
 +                        {access, c2s},
 +                        {shaper, c2s_shaper}
@@ -228,7 +229,10 @@
 +                  {access, c2s},
 +                  ssl, {certfile, "/path/to/ssl.pem"}
 +                 ]},
-+  {5269, ejabberd_s2s_in, []},
+   {5269, ejabberd_s2s_in,  []},
+-  {5280, ejabberd_http,    [http_poll, web_admin]},
+-  {5233, ejabberd_service, [{hosts, ["aim.example.org"],
+-                             [{password, "aimsecret"}]}]},
 +  {{5280, {0, 0, 0, 0}}, ejabberd_http, [
 +                                         http_poll,
 +                                         web_admin
@@ -244,7 +248,7 @@
    {5234, ejabberd_service, [{hosts, ["icq.example.org", "sms.example.org"],
                               [{password, "jitsecret"}]}]},
    {5235, ejabberd_service, [{hosts, ["msn.example.org"],
-@@ -3672,7 +3735,7 @@ Examples:
+@@ -3745,7 +3808,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
@@ -253,7 +257,7 @@
  \begin{verbatim}



Home | Main Index | Thread Index | Old Index