diff options
author | Torsten Veller <tove@gentoo.org> | 2009-08-15 11:12:26 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2009-08-15 11:12:26 +0000 |
commit | c5d1a39b7cc3a13ff175b81e74798f77645facc7 (patch) | |
tree | 64ff577e28500ec1b0e18a4d0423414d649f696d /mail-filter/mailfilter | |
parent | Keywording for ppc. (diff) | |
download | gentoo-2-c5d1a39b7cc3a13ff175b81e74798f77645facc7.tar.gz gentoo-2-c5d1a39b7cc3a13ff175b81e74798f77645facc7.tar.bz2 gentoo-2-c5d1a39b7cc3a13ff175b81e74798f77645facc7.zip |
Version bump. Fixes APOP design error (CVE-2007-1558)(#281559)
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/mailfilter')
-rw-r--r-- | mail-filter/mailfilter/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/mailfilter/files/0.8.2-gcc44.patch | 26 | ||||
-rw-r--r-- | mail-filter/mailfilter/mailfilter-0.8.2.ebuild | 34 |
3 files changed, 67 insertions, 1 deletions
diff --git a/mail-filter/mailfilter/ChangeLog b/mail-filter/mailfilter/ChangeLog index b5b3e4d6c8f7..605c74313587 100644 --- a/mail-filter/mailfilter/ChangeLog +++ b/mail-filter/mailfilter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/mailfilter # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/ChangeLog,v 1.24 2009/08/11 08:31:44 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/ChangeLog,v 1.25 2009/08/15 11:12:26 tove Exp $ + +*mailfilter-0.8.2 (15 Aug 2009) + + 15 Aug 2009; Torsten Veller <tove@gentoo.org> +files/0.8.2-gcc44.patch, + +mailfilter-0.8.2.ebuild: + Version bump. Fixes APOP design error (CVE-2007-1558)(#281559) 11 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org> mailfilter-0.8.1.ebuild: diff --git a/mail-filter/mailfilter/files/0.8.2-gcc44.patch b/mail-filter/mailfilter/files/0.8.2-gcc44.patch new file mode 100644 index 000000000000..f1545d5b9118 --- /dev/null +++ b/mail-filter/mailfilter/files/0.8.2-gcc44.patch @@ -0,0 +1,26 @@ +diff -ur mailfilter-0.8.2_orig/src/header.cc mailfilter-0.8.2/src/header.cc +--- mailfilter-0.8.2_orig/src/header.cc 2009-06-07 03:49:57.000000000 +0200 ++++ mailfilter-0.8.2/src/header.cc 2009-08-15 13:05:05.968397778 +0200 +@@ -63,7 +63,6 @@ + * domain-literal = "[" *(dtext / quoted-pair) "]" + */ + +- char* dom; + unsigned int l, i; + + if (!msgid || !*msgid) +@@ -74,12 +73,12 @@ + return -1; + if (msgid[0] != '<' || msgid[l-1] != '>') + return -1; +- if (!(dom = strrchr (msgid, '@'))) ++ if (!(strrchr (msgid, '@'))) + return -1; + + /* TODO: complete parser */ + for (i = 0; i < l; i++) +- if (msgid[i] > 127) ++ if ((unsigned char)msgid[i] > 127) + return -1; + + return 0; diff --git a/mail-filter/mailfilter/mailfilter-0.8.2.ebuild b/mail-filter/mailfilter/mailfilter-0.8.2.ebuild new file mode 100644 index 000000000000..e351f3405200 --- /dev/null +++ b/mail-filter/mailfilter/mailfilter-0.8.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/mailfilter-0.8.2.ebuild,v 1.1 2009/08/15 11:12:26 tove Exp $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails" +HOMEPAGE="http://mailfilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="sys-devel/flex" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/0.8.2-gcc44.patch +} + +src_compile() { + # bug #281069 + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2} \ + README THANKS ChangeLog AUTHORS NEWS || die "doc failed" +} |