fetchmail: updated to latest release with security patch.
authorMike Westerhof <mwester@dls.net>
Tue, 17 Jun 2008 16:40:27 +0000 (16:40 +0000)
committerMike Westerhof <mwester@dls.net>
Tue, 17 Jun 2008 16:40:27 +0000 (16:40 +0000)
Now also creates the fetchmailconf package.

packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty [new file with mode: 0644]
packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch [new file with mode: 0644]
packages/fetchmail/fetchmail_6.3.8.bb [new file with mode: 0644]

diff --git a/packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty b/packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
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 (file)
index 0000000..d092684
--- /dev/null
@@ -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 (file)
index 0000000..c303766
--- /dev/null
@@ -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}"