commit: cafb08c00cfc08bd177383f88d1b30975a2a8315 Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org> AuthorDate: Wed Oct 1 13:14:47 2025 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Wed Oct 1 13:31:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafb08c0
net-mail/mboxgrep: drop 0.7.9-r3 Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> net-mail/mboxgrep/Manifest | 1 - .../files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch | 11 ----- .../mboxgrep/files/mboxgrep-0.7.9-fno-common.patch | 20 --------- .../mboxgrep/files/mboxgrep-0.7.9-ldflags.patch | 52 ---------------------- .../files/mboxgrep-0.7.9-musl-missing-strcmp.patch | 11 ----- net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild | 47 ------------------- 6 files changed, 142 deletions(-) diff --git a/net-mail/mboxgrep/Manifest b/net-mail/mboxgrep/Manifest index 64b93e962119..325449ad1fc4 100644 --- a/net-mail/mboxgrep/Manifest +++ b/net-mail/mboxgrep/Manifest @@ -1,2 +1 @@ DIST mboxgrep-0.7.13.tar.gz 154779 BLAKE2B b9d92a0953228647331aad64950fa5b88c135f242a075255cb700b7ecb4dd8f00ed9002ff0ebfd03be1a9b8f88a0f8e0a5422b3277ea7a843ed5c748273e446e SHA512 2211a5251905d3e5ac68f159fd58f667e09a7b142d2d34456ad777a46dd34f7ac71a9562f8639a64848e51de1db71afdd9f61481815050e7ec4b1ab1d71e32fa -DIST mboxgrep-0.7.9.tar.gz 76067 BLAKE2B e808f71c730fcf7edcefadcc579ede559a90db1f1a335fcf08a2002903cdaeac36080235450b6bc802b7cb100afd37a831fe6c57b40711aa70334633891d4330 SHA512 d7e768a0ad11bc3df8619f2a888d2943c68ef72dd036c2fe58268686efb50cb1f62ba379571b6cd6efa8493c5ea0d7c09a29520eae6c68f66d9453710eeeba11 diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch deleted file mode 100644 index fe7ffec2d578..000000000000 --- a/net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/misc.c -+++ b/src/misc.c -@@ -19,7 +19,7 @@ - $Id: misc.c,v 1.13 2003/04/06 21:01:49 dspiljar Exp $ */ - - #define _XOPEN_SOURCE /* Pull in strptime(3) from time.h */ --#define _BSD_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3) -+#define _DEFAULT_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3) - * from string.h. */ - - #include <config.h> diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch deleted file mode 100644 index 09c8388998cb..000000000000 --- a/net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/mboxgrep.h -+++ b/src/mboxgrep.h -@@ -129,6 +129,6 @@ - } - option_t; - --option_t config; -+extern option_t config; - - #endif /* MBOXGREP_H */ ---- a/src/main.c -+++ b/src/main.c -@@ -57,6 +57,7 @@ - int count = 0; - void *tmpp; - checksum_t *cs; -+option_t config; - - int - main (int argc, char **argv) diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch deleted file mode 100644 index dd0742626b47..000000000000 --- a/net-mail/mboxgrep/files/mboxgrep-0.7.9-ldflags.patch +++ /dev/null @@ -1,52 +0,0 @@ -commit f51a9eafb80a5c5e506d7fe416c0b768ec1a6655 -Author: Eray Aslan <[email protected]> -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 <[email protected]> -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/files/mboxgrep-0.7.9-musl-missing-strcmp.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-musl-missing-strcmp.patch deleted file mode 100644 index b2b66d7e5be3..000000000000 --- a/net-mail/mboxgrep/files/mboxgrep-0.7.9-musl-missing-strcmp.patch +++ /dev/null @@ -1,11 +0,0 @@ -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 deleted file mode 100644 index f72b84546f2a..000000000000 --- a/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit autotools - -DESCRIPTION="Grep for mbox files" -HOMEPAGE="https://datatipp.se/mboxgrep/" -SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" - -RDEPEND=" - app-arch/bzip2 - dev-libs/libpcre - sys-libs/zlib -" -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 \ - --without-dmalloc -} - -src_install() { - emake \ - prefix="${D}"/usr \ - mandir="${D}"/usr/share/man \ - infodir="${D}"/usr/share/info \ - install - dodoc ChangeLog NEWS TODO README -}
