summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2011-02-15 18:51:58 +0000
committerTorsten Veller <tove@gentoo.org>2011-02-15 18:51:58 +0000
commita2b7813f061f689e9376562a4ee645e7716fb14f (patch)
tree9db58c5b19cd3c4d5ae9b21ecb19ffccc1e35b73 /net-mail
parentdrop png useflag: it is only needed for the test program that we do not insta... (diff)
downloadgentoo-2-a2b7813f061f689e9376562a4ee645e7716fb14f.tar.gz
gentoo-2-a2b7813f061f689e9376562a4ee645e7716fb14f.tar.bz2
gentoo-2-a2b7813f061f689e9376562a4ee645e7716fb14f.zip
Fix midnight Date_Init for Date::Manip>6 (#355067). Cleanup
(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/grepmail/ChangeLog8
-rw-r--r--net-mail/grepmail/files/5.30.33-midnight.patch17
-rw-r--r--net-mail/grepmail/grepmail-5.30.33-r1.ebuild (renamed from net-mail/grepmail/grepmail-5.30.32.ebuild)15
3 files changed, 34 insertions, 6 deletions
diff --git a/net-mail/grepmail/ChangeLog b/net-mail/grepmail/ChangeLog
index f6576673f0c9..269c99116a8b 100644
--- a/net-mail/grepmail/ChangeLog
+++ b/net-mail/grepmail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/grepmail
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/grepmail/ChangeLog,v 1.32 2011/01/14 13:21:02 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/grepmail/ChangeLog,v 1.33 2011/02/15 18:51:58 tove Exp $
+
+*grepmail-5.30.33-r1 (15 Feb 2011)
+
+ 15 Feb 2011; Torsten Veller <tove@gentoo.org> +files/5.30.33-midnight.patch,
+ -grepmail-5.30.32.ebuild, +grepmail-5.30.33-r1.ebuild:
+ Fix midnight Date_Init for Date::Manip>6 (#355067). Cleanup
14 Jan 2011; Torsten Veller <tove@gentoo.org>
+files/5.30.33-fix_nonexistent_mailbox_test.patch, grepmail-5.30.33.ebuild:
diff --git a/net-mail/grepmail/files/5.30.33-midnight.patch b/net-mail/grepmail/files/5.30.33-midnight.patch
new file mode 100644
index 000000000000..d861774df81a
--- /dev/null
+++ b/net-mail/grepmail/files/5.30.33-midnight.patch
@@ -0,0 +1,17 @@
+Description: Fix bug with midnight
+Author: Manuel Prinz <manuel@debian.org>
+Last-Update: 2010-02-22
+Bug-Debian: http://bugs.debian.org/559588
+Bug-Gentoo: https://bugs.gentoo.org/355067
+
+--- grepmail/grepmail
++++ grepmail/grepmail
+@@ -397,7 +397,7 @@
+ if (eval 'require Date::Manip')
+ {
+ my ($version_number) = $Date::Manip::VERSION =~ /^(\d+\.\d+)/;
+- Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43;
++ Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43 and $version_number < 6;
+ }
+ }
+
diff --git a/net-mail/grepmail/grepmail-5.30.32.ebuild b/net-mail/grepmail/grepmail-5.30.33-r1.ebuild
index c997d171a458..68fd483fda8d 100644
--- a/net-mail/grepmail/grepmail-5.30.32.ebuild
+++ b/net-mail/grepmail/grepmail-5.30.33-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/grepmail/grepmail-5.30.32.ebuild,v 1.6 2006/02/13 14:57:19 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/grepmail/grepmail-5.30.33-r1.ebuild,v 1.1 2011/02/15 18:51:58 tove Exp $
-inherit versionator perl-app
+inherit versionator perl-module
MY_P="${PN}-$(delete_version_separator 2)"
S="${WORKDIR}/${MY_P}"
@@ -13,11 +13,16 @@ SRC_URI="mirror://sourceforge/grepmail/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ppc sparc x86"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
-DEPEND="dev-perl/Inline
+RDEPEND="dev-perl/Inline
dev-perl/TimeDate
dev-perl/DateManip
virtual/perl-Digest-MD5
>=dev-perl/Mail-Mbox-MessageParser-1.40.01"
+DEPEND="${RDEPEND}"
+
+SRC_TEST="do"
+PATCHES=( "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
+ "${FILESDIR}"/5.30.33-midnight.patch )