summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalo <salo>2005-08-29 23:15:25 +0000
committersalo <salo>2005-08-29 23:15:25 +0000
commitc62700aeb19fa516e87bc9009ccf0efd79eb652e (patch)
treefa6faeeb6fd77240648340361a2e252ee23154bf
parentd6889ccf9d7ac67836607ac0359a98ba9a6e6c29 (diff)
downloadpkgsrc-c62700aeb19fa516e87bc9009ccf0efd79eb652e.tar.gz
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.
-rw-r--r--mail/elmo/Makefile7
-rw-r--r--mail/elmo/PLIST8
-rw-r--r--mail/elmo/distinfo10
-rw-r--r--mail/elmo/patches/patch-aa20
-rw-r--r--mail/elmo/patches/patch-ab29
5 files changed, 66 insertions, 8 deletions
diff --git a/mail/elmo/Makefile b/mail/elmo/Makefile
index 27438d37249..153524cb666 100644
--- a/mail/elmo/Makefile
+++ b/mail/elmo/Makefile
@@ -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 @@ GNU_CONFIGURE= yes
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 --git a/mail/elmo/PLIST b/mail/elmo/PLIST
index 7f38321805a..f90dfff6363 100644
--- a/mail/elmo/PLIST
+++ b/mail/elmo/PLIST
@@ -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/tutorial
share/elmo/template
+share/elmo/themes/80x25
+share/elmo/themes/README
+share/elmo/themes/outlook
+share/elmo/tutorial
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/elmo.mo
${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/elmo.mo
+@dirrm share/elmo/themes
@dirrm share/elmo
diff --git a/mail/elmo/distinfo b/mail/elmo/distinfo
index ff3a7511f35..6d24b6e75b5 100644
--- a/mail/elmo/distinfo
+++ b/mail/elmo/distinfo
@@ -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 --git a/mail/elmo/patches/patch-aa b/mail/elmo/patches/patch-aa
new file mode 100644
index 00000000000..cfeb24edc0b
--- /dev/null
+++ b/mail/elmo/patches/patch-aa
@@ -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 --git a/mail/elmo/patches/patch-ab b/mail/elmo/patches/patch-ab
new file mode 100644
index 00000000000..09c6b4db712
--- /dev/null
+++ b/mail/elmo/patches/patch-ab
@@ -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;
+ }