pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q2]: pkgsrc/mail/elmo Pullup ticket 723 - requested by Adr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eace3d6f91ce
branches:  pkgsrc-2005Q2
changeset: 496049:eace3d6f91ce
user:      salo <salo%pkgsrc.org@localhost>
date:      Mon Aug 29 23:15:25 2005 +0000

description:
Pullup ticket 723 - requested by Adrian Portelli
security update for elmo

Revisions pulled up:
- pkgsrc/mail/elmo/Makefile             1.6, 1.7
- pkgsrc/mail/elmo/PLIST                1.2
- pkgsrc/mail/elmo/distinfo             1.4
- pkgsrc/mail/elmo/patches/patch-aa     1.1
- pkgsrc/mail/elmo/patches/patch-ab     1.1

   Module Name:         pkgsrc
   Committed By:        wiz
   Date:                Sat Jul 16 15:40:56 UTC 2005

   Modified Files:
        pkgsrc/mail/elmo: Makefile PLIST distinfo
   Added Files:
        pkgsrc/mail/elmo/patches: patch-aa patch-ab

   Log Message:
   Update to 1.3.2, provided by the maintainer Robert Lillack in
   private mail.

   New in 1.3.2
    - support for matching arbitrary headers in rules
    - bugfixes

   pkgsrc includes additional changes:
   - fix for http://secunia.com/advisories/15977/
   - work around an annoying header parsing issue which
     resulted in totally garbled date sorting
   - work around random SIGSEVs
---
   Module Name:         pkgsrc
   Committed By:        adrianp
   Date:                Mon Aug 29 17:53:49 UTC 2005

   Modified Files:
        pkgsrc/mail/elmo: Makefile

   Log Message:
   Add in a specific reference to ${BUILDLINK_PREFIX.openssl} so that
   configure finds the right OpenSSL.

diffstat:

 mail/elmo/Makefile         |   7 +++++--
 mail/elmo/PLIST            |   8 ++++++--
 mail/elmo/distinfo         |  10 ++++++----
 mail/elmo/patches/patch-aa |  20 ++++++++++++++++++++
 mail/elmo/patches/patch-ab |  29 +++++++++++++++++++++++++++++
 5 files changed, 66 insertions(+), 8 deletions(-)

diffs (115 lines):

diff -r 43774f1d9951 -r eace3d6f91ce mail/elmo/Makefile
--- a/mail/elmo/Makefile        Mon Aug 29 21:11:56 2005 +0000
+++ b/mail/elmo/Makefile        Mon Aug 29 23:15:25 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.5.2.1 2005/08/29 23:15:25 salo Exp $
 #
 
-DISTNAME=              elmo-1.3.1
+DISTNAME=              elmo-1.3.2
 PKGREVISION=           # empty
 CATEGORIES=            mail
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=elmo/}
@@ -16,6 +16,9 @@
 REPLACE_PERL=          elmoconf.pl
 
 CONFIGURE_ARGS+=       --with-gpgme-prefix=${BUILDLINK_PREFIX.gpgme}
+CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+# I get segmentation faults when not compiled with debug enabled
+CONFIGURE_ARGS+=       --enable-debug
 
 SUBST_CLASSES=         tux
 SUBST_STAGE.tux=       post-patch
diff -r 43774f1d9951 -r eace3d6f91ce mail/elmo/PLIST
--- a/mail/elmo/PLIST   Mon Aug 29 21:11:56 2005 +0000
+++ b/mail/elmo/PLIST   Mon Aug 29 23:15:25 2005 +0000
@@ -1,10 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/06 14:28:42 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.1.1.1.8.1 2005/08/29 23:15:25 salo Exp $
 bin/elmo
 bin/elmoconf.pl
 man/man1/elmo.1
 man/man1/elmoconf.pl.1
+share/elmo/template
+share/elmo/themes/80x25
+share/elmo/themes/README
+share/elmo/themes/outlook
 share/elmo/tutorial
