summaryrefslogtreecommitdiff
path: root/net-mail/grepmail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/grepmail
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/grepmail')
-rw-r--r--net-mail/grepmail/Manifest7
-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.ebuild43
-rw-r--r--net-mail/grepmail/metadata.xml11
5 files changed, 111 insertions, 0 deletions
diff --git a/net-mail/grepmail/Manifest b/net-mail/grepmail/Manifest
new file mode 100644
index 000000000000..134a58b5bab0
--- /dev/null
+++ b/net-mail/grepmail/Manifest
@@ -0,0 +1,7 @@
+AUX 5.30.33-fix_nonexistent_mailbox_test.patch 1138 SHA256 6ac814335b1f54e11ef2f99810b7ad5b17b2cb125ab5eb094982aca420707daa SHA512 88c3123ea5031a9d925cf8c7464b53290a4015faf43b2ef5a0543698d8374e45b93291bf1eefe636b52ba4a8d1a9ebf2dc3a9261572bfd5bcc9f16f1671e8969 WHIRLPOOL c226cd94961e3c0acbdd55903696cdef77bd91c224b3d8fecdc5aadd374f560d2ce1fc0eccf860e5ec0ca583cddc6e1440b9d5576e834a1f5212ea1c6fade257
+AUX 5.30.33-midnight.patch 560 SHA256 cf415d66e62eb7e42f3bff1423e7bac778c26c65f4841b9e8bdef4e0ca4971d7 SHA512 41ce56d0a2371bcc527f997825530e87ad0199c78605ea72567255cb985158fa56e669aeea966a547ccd970231bda1a5da783320fda1568642890e9832c69775 WHIRLPOOL 2b6fc049f524a0829c5d54e1114bff35485b31ea45c3c207f05fa57a024a4472732b709c845d12aa6ef5d69f4a10a85da753bf49dc6c0b825c4d57d8bd1eb6c5
+DIST grepmail-5.3033.tar.gz 536791 SHA256 2ba3ed6839b62bbee5e52a5caafe0700fe27ca31473d32ba062e4736a8f7b6b5 SHA512 58fb63c42b534ba32d8224753cd11701adc3ab6eeca838753982cd6fdc46c05142eeb34106ae585b48698c299648cc2e0135215900ce28dd7c84921c8ad7831f WHIRLPOOL f481ae4afe31441c1fb111b6be3d0dd4c080c0661341309cf62e1f62529ed31d556bbf1e44251433aaf143aefacb4d159d1e236fa2a1e53d1bab9f750af457c5
+EBUILD grepmail-5.30.33-r2.ebuild 1013 SHA256 e5c309c885e3bc92e09917856d2830e75a2017d81bf3cefd6bb60d061c4e8ec3 SHA512 657ff78259ac9ed5d4547b4a7067bac0c4b7409e66f587f18366948c3d2fb897f6a4de1fa8eb47c5dca69164ecc3fc4363cbed1db501cad97362cceaa4aac254 WHIRLPOOL 11b973b8f1d41c8b896208399f2d2b5c7516dc16f498e3b3dec032355d85b5e2233ebafbc86964f630de0acdb9b7556ab620418c461d42d29e03247a4e5e5724
+MISC ChangeLog 2687 SHA256 fe5d8385d3903e3b5f47f78ff2223e83543cbd5c89babc47babbabfae85930e6 SHA512 0df429896417c7ac15fe88cc01b86db0d037a81fc1bf3cb6f30aa096029d4fdda8ee1de9307a3b22ab5750c8091c27c202e14e39899736a09f05f4cab4e7286e WHIRLPOOL 802728b07e486feede7366075f8f1a97b57ddfae0d9e51bc1edb111a9bd6ff4fb3a97d77fe862b0a78e38f6e454cb80329dc28fc1a08d6bf32ff220cc972b9c0
+MISC ChangeLog-2015 5402 SHA256 5b2c8d34881567ef113e9147f18b3c6bb63963a8e30423ec612bfc07471ce75f SHA512 ed981a0db7c848a531369c24f2bc62fdb466a4a444d7d92fbd0bbf7a2879514dca508def8e69e297da84891fe287a16efe1a737f1946732fe2099a1a5a05c6ec WHIRLPOOL 4dc7efbc683b9da5be40069e9d6db582c24866735ba52cbb414326c8ba152cb2eb8a3b061bc2df50b24ebd6dde2739d9d4e22d47afc7e63a88d5bc94e7fa722d
+MISC metadata.xml 322 SHA256 46a718215143ad9d0774be1f53047d351555c445251668dbda36b96350ebfd05 SHA512 42a55218140e081081755001a07289fea9e57be5e8244163fc57a110958b9f1c0855dc4c82c79838ff4a695374c2308c355ffbafe9a13e7be2ebbe11e6f0ec5b WHIRLPOOL 9ff26f56a2611d2110458723bb5f40b8c8d8e90859211c088843c22fdb8bbbb8dc79e5064ba31f649b7de06e7cae7d96010a44af976f1af83e4fc7afbecea1ab
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..b029483a2241
--- /dev/null
+++ b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="test"
+
+RDEPEND="
+ dev-perl/Inline
+ dev-perl/TimeDate
+ dev-perl/Date-Manip
+ virtual/perl-Digest-MD5
+ >=dev-perl/Mail-Mbox-MessageParser-1.40.01
+"
+DEPEND="${RDEPEND}
+"
+# test? ( dev-perl/Mail-Mbox-MessageParser )
+
+# 100% failure on running
+DIST_TEST="skip"
+
+PATCHES=(
+ "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
+ "${FILESDIR}"/5.30.33-midnight.patch
+)
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}
diff --git a/net-mail/grepmail/metadata.xml b/net-mail/grepmail/metadata.xml
new file mode 100644
index 000000000000..79af08c23865
--- /dev/null
+++ b/net-mail/grepmail/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">grepmail</remote-id>
+ </upstream>
+</pkgmetadata>