summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2007-09-23 14:35:04 +0000
committerghen <ghen@pkgsrc.org>2007-09-23 14:35:04 +0000
commit96ccadcd4cf7d4d66df24cd7047154e74b88322d (patch)
treeb3f19ebe0e3d96eb12e00332c2eb9eb1098a7508
parent568aaf3280fe90375d0b8de3d272e1d6aac811a0 (diff)
downloadpkgsrc-96ccadcd4cf7d4d66df24cd7047154e74b88322d.tar.gz
Pullup ticket 2192 - requested by tron
security fix for fetchmail - pkgsrc/mail/fetchmail/Makefile 1.163 - pkgsrc/mail/fetchmail/distinfo 1.38 - pkgsrc/mail/fetchmail/patches/patch-aa 1.6 Module Name: pkgsrc Committed By: tron Date: Sun Sep 23 12:48:46 UTC 2007 Modified Files: pkgsrc/mail/fetchmail: Makefile distinfo Added Files: pkgsrc/mail/fetchmail/patches: patch-aa Log Message: Add fix for security vulnerability reported in CVE-2007-4565. Bump package revision.
-rw-r--r--mail/fetchmail/Makefile3
-rw-r--r--mail/fetchmail/distinfo3
-rw-r--r--mail/fetchmail/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 79c9f23ce5d..cadcd0f67a1 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.162 2007/04/14 22:14:29 tron Exp $
+# $NetBSD: Makefile,v 1.162.2.1 2007/09/23 14:35:04 ghen Exp $
DISTNAME= fetchmail-6.3.8
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://download.berlios.de/fetchmail/ \
http://download2.berlios.de/fetchmail/
diff --git a/mail/fetchmail/distinfo b/mail/fetchmail/distinfo
index 8b2559cca5e..55593c7e275 100644
--- a/mail/fetchmail/distinfo
+++ b/mail/fetchmail/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.37 2007/04/14 22:14:29 tron Exp $
+$NetBSD: distinfo,v 1.37.2.1 2007/09/23 14:35:05 ghen Exp $
SHA1 (fetchmail-6.3.8.tar.bz2) = b8e8c51ed6cf53fc398c821fdb29d166c6713bb0
RMD160 (fetchmail-6.3.8.tar.bz2) = 34034f9ae9fe44ba35f0a16d3128d4a9b0001df2
Size (fetchmail-6.3.8.tar.bz2) = 1323515 bytes
+SHA1 (patch-aa) = d8234f2bbe91003c4cb5c9896dfe33c8226a74de
diff --git a/mail/fetchmail/patches/patch-aa b/mail/fetchmail/patches/patch-aa
new file mode 100644
index 00000000000..cffa513775b
--- /dev/null
+++ b/mail/fetchmail/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5.4.1 2007/09/23 14:35:05 ghen Exp $
+
+--- sink.c.orig 2007-03-29 23:45:17.000000000 +0100
++++ sink.c 2007-09-23 13:42:40.000000000 +0100
+@@ -262,7 +262,7 @@
+ const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
+
+ /* don't bounce in reply to undeliverable bounces */
+- if (!msg->return_path[0] ||
++ if (!msg || !msg->return_path[0] ||
+ strcmp(msg->return_path, "<>") == 0 ||
+ strcasecmp(msg->return_path, md1) == 0 ||
+ strncasecmp(msg->return_path, md2, strlen(md2)) == 0)