-share/elmo/template
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/elmo.mo
 ${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/elmo.mo
+@dirrm share/elmo/themes
 @dirrm share/elmo
diff -r 43774f1d9951 -r eace3d6f91ce mail/elmo/distinfo
--- a/mail/elmo/distinfo        Mon Aug 29 21:11:56 2005 +0000
+++ b/mail/elmo/distinfo        Mon Aug 29 23:15:25 2005 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 09:59:21 agc Exp $
+$NetBSD: distinfo,v 1.3.4.1 2005/08/29 23:15:25 salo Exp $
 
-SHA1 (elmo-1.3.1.tar.gz) = e4d0a8b2119af101290e400fd9c0f1cca4411d8b
-RMD160 (elmo-1.3.1.tar.gz) = 6db0c5b9d1db8d979fdb3dfae59002c829df8008
-Size (elmo-1.3.1.tar.gz) = 534779 bytes
+SHA1 (elmo-1.3.2.tar.gz) = d4e7999ce85c17df082a016fd70ee4978cfe1043
+RMD160 (elmo-1.3.2.tar.gz) = 3db1fafbbe38636459c4b1bbc3dae414e54c92d6
+Size (elmo-1.3.2.tar.gz) = 536768 bytes
+SHA1 (patch-aa) = 8bfed77e5b5bae8c649b7474a3e64a188fb96f75
+SHA1 (patch-ab) = 1c66367cda9e26b98dd475b9f87e51a74be239de
diff -r 43774f1d9951 -r eace3d6f91ce mail/elmo/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/elmo/patches/patch-aa        Mon Aug 29 23:15:25 2005 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.2.2 2005/08/29 23:15:25 salo Exp $
+
+--- src/mlex.l.orig    Fri Aug 13 13:18:23 2004
++++ src/mlex.l
+@@ -352,8 +352,14 @@ TEXT_PLAIN_CHARSET [ \t]*text\/plain.*(;
+                  * obsolete one first, and check if it was possible to get
+                  * the date
+                  */
++              /** FIXME FIXME FIXME:
++               * A more sophisticated Date: parser is needed, the first
++               * call _never_ returns NULL (at least) on *BSD. Therefore
++               * disable support for two digit years in order to NOT
++               * garble all correctly formatted date headers....
++
+                 tmp = strptime (date, "%d %b %y %H:%M:%S", &tm);
+-                if (tmp == NULL)
++                if (tmp == NULL) */
+                         tmp = strptime (date, "%d %b %Y %H:%M:%S", &tm);
+
+ #ifdef HAVE_LOCALE_H
diff -r 43774f1d9951 -r eace3d6f91ce mail/elmo/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/elmo/patches/patch-ab        Mon Aug 29 23:15:25 2005 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-ab,v 1.1.2.2 2005/08/29 23:15:25 salo Exp $
+
+--- src/stats.c.orig   Thu Apr 29 10:06:10 2004
++++ src/stats.c
+@@ -185,6 +185,8 @@ stats_dump (void)
+         FILE          *fp;
+         mail_t        *mail;
+         struct estats  stats;
++      int            fd;
++      char           fn[25] = "/tmp/elmostats.XXXXXXXXX";
+
+         if (wrapbox_marray == NULL)
+                 return;
+@@ -200,9 +202,12 @@ stats_dump (void)
+                         process_mail (& stats, mail);
+         }
+
+-        fp = fopen ("/tmp/elmostats", "w");
+-        if (fp == NULL){
+-                error_ (errno, _("couldn't open %s"), "/tmp/elmostats");
++      fp = NULL;
++      fd = mkstemp(fn);
++        if (fd != -1 )
++              fp = fdopen (fd, "w");
++        if (fp == NULL) {
++                error_ (errno, _("couldn't open %s"), fn);
+                 destroy_stats (& stats);
+                 return;
+         }



Home | Main Index | Thread Index | Old Index