summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/grepmail
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/grepmail')
-rw-r--r--net-mail/grepmail/Manifest1
-rw-r--r--net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch33
-rw-r--r--net-mail/grepmail/files/5.30.33-midnight.patch17
-rw-r--r--net-mail/grepmail/grepmail-5.30.33-r2.ebuild31
-rw-r--r--net-mail/grepmail/metadata.xml8
5 files changed, 90 insertions, 0 deletions
diff --git a/net-mail/grepmail/Manifest b/net-mail/grepmail/Manifest
new file mode 100644
index 000000000000..898aa53fa7ca
--- /dev/null
+++ b/net-mail/grepmail/Manifest
@@ -0,0 +1 @@
+DIST grepmail-5.3033.tar.gz 536791 SHA256 2ba3ed6839b62bbee5e52a5caafe0700fe27ca31473d32ba062e4736a8f7b6b5 SHA512 58fb63c42b534ba32d8224753cd11701adc3ab6eeca838753982cd6fdc46c05142eeb34106ae585b48698c299648cc2e0135215900ce28dd7c84921c8ad7831f WHIRLPOOL f481ae4afe31441c1fb111b6be3d0dd4c080c0661341309cf62e1f62529ed31d556bbf1e44251433aaf143aefacb4d159d1e236fa2a1e53d1bab9f750af457c5
diff --git a/net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch b/net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch
new file mode 100644
index 000000000000..cdab28bb635c
--- /dev/null
+++ b/net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch
@@ -0,0 +1,33 @@
+Description: Fix FTBFS with libmail-mbox-messageparser-perl 1.5002
+ From 1.5002, it does not return "No data on standard input" anymore.
+Author: Vincent Legout <vincent@legout.info>
+Last-Update: 2010-04-28
+Bug-Debian: http://bugs.debian.org/549782
+Bug-Gentoo: https://bugs.gentoo.org/296657
+
+--- grepmail/t/nonexistent_mailbox.t
++++ grepmail/t/nonexistent_mailbox.t
+@@ -13,21 +13,15 @@
+ => ['none','no_such_file'],
+ "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
+ " | grepmail pattern"
+- => ['none','no_data'],
++ => ['none','none'],
+ "grepmail -E $single_quote\$email =~ /pattern/$single_quote no_such_file"
+ => ['none','no_such_file'],
+ "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
+ " | grepmail -E $single_quote\$email =~ /pattern/$single_quote"
+- => ['none','no_data'],
++ => ['none','none'],
+ );
+
+ my %expected_errors = (
+-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
+- " | grepmail pattern"
+- => 1,
+-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
+- " | grepmail -E $single_quote\$email =~ /pattern/$single_quote"
+- => 1,
+ );
+
+ my %localization = (
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.33-r2.ebuild b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild
new file mode 100644
index 000000000000..7957929db1fc
--- /dev/null
+++ b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator perl-module
+
+MY_P="${PN}-$(delete_version_separator 2)"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Search normal or compressed mailbox using a regular expression or dates"
+HOMEPAGE="http://grepmail.sourceforge.net/"
+SRC_URI="mirror://sourceforge/grepmail/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="dev-perl/Inline
+ dev-perl/TimeDate
+ dev-perl/DateManip
+ virtual/perl-Digest-MD5
+ >=dev-perl/Mail-Mbox-MessageParser-1.40.01"
+DEPEND="${RDEPEND}"
+
+# 100% failure on running
+SRC_TEST="skip"
+PATCHES=( "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
+ "${FILESDIR}"/5.30.33-midnight.patch )
diff --git a/net-mail/grepmail/metadata.xml b/net-mail/grepmail/metadata.xml
new file mode 100644
index 000000000000..13383aa803a0
--- /dev/null
+++ b/net-mail/grepmail/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-mail</herd>
+ <upstream>
+ <remote-id type="sourceforge">grepmail</remote-id>
+ </upstream>
+</pkgmetadata>