From 3e927d97d850e816b26384e7c3371e0a0258f26f Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Tue, 17 Jun 2008 16:40:27 +0000 Subject: fetchmail: updated to latest release with security patch. Now also creates the fetchmailconf package. --- packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty | 0 .../fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch | 11 +++++++++++ packages/fetchmail/fetchmail_6.3.8.bb | 20 ++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty create mode 100644 packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch create mode 100644 packages/fetchmail/fetchmail_6.3.8.bb diff --git a/packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty b/packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch b/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch new file mode 100644 index 0000000000..d0926848c2 --- /dev/null +++ b/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch @@ -0,0 +1,11 @@ +--- fetchmail-6.3.8-orig/sink.c ++++ fetchmail-6.3.8/sink.c +@@ -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) diff --git a/packages/fetchmail/fetchmail_6.3.8.bb b/packages/fetchmail/fetchmail_6.3.8.bb new file mode 100644 index 0000000000..c3037665c2 --- /dev/null +++ b/packages/fetchmail/fetchmail_6.3.8.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Fetchmail is a free, full-featured, robust, \ +well-documented remote-mail retrieval and forwarding utility \ +intended to be used over on-demand TCP/IP links \ +(such as SLIP or PPP connections)." +SECTION = "console/network" + +LICENSE = "GPL" + +PR = "r1" + +SRC_URI = "${DEBIAN_MIRROR}/main/f/${PN}/${PN}_${PV}.orig.tar.gz \ + file://CVE-2007-4565.patch;patch=1 \ + " + +inherit autotools gettext + +# Special handling for the fetchmailconf python scripts +PACKAGES += "${PN}conf" +FILES_${PN}conf = "${libdir}/python2.5/site-packages/fetchmailconf.py*" +rdepends_${PN}conf = "${PN}" -- cgit v1.2.3