summaryrefslogtreecommitdiff
path: root/packages/fetchmail
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-18 15:13:53 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-18 15:13:53 +0000
commit97470a03ce59301e4ddfca93af76adcc49efad4d (patch)
treeb25a1647e9b9847f15a0e491a41597ef618aeecb /packages/fetchmail
parent9605a91a5f0fe0017961a9c6d8845db2d0a629b7 (diff)
parent1d784637a62bed7702bba56771b051899744f0bf (diff)
merge of '667771aae40d71d3a640333d77db8501aaa679df'
and '789d64c5f0950113dd422cc0a20a91d15947ad09'
Diffstat (limited to 'packages/fetchmail')
-rw-r--r--packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty0
-rw-r--r--packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch11
-rw-r--r--packages/fetchmail/fetchmail_6.3.8.bb20
3 files changed, 31 insertions, 0 deletions
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
--- /dev/null
+++ b/packages/fetchmail/fetchmail-6.3.8/.mtn2git_empty
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..9b789aae25
--- /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 = "r2"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/f/${PN}/${PN}_${PV}.orig.tar.gz \
+ file://CVE-2007-4565.patch;patch=1 \
+ "
+
+inherit autotools gettext
+
+FILES_${PN} = "${bindir}/fetchmail"
+PACKAGES += "${PN}conf"
+FILES_${PN}conf = "${libdir}/python2.5/site-packages/fetchmailconf.py* ${bindir}/fetchmailconf"
+rdepends_${PN}conf = "${PN}"