summaryrefslogtreecommitdiff
path: root/net-mail/mboxgrep
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-18 07:00:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-18 07:00:16 +0100
commitdcb9c4187a31b8b770600503289d2ad39745e782 (patch)
tree423501e7d184dee011a7c99629d0e357d6bd64be /net-mail/mboxgrep
parent5e0a5ca921524f8859808527a57655eec16efa52 (diff)
gentoo auto-resync : 18:07:2023 - 07:00:16
Diffstat (limited to 'net-mail/mboxgrep')
-rw-r--r--net-mail/mboxgrep/Manifest2
-rw-r--r--net-mail/mboxgrep/files/mboxgrep-0.7.9-musl-missing-strcmp.patch11
-rw-r--r--net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild49
3 files changed, 62 insertions, 0 deletions
diff --git a/net-mail/mboxgrep/Manifest b/net-mail/mboxgrep/Manifest
index 8981da803fb4..08ac605b651b 100644
--- a/net-mail/mboxgrep/Manifest
+++ b/net-mail/mboxgrep/Manifest
@@ -1,6 +1,8 @@
AUX mboxgrep-0.7.9-_DEFAULT_SOURCE.patch 402 BLAKE2B d517138fd5b6a50846886705f0663483dbcfc7e7b347808bc3e88e8b7f1962069bf6a2be84736b328deb965aaeab3d7c33fa3dc1d3c62e92832a3ebc109449cd SHA512 121d63057e3e18520d1a9d799102116a2894c5cd5ea65d6aa6142313f7da712c998ca316639f4f896c255aae6f2fafff565176ebac6298700b57fb6f41d62664
AUX mboxgrep-0.7.9-fno-common.patch 301 BLAKE2B f509ad202b6f82afe7d4ef71686198a382fd34bf94ce01753f7db6caaf1a1a1af8ca63682a329de3afc16885a4e0676eddd886227869fda4971cd383ffef783d SHA512 8208a760372f94562ed118e0a7b65a0d7c58291aba5898bd4b951acfddf001f076fea4cf3cae253fba298481e4d684645eca5772bdd71606228d0d06c2c68441
AUX mboxgrep-0.7.9-ldflags.patch 1212 BLAKE2B 30c7cc0f233d207838b5a24d189f4c442f98f2c3150e99dc202c4438f46f2ebea034e03c60e7f29d6c4bcd055be30b9aafdda37fe404ae44d552d2df631e91de SHA512 9aab0c978b1085cbbb915bd883f7c2b4808b9d5458b2fdbb8bfbeaeab709c9b5f0563c864904253bc0fc84e7e000e4587b755491601e3eabd30154a44d5dfacd
+AUX mboxgrep-0.7.9-musl-missing-strcmp.patch 314 BLAKE2B bb2bf368ed6af38770157f51fad44387518931285d32e35a98af58f332355274616ec28b2b0be49d008b49cf0d306aaf36c062ebedc29da574bf749242850e22 SHA512 2b3435b042f4ff6e1f34412789969c1b2c2475b9b8082c31c3fdfa99cae044b9f16039f4915d2fdc34bd9f61ed353b93b6b4eaf5bf22ed98a43077f2fbf1be72
DIST mboxgrep-0.7.9.tar.gz 76067 BLAKE2B e808f71c730fcf7edcefadcc579ede559a90db1f1a335fcf08a2002903cdaeac36080235450b6bc802b7cb100afd37a831fe6c57b40711aa70334633891d4330 SHA512 d7e768a0ad11bc3df8619f2a888d2943c68ef72dd036c2fe58268686efb50cb1f62ba379571b6cd6efa8493c5ea0d7c09a29520eae6c68f66d9453710eeeba11
EBUILD mboxgrep-0.7.9-r2.ebuild 769 BLAKE2B 34315723864b639450b00745a06ed41742ed735c3b615f2ce851151bfd66e5bfc2cec06d3d462a3ccff75e3f2594ed21bf55398fda5b39434c1eec4ce877a7ea SHA512 eb333118b1b656d73b638e15cbda88e6e6146b470f315b68c7ad5fa9fcafa23292415f273ebf82ddeed578bb79de1bccbba945e553c3a951d39a5abe53edc369
+EBUILD mboxgrep-0.7.9-r3.ebuild 906 BLAKE2B b91c4dd27c6aa11494befd6af63b3a24e454a9be6d96b1a0c80ae1723e0a9b66dbc040979cdfd5b6ad39b839ebab041f863de7e4e786785266ff9faddc651db7 SHA512 f73936b190a7c8aa8304646379cbc93ccfd555d75c4fc330ee7affefe85c8abd1bba114b3c0d8b418c97b251e3738053e0b381f56a4f78ffbc0ecadc57196d3b
MISC metadata.xml 338 BLAKE2B aa7ebf0c275116269fb03197070bad22f22f3ed75a0b3f549c1992df014ad8e7286dc0a612828c44964953fecbd97ab12778da699fcc8ad02c049f946ebfecea SHA512 aeab3e52eeb9899dbb876faad42143f067a245ad4e50101c72094e817f72e124e39ce0b64a6c08f2d30a2c3bdb28d8490acda3830aeaea672a54fc5249db1dcb
diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-musl-missing-strcmp.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-musl-missing-strcmp.patch
new file mode 100644
index 000000000000..b2b66d7e5be3
--- /dev/null
+++ b/net-mail/mboxgrep/files/mboxgrep-0.7.9-musl-missing-strcmp.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/897938
+--- a/src/getopt.c
++++ b/src/getopt.c
+@@ -52,6 +52,7 @@ char *alloca ();
+ #endif
+
+ #include <stdio.h>
++#include <string.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not
+ actually compiling the library itself. This code is part of the GNU C
diff --git a/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild b/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild
new file mode 100644
index 000000000000..989483a407a7
--- /dev/null
+++ b/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools
+
+DESCRIPTION="Grep for mbox files"
+SRC_URI="mirror://sourceforge/mboxgrep/${P}.tar.gz"
+HOMEPAGE="https://datatipp.se/mboxgrep/"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dmalloc"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/libpcre
+ sys-libs/zlib
+ dmalloc? ( dev-libs/dmalloc )
+"
+DEPEND="
+ ${RDEPEND}
+"
+PATCHES=(
+ "${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch
+ "${FILESDIR}"/${P}-fno-common.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+ "${FILESDIR}"/${PN}-0.7.9-musl-missing-strcmp.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with dmalloc dmalloc $(usex dmalloc yes no))
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ mandir="${D}"/usr/share/man \
+ infodir="${D}"/usr/share/info \
+ install
+ dodoc ChangeLog NEWS TODO README
+}