summaryrefslogtreecommitdiff
path: root/sys-apps/grep
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sys-apps/grep
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'sys-apps/grep')
-rw-r--r--sys-apps/grep/Manifest4
-rw-r--r--sys-apps/grep/files/grep-3.11-100k-files-dir.patch143
-rw-r--r--sys-apps/grep/files/grep-3.12-write-error-test.patch43
-rw-r--r--sys-apps/grep/grep-3.11-r1.ebuild122
-rw-r--r--sys-apps/grep/grep-3.12.ebuild124
-rw-r--r--sys-apps/grep/metadata.xml25
6 files changed, 0 insertions, 461 deletions
diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest
deleted file mode 100644
index c7ad266e6b69..000000000000
--- a/sys-apps/grep/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST grep-3.11.tar.xz 1703776 BLAKE2B e21785bca20b5a090d32bb5dc525fb298af30165106ed4c289b1518ea3d2acdcacfd6309b12f13be29a4b958f19588546119c695deb2b7500d49dcff86357bdc SHA512 f254a1905a08c8173e12fbdd4fd8baed9a200217fba9d7641f0d78e4e002c1f2a621152d67027d9b25f0bb2430898f5233dc70909d8464fd13d7dd9298e65c42
-DIST grep-3.11.tar.xz.sig 833 BLAKE2B 5edfba20e3a9f54d25ae63cf04985382bf6afb0ca643979561321090614e68b5d234767b07e48211888722c52c441233093735e183ff69432d5ee2e6a4f53aea SHA512 487aba063373ca0594c519991f19b2a6a33b3da0d74735c890f3828fd0880e7e6f64495d2c8f9efa5da53d1eb2d446609bab2399a4b89dcb4510a632e31ffb54
-DIST grep-3.12.tar.xz 1918448 BLAKE2B 93d06bce04793f4b4c94d92febc6092f669e50e1bfc1bef3c911a2ca322560bdab8619e88a05a4d6ea4908b2d01da1926a99a22eecc513bd48b8957984bdfa12 SHA512 c54b4db5a8b9afe098c088decd94977746305284d716666a60bac82b4edc0fae4acf828970b5b6fc7d58ecd549f638e17e6958f33a71fedcc7d7415b9228b161
-DIST grep-3.12.tar.xz.sig 833 BLAKE2B f9b3b4f89e15b8b66f91d89fc25322bd9f4a9207fbff5e5e35dd7a0edf84c48a555ed3d1f8f53dd996c347e784b4fe9366bdc47e74cf445cbe7e4430b2bd2524 SHA512 333755fd9e5879436789a19e9593667d6fb96c2d1b876a1c391eb9cd75d10bb7fbc10215db9838280e6006790c818ef4583b1ae22318a833a5b69264ca15dbf1
diff --git a/sys-apps/grep/files/grep-3.11-100k-files-dir.patch b/sys-apps/grep/files/grep-3.11-100k-files-dir.patch
deleted file mode 100644
index 2862fef02efd..000000000000
--- a/sys-apps/grep/files/grep-3.11-100k-files-dir.patch
+++ /dev/null
@@ -1,143 +0,0 @@
-https://bugs.gentoo.org/930825
-https://debbugs.gnu.org/64773
-https://bugs.debian.org/1041588
-https://bugs.debian.org/1041588#105
-
-We backport the following:
-* the fix (https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=d4d8abb39eb02c555f062b1f83ffcfac999c582f)
-* a test (https://git.savannah.gnu.org/cgit/grep.git/commit/?id=d1c3fbe7722662b449bae23130b644c726473fe3)
-* a fixup commit for the test (https://git.savannah.gnu.org/cgit/grep.git/commit/?id=180e8dd674ede48727c03647dd36c1f8c3379667)
-
-From d4d8abb39eb02c555f062b1f83ffcfac999c582f Mon Sep 17 00:00:00 2001
-From: Bruno Haible <bruno@clisp.org>
-Date: Fri, 5 May 2023 12:02:49 +0200
-Subject: [PATCH] dirfd: Fix bogus override (regression 2023-04-26).
-
-Reported by Bjarni Ingi Gislason <bjarniig@simnet.is> in
-<https://lists.gnu.org/archive/html/bug-gnulib/2023-05/msg00040.html>.
-
-* m4/dirfd.m4 (gl_FUNC_DIRFD): Fix mistake in last change.
---- a/m4/dirfd.m4
-+++ b/m4/dirfd.m4
-@@ -1,4 +1,4 @@
--# serial 27 -*- Autoconf -*-
-+# serial 28 -*- Autoconf -*-
-
- dnl Find out how to get the file descriptor associated with an open DIR*.
-
-@@ -40,10 +40,6 @@ AC_DEFUN([gl_FUNC_DIRFD],
- HAVE_DIRFD=0
- else
- HAVE_DIRFD=1
-- dnl Replace only if the system declares dirfd already.
-- if test $ac_cv_have_decl_dirfd = yes; then
-- REPLACE_DIRFD=1
-- fi
- dnl Replace dirfd() on native Windows, to support fdopendir().
- AC_REQUIRE([gl_DIRENT_DIR])
- if test $DIR_HAS_FD_MEMBER = 0; then
---- a/configure
-+++ b/configure
-@@ -31438,9 +31438,6 @@ printf "%s\n" "$gl_cv_func_dirfd_macro" >&6; }
- HAVE_DIRFD=0
- else
- HAVE_DIRFD=1
-- if test $ac_cv_have_decl_dirfd = yes; then
-- REPLACE_DIRFD=1
-- fi
-
- if test $DIR_HAS_FD_MEMBER = 0; then
- REPLACE_DIRFD=1
-From d1c3fbe7722662b449bae23130b644c726473fe3 Mon Sep 17 00:00:00 2001
-From: Jim Meyering <meyering@meta.com>
-Date: Fri, 21 Jul 2023 17:42:23 -0700
-Subject: doc: mention the 100,000-entry ENOTSUP bug
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* NEWS: document the fixed bug.
-* tests/100k-entries: New file, to test for this.
-Reported by Vincent Lefevre via Santiago Ruano Rincón in
-https://bugs.gnu.org/64773
-Fixed by gnulib commit v0.1-6175-gd4d8abb39e.
----
- tests/100k-entries | 15 +++++++++++++++
- 2 files changed, 24 insertions(+)
- create mode 100755 tests/100k-entries
-
-diff --git a/tests/100k-entries b/tests/100k-entries
-new file mode 100755
-index 0000000..382ab3c
---- /dev/null
-+++ b/tests/100k-entries
-@@ -0,0 +1,15 @@
-+#!/bin/sh
-+# This would make grep-3.11 fail with ENOTSUP and exit 2.
-+. "${srcdir=.}/init.sh"; path_prepend_ ../src
-+expensive_
-+
-+fail=0
-+
-+mkdir t || framework_failure_
-+(cd t && seq 100000|xargs touch) || framework_failure_
-+
-+returns_ 1 grep -r x t > out 2> err
-+compare /dev/null out || fail=1
-+compare /dev/null err || fail=1
-+
-+Exit $fail
---
-cgit v1.1
-
-From 180e8dd674ede48727c03647dd36c1f8c3379667 Mon Sep 17 00:00:00 2001
-From: Jim Meyering <meyering@meta.com>
-Date: Sun, 20 Aug 2023 12:42:14 -0700
-Subject: tests: actually package and run the new 100k-entries test
-
-* tests/Makefile.am (TESTS): Include the new test file name,
-100k-entries.
----
- tests/Makefile.am | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index d566445..94430a9 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -71,6 +71,7 @@ else
- endif
-
- TESTS = \
-+ 100k-entries \
- backref \
- backref-alt \
- backref-multibyte-slow \
---
-cgit v1.1
-diff --git a/tests/Makefile.in b/tests/Makefile.in
-index 8ae7bb4..0007f8d 100644
---- a/tests/Makefile.in
-+++ b/tests/Makefile.in
-@@ -1953,6 +1953,7 @@ XFAIL_TESTS = triple-backref glibc-infloop $(am__append_1)
- # If you're using older glibc you can upgrade to glibc 2.28 or later,
- # configure --with-included-regex, or ignore the test failure.
- TESTS = \
-+ 100k-entries \
- backref \
- backref-alt \
- backref-multibyte-slow \
-@@ -2430,6 +2431,13 @@ recheck: all $(check_PROGRAMS)
- am__force_recheck=am--force-recheck \
- TEST_LOGS="$$log_list"; \
- exit $$?
-+100k-entries.log: 100k-entries
-+ @p='100k-entries'; \
-+ b='100k-entries'; \
-+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
-+ --log-file $$b.log --trs-file $$b.trs \
-+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
-+ "$$tst" $(AM_TESTS_FD_REDIRECT)
- backref.log: backref
- @p='backref'; \
- b='backref'; \
diff --git a/sys-apps/grep/files/grep-3.12-write-error-test.patch b/sys-apps/grep/files/grep-3.12-write-error-test.patch
deleted file mode 100644
index 479ab351a95f..000000000000
--- a/sys-apps/grep/files/grep-3.12-write-error-test.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-https://cgit.git.savannah.gnu.org/cgit/grep.git/commit/?id=682f7f693d77352e9495978c92037ef28377a024
-
-From 682f7f693d77352e9495978c92037ef28377a024 Mon Sep 17 00:00:00 2001
-From: Jim Meyering <meyering@meta.com>
-Date: Wed, 14 May 2025 10:56:16 -0700
-Subject: tests: write-error-msg: avoid false-failure
-
-* tests/write-error-msg: Do not require that a disk full
-diagnostic include additional information. In some cases, there
-is no valid errno value, so we cannot provide more information.
-This was exposed by a patch that coincidentally caused the length
-of grep's help output to be precisely 4096 bytes long.
-Reported in https://bugs.gnu.org/77800
----
- tests/write-error-msg | 8 +-------
- 1 file changed, 1 insertion(+), 7 deletions(-)
-
-diff --git a/tests/write-error-msg b/tests/write-error-msg
-index 38c4fa0..deb6d09 100755
---- a/tests/write-error-msg
-+++ b/tests/write-error-msg
-@@ -43,7 +43,7 @@ returns_ 2 grep -q --help >/dev/full 2>err3 || fail=1
- # ensure each error message file contains a 'write error' with additional text
- for f in err1 err2 err3 ;
- do
-- grep -Eiq '^[^:]*: write error: [a-z]+' $f \
-+ grep -Eiq '^[^:]*: write error' $f \
- || {
- warn_ "incorrect/missing error message in file $f"
- compare /dev/null $f # print the content in the logs
-@@ -51,10 +51,4 @@ do
- }
- done
-
--# These messages should be identical
--for f in err2 err3; do
-- compare err1 $f \
-- || { warn_ "err1,$f contain different error messages" ; fail=1 ; }
--done
--
- Exit $fail
---
-cgit v1.2.3
diff --git a/sys-apps/grep/grep-3.11-r1.ebuild b/sys-apps/grep/grep-3.11-r1.ebuild
deleted file mode 100644
index edfa8ac27154..000000000000
--- a/sys-apps/grep/grep-3.11-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/grep.asc
-inherit flag-o-matic verify-sig
-
-DESCRIPTION="GNU regular expression matcher"
-HOMEPAGE="https://www.gnu.org/software/grep/"
-
-if [[ ${PV} == *_p* ]] ; then
- # Subscribe to the 'platform-testers' ML to find these.
- # Useful to test on our especially more niche arches and report issues upstream.
- MY_COMMIT="19-2ea9"
- MY_P=${PN}-$(ver_cut 1-2).${MY_COMMIT}
- SRC_URI="https://meyering.net/${PN}/${MY_P}.tar.xz"
- SRC_URI+=" verify-sig? ( https://meyering.net/${PN}/${MY_P}.tar.xz.sig )"
- S="${WORKDIR}"/${MY_P}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
- SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="+egrep-fgrep nls pcre static"
-
-# We lack dev-libs/libsigsegv[static-libs] for now
-REQUIRED_USE="static? ( !sparc )"
-
-LIB_DEPEND="
- pcre? ( >=dev-libs/libpcre2-10.42-r1[static-libs(+)] )
- sparc? ( dev-libs/libsigsegv )
-"
-RDEPEND="
- !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
- nls? ( virtual/libintl )
- virtual/libiconv
-"
-DEPEND="
- ${RDEPEND}
- static? ( ${LIB_DEPEND} )
-"
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- verify-sig? ( sec-keys/openpgp-keys-grep )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # Either gnulib FPs or fixed in newer autoconf, not worth autoreconf here for now?
- MIN
- alignof
- static_assert
-)
-
-PATCHES=(
- "${FILESDIR}"/${P}-100k-files-dir.patch
-)
-
-src_prepare() {
- default
-
- # bug #523898
- sed -i \
- -e "s:@SHELL@:${EPREFIX}/bin/sh:g" \
- -e "s:@grep@:${EPREFIX}/bin/grep:" \
- src/egrep.sh || die
-
- # Drop when grep-3.11-100k-files-dir.patch is gone
- touch aclocal.m4 config.hin configure {,doc/,gnulib-tests/,lib/,src/,tests/}Makefile.in || die
-}
-
-src_configure() {
- use static && append-ldflags -static
-
- # We used to turn this off unconditionally (bug #673524) but we now
- # allow it for cases where libsigsegv is better for userspace handling
- # of stack overflows.
- # In particular, it's necessary for sparc: bug #768135
- export ac_cv_libsigsegv=$(usex sparc)
-
- local myeconfargs=(
- --bindir="${EPREFIX}"/bin
- $(use_enable nls)
- $(use_enable pcre perl-regexp)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- if use egrep-fgrep ; then
- # Delete the upstream wrapper variants which warn on egrep+fgrep use
- rm "${ED}"/bin/{egrep,fgrep} || die
-
- into /
- # Install egrep, fgrep which don't warn.
- #
- # We do this by default to avoid breakage in old scripts
- # and such which don't expect unexpected output on stderr,
- # we've had examples of builds failing because foo-config
- # starts returning a warning.
- #
- # https://lists.gnu.org/archive/html/bug-grep/2022-10/msg00000.html
- newbin - egrep <<-EOF
- #!/usr/bin/env sh
- exec "${EPREFIX}/bin/grep" -E "\$@"
- EOF
-
- newbin - fgrep <<-EOF
- #!/usr/bin/env sh
- exec "${EPREFIX}/bin/grep" -F "\$@"
- EOF
- fi
-}
diff --git a/sys-apps/grep/grep-3.12.ebuild b/sys-apps/grep/grep-3.12.ebuild
deleted file mode 100644
index c35f7d8110b1..000000000000
--- a/sys-apps/grep/grep-3.12.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/grep.asc
-inherit branding flag-o-matic verify-sig
-
-DESCRIPTION="GNU regular expression matcher"
-HOMEPAGE="https://www.gnu.org/software/grep/"
-
-if [[ ${PV} == *_p* ]] ; then
- # Subscribe to the 'platform-testers' ML to find these.
- # Useful to test on our especially more niche arches and report issues upstream.
- MY_COMMIT="69-a4628"
- MY_P=${PN}-$(ver_cut 1-2).${MY_COMMIT}
- SRC_URI="https://meyering.net/${PN}/${MY_P}.tar.xz"
- SRC_URI+=" verify-sig? ( https://meyering.net/${PN}/${MY_P}.tar.xz.sig )"
- S="${WORKDIR}"/${MY_P}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
- SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="+egrep-fgrep nls pcre static test-full"
-
-# We lack dev-libs/libsigsegv[static-libs] for now
-REQUIRED_USE="static? ( !sparc )"
-
-LIB_DEPEND="
- pcre? ( >=dev-libs/libpcre2-10.42-r1[static-libs(+)] )
- sparc? ( dev-libs/libsigsegv )
-"
-RDEPEND="
- !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
- nls? ( virtual/libintl )
- virtual/libiconv
-"
-DEPEND="
- ${RDEPEND}
- static? ( ${LIB_DEPEND} )
-"
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- verify-sig? ( sec-keys/openpgp-keys-grep )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # Either gnulib FPs or fixed in newer autoconf, not worth autoreconf here for now?
- MIN
- alignof
- static_assert
-)
-
-PATCHES=(
- "${FILESDIR}"/${P}-write-error-test.patch
-)
-
-src_prepare() {
- default
-
- # bug #523898
- sed -i \
- -e "s:@SHELL@:${EPREFIX}/bin/sh:g" \
- -e "s:@grep@:${EPREFIX}/bin/grep:" \
- src/egrep.sh || die
-
- # Drop when grep-3.11-100k-files-dir.patch is gone
- #touch aclocal.m4 config.hin configure {,doc/,gnulib-tests/,lib/,src/,tests/}Makefile.in || die
-}
-
-src_configure() {
- use static && append-ldflags -static
-
- export RUN_{VERY_,}EXPENSIVE_TESTS=$(usex test-full yes no)
-
- # We used to turn this off unconditionally (bug #673524) but we now
- # allow it for cases where libsigsegv is better for userspace handling
- # of stack overflows.
- # In particular, it's necessary for sparc: bug #768135
- export ac_cv_libsigsegv=$(usex sparc)
-
- local myeconfargs=(
- --bindir="${EPREFIX}"/bin
- $(use_enable nls)
- $(use_enable pcre perl-regexp)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- if use egrep-fgrep ; then
- # Delete the upstream wrapper variants which warn on egrep+fgrep use
- rm "${ED}"/bin/{egrep,fgrep} || die
-
- into /
- # Install egrep, fgrep which don't warn.
- #
- # We do this by default to avoid breakage in old scripts
- # and such which don't expect unexpected output on stderr,
- # we've had examples of builds failing because foo-config
- # starts returning a warning.
- #
- # https://lists.gnu.org/archive/html/bug-grep/2022-10/msg00000.html
- newbin - egrep <<-EOF
- #!/usr/bin/env sh
- exec "${EPREFIX}/bin/grep" -E "\$@"
- EOF
-
- newbin - fgrep <<-EOF
- #!/usr/bin/env sh
- exec "${EPREFIX}/bin/grep" -F "\$@"
- EOF
- fi
-}
diff --git a/sys-apps/grep/metadata.xml b/sys-apps/grep/metadata.xml
deleted file mode 100644
index a727cc78f729..000000000000
--- a/sys-apps/grep/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
- </maintainer>
- <use>
- <flag name="egrep-fgrep">
- Install deprecated 'egrep' and 'fgrep' wrappers
- for 'grep -E' and 'grep -F' respectively.
-
- GNU grep 3.8 onwards warns about their usage by
- default, but the versions installed by this flag do not.
-
- No deprecation warnings are emitted when this
- flag is enabled.
- </flag>
- <flag name="test-full">Run expensive tests (mostly CPU intensive).</flag>
- </use>
- <upstream>
- <remote-id type="cpe">cpe:/a:gnu:grep</remote-id>
- <remote-id type="savannah">grep</remote-id>
- </upstream>
-</pkgmetadata>