summaryrefslogtreecommitdiff
path: root/net-mail/mboxgrep
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mboxgrep')
-rw-r--r--net-mail/mboxgrep/Manifest6
-rw-r--r--net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch52
-rw-r--r--net-mail/mboxgrep/mboxgrep-0.7.9-r1.ebuild31
-rw-r--r--net-mail/mboxgrep/metadata.xml11
4 files changed, 100 insertions, 0 deletions
diff --git a/net-mail/mboxgrep/Manifest b/net-mail/mboxgrep/Manifest
new file mode 100644
index 000000000000..4c6d9f1f3dd7
--- /dev/null
+++ b/net-mail/mboxgrep/Manifest
@@ -0,0 +1,6 @@
+AUX mboxgrep-0.7.9-ldflags.patch 1212 SHA256 d5918aca2330ee17bec523b7b8d425f83b3c0838441e29cd9f519fcef2426d99 SHA512 9aab0c978b1085cbbb915bd883f7c2b4808b9d5458b2fdbb8bfbeaeab709c9b5f0563c864904253bc0fc84e7e000e4587b755491601e3eabd30154a44d5dfacd WHIRLPOOL 7f7769bfca533286053a62ddff008f84aff76177eb2a22340ea30e9903380a52cfd2daef4a61a8593d04260a1acc65649df4f584086c56260db182533c78eb44
+DIST mboxgrep-0.7.9.tar.gz 76067 SHA256 78d375a05c3520fad4bca88509d4da0dbe9fba31f36790bd20880e212acd99d7 SHA512 d7e768a0ad11bc3df8619f2a888d2943c68ef72dd036c2fe58268686efb50cb1f62ba379571b6cd6efa8493c5ea0d7c09a29520eae6c68f66d9453710eeeba11 WHIRLPOOL 597da876492b703314df7bcb1a594927522ae674800651a91198e9e5fefb4a9f8443aa738cf282e8ad0950538f530033e8333abf6a1dbeb8274d95851ac2e6e9
+EBUILD mboxgrep-0.7.9-r1.ebuild 565 SHA256 493f1e86e338de0c2763d2af62918abe8ca16308bc809d3a69abec0347a61551 SHA512 4357b906fc48816a3c4310615b2a76377547ebf61cd2dfe51d2274e1d93c7e013ce14a38e8a16c754be81ba1bdc7deb357637d24dfcae6cea7d21c670e7bd19e WHIRLPOOL 7c56c2a3a8c56f96b29afe719d7d1521fe8fb65814f007bb1264c3d78d155f3c716e6b546c6fc88975ffd54b94deaa2ed4f8124667e6de96a9d02bd742143ec3
+MISC ChangeLog 2475 SHA256 2e8b839233639279fc3b8a3104fde06b19441fda351ca6c3e03eabfc1886b6f5 SHA512 c8fba6412e395c382c00a718e3010a5291b1fdb565707ca72e112cb9b4d415a6abe56aa5a24d16bed95d1c85b56a06a8f55b4fa78cbb0b08c837dd0d25dd1115 WHIRLPOOL 4afa2e21bc73488724d54905be337283d4f18c38bda39fc3c7c1c6e5b04b71ec98cc4c473da9599d744610df968f75ca7496cef47e0a30bc263c79f940198221
+MISC ChangeLog-2015 2537 SHA256 43442ac181eb0d0d550708eac7baabf12bb600d52423f68fe603b100c089744b SHA512 571319f2bcb5694b6f78f53a85c83b2a9e6c286f3e9a84ff732ca6cdf1e117b36390634d0f42624a0d40f3bf2929905b1f47c66b9b32cb568cb4687cf7578daa WHIRLPOOL 9084633138a8150e5a193d4723fddf3841accbd08a5d4c16bc7e56c0143737955f365a74b472a76a7afdfe87a33c872814a5b84b00ceabd110964c9dc9bd6fde
+MISC metadata.xml 322 SHA256 dcc38d26a253e74eed782bfcada22abd695752b860eeaf4940e13ee406438a3c SHA512 98a2d593b4429a08a938fc625b651cfc6a1afa0815c4ee7454c26ab3fd4bd38005455a5fba2b3cc6bf4604a70a39ed8b1e605c9e751dca0a62ebf740aef030da WHIRLPOOL 651cc68325028a8eade0fd6d5eb703573e25d23fe50f4ab5545176d70b29a72227f8d7e01750cf3f4fa3598ea405399a430eabbb9dfa40ba7654d4ff8daf7dc6
diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch
new file mode 100644
index 000000000000..dd0742626b47
--- /dev/null
+++ b/net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch
@@ -0,0 +1,52 @@
+commit f51a9eafb80a5c5e506d7fe416c0b768ec1a6655
+Author: Eray Aslan <eras@gentoo.org>
+Date: Mon Jun 6 20:11:32 2011 +0300
+
+ Respect LDFLAGS and do not strip
+
+diff --git a/src/Makefile.in b/src/Makefile.in
+index fc5ac74..2b89866 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -39,7 +39,7 @@ INCLUDES = -I. -I$(srcdir)
+ $(CC) $(CFLAGS) $(INCLUDES) -c $<
+
+ $(TARGET): $(OBJS)
+- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
+
+ .PHONY: clean
+ clean:
+@@ -52,6 +52,6 @@ distclean:
+ .PHONY: install
+ install: mboxgrep
+ $(INSTALL) -d $(prefix)/bin
+- $(INSTALL) -s $(TARGET) $(prefix)/bin
++ $(INSTALL) $(TARGET) $(prefix)/bin
+
+ .NOEXPORT:
+commit 1a0a345ad4c38df41227e3f2600bcf05ed49bbd7
+Author: Eray Aslan <eras@gentoo.org>
+Date: Mon Jun 6 20:52:06 2011 +0300
+
+ everyone has standard C headers nowadays
+
+diff --git a/src/md5.c b/src/md5.c
+index d6b8013..a797552 100644
+--- a/src/md5.c
++++ b/src/md5.c
+@@ -26,14 +26,8 @@
+
+ #include <sys/types.h>
+
+-#if STDC_HEADERS || defined _LIBC
+ # include <stdlib.h>
+ # include <string.h>
+-#else
+-# ifndef HAVE_MEMCPY
+-# define memcpy(d, s, n) bcopy ((s), (d), (n))
+-# endif
+-#endif
+
+ #include "md5.h"
+
diff --git a/net-mail/mboxgrep/mboxgrep-0.7.9-r1.ebuild b/net-mail/mboxgrep/mboxgrep-0.7.9-r1.ebuild
new file mode 100644
index 000000000000..3f990709627a
--- /dev/null
+++ b/net-mail/mboxgrep/mboxgrep-0.7.9-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Grep for mbox files"
+SRC_URI="mirror://sourceforge/mboxgrep/${P}.tar.gz"
+HOMEPAGE="http://mboxgrep.sf.net"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_install () {
+ emake \
+ prefix="${D}"/usr \
+ mandir="${D}"/usr/share/man \
+ infodir="${D}"/usr/share/info \
+ install
+ dodoc ChangeLog NEWS TODO README
+}
diff --git a/net-mail/mboxgrep/metadata.xml b/net-mail/mboxgrep/metadata.xml
new file mode 100644
index 000000000000..33faa70f5ac8
--- /dev/null
+++ b/net-mail/mboxgrep/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">mboxgrep</remote-id>
+ </upstream>
+</pkgmetadata>