sys-apps/grep: sync with upstream

This commit is contained in:
Andrew Jeddeloh 2018-03-07 14:29:55 -08:00
parent 3ff7d76a7f
commit eda61d5db5
10 changed files with 193 additions and 657 deletions

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure prepare
DEPEND=!static? ( pcre? ( >=dev-libs/libpcre-7.8-r1 ) ) nls? ( virtual/libintl ) virtual/libiconv virtual/pkgconfig nls? ( sys-devel/gettext ) static? ( pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] ) )
DESCRIPTION=GNU regular expression matcher
EAPI=5
HOMEPAGE=https://www.gnu.org/software/grep/
IUSE=nls pcre static
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3
RDEPEND=!static? ( pcre? ( >=dev-libs/libpcre-7.8-r1 ) ) nls? ( virtual/libintl ) virtual/libiconv
SLOT=0
SRC_URI=mirror://gnu/grep/grep-2.27.tar.xz mirror://gentoo/grep-2.27.tar.xz
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
_md5_=7d9ab3655418c5fa197667221eb6b680

View File

@ -1,13 +1,13 @@
DEFINED_PHASES=configure prepare
DEPEND=!static? ( pcre? ( >=dev-libs/libpcre-7.8-r1 ) ) nls? ( virtual/libintl ) virtual/libiconv virtual/pkgconfig nls? ( sys-devel/gettext ) static? ( pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] ) )
DESCRIPTION=GNU regular expression matcher
EAPI=4
EAPI=5
HOMEPAGE=https://www.gnu.org/software/grep/
IUSE=nls pcre static
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3
RDEPEND=!static? ( pcre? ( >=dev-libs/libpcre-7.8-r1 ) ) nls? ( virtual/libintl ) virtual/libiconv
SLOT=0
SRC_URI=mirror://gnu/grep/grep-2.21.tar.xz mirror://gentoo/grep-2.21.tar.xz https://dev.gentoo.org/~polynomial-c/grep-2.21-heap_buffer_overrun.patch
SRC_URI=mirror://gnu/grep/grep-3.0.tar.xz mirror://gentoo/grep-3.0.tar.xz
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
_md5_=d989e6a88a575240691c1de96204b5b1
_md5_=3d3d6ae8680010f3243a536dd2f6d899

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure prepare
DEPEND=!static? ( pcre? ( >=dev-libs/libpcre-7.8-r1 ) ) nls? ( virtual/libintl ) virtual/libiconv virtual/pkgconfig nls? ( sys-devel/gettext ) static? ( pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] ) )
DESCRIPTION=GNU regular expression matcher
EAPI=5
HOMEPAGE=https://www.gnu.org/software/grep/
IUSE=nls pcre static
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3
RDEPEND=!static? ( pcre? ( >=dev-libs/libpcre-7.8-r1 ) ) nls? ( virtual/libintl ) virtual/libiconv
SLOT=0
SRC_URI=mirror://gnu/grep/grep-3.1.tar.xz mirror://gentoo/grep-3.1.tar.xz
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
_md5_=4cc0e1bfc81ffee4dbd1d3023578619f

View File

@ -1,633 +0,0 @@
# ChangeLog for sys-apps/grep
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.161 2015/07/21 15:58:19 vapier Exp $
21 Jul 2015; Mike Frysinger <vapier@gentoo.org> grep-2.21-r1.ebuild:
Disable gnulib update-copyright test for now #554728 by Paolo Pedroni.
21 Mar 2015; Mike Frysinger <vapier@gentoo.org> grep-2.21-r1.ebuild:
Mark arm64/m68k/s390/sh stable.
16 Mar 2015; Lars Wendler <polynomial-c@gentoo.org> -grep-2.16.ebuild,
-grep-2.20.ebuild, -grep-2.20-r1.ebuild, -grep-2.21.ebuild:
Removed vulnerable versions.
16 Feb 2015; Mikle Kolyada <zlogene@gentoo.org> grep-2.21-r1.ebuild:
ia64/ppc64 stable wrt bug #537046
16 Feb 2015; Agostino Sarubbo <ago@gentoo.org> grep-2.21-r1.ebuild:
Stable for sparc, wrt bug #537046
31 Jan 2015; Agostino Sarubbo <ago@gentoo.org> grep-2.21-r1.ebuild:
Stable for ppc, wrt bug #537046
25 Jan 2015; Markus Meier <maekke@gentoo.org> grep-2.21-r1.ebuild:
arm stable, bug #537046
25 Jan 2015; Agostino Sarubbo <ago@gentoo.org> grep-2.21-r1.ebuild:
Stable for alpha, wrt bug #537046
21 Jan 2015; Agostino Sarubbo <ago@gentoo.org> grep-2.21-r1.ebuild:
Stable for x86, wrt bug #537046
21 Jan 2015; Agostino Sarubbo <ago@gentoo.org> grep-2.21-r1.ebuild:
Stable for amd64, wrt bug #537046
20 Jan 2015; Jeroen Roovers <jer@gentoo.org> grep-2.21-r1.ebuild:
Stable for HPPA (bug #537046).
*grep-2.21-r1 (20 Jan 2015)
20 Jan 2015; Lars Wendler <polynomial-c@gentoo.org> +grep-2.21-r1.ebuild:
Security bump (bug #537046). Upstream fix added without test suite because it
causes error in another test.
*grep-2.21 (24 Nov 2014)
24 Nov 2014; Tim Harder <radhermit@gentoo.org> +grep-2.21.ebuild:
Version bump.
*grep-2.20-r1 (16 Oct 2014)
16 Oct 2014; Mike Frysinger <vapier@gentoo.org> +grep-2.20-r1.ebuild:
Force egrep/fgrep wrapper scripts to always use /bin/sh #523898 by Ruud
Koolen.
04 Jun 2014; Samuli Suominen <ssuominen@gentoo.org>
-files/grep-2.15-avoid_maintainer_mode.patch,
-files/grep-2.15-fix_pattern_matching.patch,
-files/grep-2.15-fix_pcre_abort_regression.patch, -grep-2.18.ebuild,
-grep-2.19.ebuild:
old
*grep-2.20 (04 Jun 2014)
04 Jun 2014; Samuli Suominen <ssuominen@gentoo.org> +grep-2.20.ebuild:
Version bump; fixing regression introduced in 2.19.
*grep-2.19 (23 May 2014)
23 May 2014; Lars Wendler <polynomial-c@gentoo.org> -grep-2.14.ebuild,
-grep-2.15-r1.ebuild, -grep-2.17.ebuild, +grep-2.19.ebuild:
Version bump. Removed old.
19 Mar 2014; Agostino Sarubbo <ago@gentoo.org> grep-2.16.ebuild:
Stable for alpha, wrt bug #502392
14 Mar 2014; Agostino Sarubbo <ago@gentoo.org> grep-2.16.ebuild:
Stable for ppc64, wrt bug #502392
12 Mar 2014; Agostino Sarubbo <ago@gentoo.org> grep-2.16.ebuild:
Stable for sparc, wrt bug #502392
08 Mar 2014; Mike Frysinger <vapier@gentoo.org> grep-2.14.ebuild,
grep-2.15-r1.ebuild, grep-2.16.ebuild, grep-2.17.ebuild, grep-2.18.ebuild:
Mark arm64/m68k/s390/sh stable.
05 Mar 2014; Markus Meier <maekke@gentoo.org> grep-2.16.ebuild:
arm stable, bug #502392
05 Mar 2014; Agostino Sarubbo <ago@gentoo.org> grep-2.16.ebuild:
Stable for ppc, wrt bug #502392
04 Mar 2014; Agostino Sarubbo <ago@gentoo.org> grep-2.16.ebuild:
Stable for x86, wrt bug #502392
02 Mar 2014; Pacho Ramos <pacho@gentoo.org> grep-2.16.ebuild:
amd64 stable, bug #502392
02 Mar 2014; Akinori Hattori <hattya@gentoo.org> grep-2.16.ebuild:
ia64 stable wrt bug #502392
01 Mar 2014; Jeroen Roovers <jer@gentoo.org> grep-2.16.ebuild:
Stable for HPPA (bug #502392).
*grep-2.18 (25 Feb 2014)
25 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> +grep-2.18.ebuild:
Version bump.
*grep-2.17 (18 Feb 2014)
18 Feb 2014; Mike Frysinger <vapier@gentoo.org> +grep-2.17.ebuild:
Version bump.
22 Jan 2014; Tim Harder <radhermit@gentoo.org> grep-2.16.ebuild:
Add pkgconfig dep (bug #498816).
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> grep-2.14.ebuild,
grep-2.15-r1.ebuild, grep-2.16.ebuild:
Add arm64 love.
04 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -grep-2.5.4-r1.ebuild,
-grep-2.6.3.ebuild, -grep-2.7.ebuild, -grep-2.8.ebuild, -grep-2.9.ebuild,
-grep-2.10.ebuild, -grep-2.11.ebuild, -grep-2.12.ebuild, -grep-2.13.ebuild,
-grep-2.15.ebuild, -files/grep-2.5.3-nls.patch,
-files/grep-2.5.3-po-builddir-fix.patch:
Removed old versions and files.
*grep-2.16 (02 Jan 2014)
02 Jan 2014; Mike Frysinger <vapier@gentoo.org> +grep-2.16.ebuild:
Version bump. Add USE=static support.
*grep-2.15-r1 (13 Dec 2013)
13 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> +grep-2.15-r1.ebuild,
+files/grep-2.15-avoid_maintainer_mode.patch,
+files/grep-2.15-fix_pattern_matching.patch,
+files/grep-2.15-fix_pcre_abort_regression.patch:
Fixed a regression when doing pcre searches (bug #494148). Fixed another
regression with pattern searches.
*grep-2.15 (27 Oct 2013)
27 Oct 2013; Tim Harder <radhermit@gentoo.org> +grep-2.15.ebuild:
Version bump.
05 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
Add upstream CPE tag (security info) from ChromiumOS.
21 Feb 2013; Zac Medico <zmedico@gentoo.org> grep-2.9.ebuild:
Add ~arm-linux keyword.
24 Dec 2012; Mike Frysinger <vapier@gentoo.org> grep-2.14.ebuild:
Mark alpha/s390/sh stable #436692.
17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> grep-2.14.ebuild:
Stable for ia64, wrt bug #436692
21 Nov 2012; Jeroen Roovers <jer@gentoo.org> grep-2.14.ebuild:
Stable for SPARC (bug #436692).
21 Nov 2012; Agostino Sarubbo <ago@gentoo.org> grep-2.14.ebuild:
Stable for x86, wrt bug #436692
07 Nov 2012; Anthony G. Basile <blueness@gentoo.org> grep-2.14.ebuild:
stable arm ppc ppc64, bug #436692
07 Nov 2012; Jeroen Roovers <jer@gentoo.org> grep-2.14.ebuild:
Stable for HPPA (bug #436692).
04 Nov 2012; <ago@gentoo.org> grep-2.14.ebuild:
Stable for amd64, wrt bug #436692
26 Aug 2012; Raúl Porcel <armin76@gentoo.org> grep-2.12.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #429694
*grep-2.14 (20 Aug 2012)
20 Aug 2012; Mike Frysinger <vapier@gentoo.org> +grep-2.14.ebuild:
Version bump.
05 Aug 2012; Johannes Huber <johu@gentoo.org> grep-2.12.ebuild:
Stable for x86, wrt bug #429694
05 Aug 2012; Anthony G. Basile <blueness@gentoo.org> grep-2.12.ebuild:
Stable arm, bug #429694
05 Aug 2012; Anthony G. Basile <blueness@gentoo.org> grep-2.12.ebuild:
Stable ppc ppc64, bug #429694
04 Aug 2012; Jeroen Roovers <jer@gentoo.org> grep-2.12.ebuild:
Stable for HPPA (bug #429694).
04 Aug 2012; Agostino Sarubbo <ago@gentoo.org> grep-2.12.ebuild:
Stable for amd64, wrt bug #429694
*grep-2.13 (05 Jul 2012)
05 Jul 2012; Mike Frysinger <vapier@gentoo.org> +grep-2.13.ebuild:
Version bump.
*grep-2.12 (24 Apr 2012)
24 Apr 2012; Mike Frysinger <vapier@gentoo.org> +grep-2.12.ebuild:
Version bump.
*grep-2.11 (02 Mar 2012)
02 Mar 2012; Mike Frysinger <vapier@gentoo.org> +grep-2.11.ebuild:
Version bump.
02 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> grep-2.9.ebuild:
ppc64 stable wrt #398453
01 Feb 2012; Brent Baude <ranger@gentoo.org> grep-2.9.ebuild:
Marking grep-2.9 ppc for bug 398453
22 Jan 2012; Raúl Porcel <armin76@gentoo.org> grep-2.9.ebuild:
alpha/arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #398453
17 Jan 2012; Jeroen Roovers <jer@gentoo.org> grep-2.9.ebuild:
Stable for HPPA (bug #398453).
13 Jan 2012; Agostino Sarubbo <ago@gentoo.org> grep-2.9.ebuild:
Stable for AMD64, wrt bug #398453
*grep-2.10 (16 Nov 2011)
16 Nov 2011; Mike Frysinger <vapier@gentoo.org> +grep-2.10.ebuild:
Version bump.
13 Aug 2011; Fabian Groffen <grobian@gentoo.org> grep-2.9.ebuild:
Add Prefix support, transferred Prefix keywords
07 Jul 2011; Alexis Ballier <aballier@gentoo.org> grep-2.9.ebuild:
depend on virtual/libiconv, bug #363101
*grep-2.9 (22 Jun 2011)
22 Jun 2011; Mike Frysinger <vapier@gentoo.org> +grep-2.9.ebuild:
Version bump.
*grep-2.8 (14 May 2011)
14 May 2011; Mike Frysinger <vapier@gentoo.org> +grep-2.8.ebuild:
Version bump.
*grep-2.7 (20 Sep 2010)
20 Sep 2010; Mike Frysinger <vapier@gentoo.org> +grep-2.7.ebuild:
Version bump.
*grep-2.6.3 (02 Apr 2010)
02 Apr 2010; Mike Frysinger <vapier@gentoo.org> +grep-2.6.3.ebuild:
Version bump.
*grep-2.6.2 (29 Mar 2010)
29 Mar 2010; Mike Frysinger <vapier@gentoo.org> +grep-2.6.2.ebuild:
Version bump.
*grep-2.6.1 (27 Mar 2010)
27 Mar 2010; Mike Frysinger <vapier@gentoo.org> +grep-2.6.1.ebuild,
+files/grep-2.6.1-no-french.patch:
Version bump.
*grep-2.6 (23 Mar 2010)
23 Mar 2010; Mike Frysinger <vapier@gentoo.org> +grep-2.6.ebuild:
Version bump. Fixes #232041 #269734 #274436 #283574.
22 Oct 2009; Peter Alfredsen <loki_val@gentoo.org> -grep-2.5.1a-r1.ebuild,
-grep-2.5.3-r1.ebuild, -grep-2.5.4.ebuild:
Punt old versions which depend on old libpcre.
04 Jul 2009; nixnut <nixnut@gentoo.org> grep-2.5.4-r1.ebuild:
ppc stable #273037
19 Jun 2009; Brent Baude <ranger@gentoo.org> grep-2.5.4-r1.ebuild:
stable ppc64, bug 273037
11 Jun 2009; Markus Meier <maekke@gentoo.org> grep-2.5.4-r1.ebuild:
amd64 stable, bug #273037
11 Jun 2009; Raúl Porcel <armin76@gentoo.org> grep-2.5.4-r1.ebuild:
alpha/arm/ia64/m68k/s390/sh stable wrt #273037
09 Jun 2009; Christian Faulhammer <fauli@gentoo.org> grep-2.5.4-r1.ebuild:
stable x86, bug 273037
08 Jun 2009; Ferris McCormick <fmccor@gentoo.org> grep-2.5.4-r1.ebuild:
Sparc stable, Bug #273037.
08 Jun 2009; Jeroen Roovers <jer@gentoo.org> grep-2.5.4-r1.ebuild:
Stable for HPPA (bug #273037).
*grep-2.5.4-r1 (09 Apr 2009)
09 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> grep-2.5.1a-r1.ebuild,
grep-2.5.3-r1.ebuild, grep-2.5.4.ebuild, +grep-2.5.4-r1.ebuild:
Revision bump for new libpcre. We can now use libpcre.so since it's in
/lib - bug 1638 and bug 53627. Change DEPENDS of previous versions to
reflect this, since new libpcre no longer includes .a archives.
11 Mar 2009; Timothy Redaelli <drizzt@gentoo.org> grep-2.5.4.ebuild:
Add ~amd64-fbsd keyword.
Readd the nls patch (#253777)
11 Feb 2009; Mike Frysinger <vapier@gentoo.org> grep-2.5.4.ebuild:
Apply the po builddir fix again #258492 by Dan Coats.
*grep-2.5.4 (10 Feb 2009)
10 Feb 2009; Mike Frysinger <vapier@gentoo.org> +grep-2.5.4.ebuild:
Version bump.
04 Jan 2009; Javier Villavicencio <the_paya@gentoo.org>
+files/grep-2.5.3-nls.patch, grep-2.5.3-r1.ebuild:
Fix compilation with -nls useflag. Bug 253777.
31 Dec 2008; Javier Villavicencio <the_paya@gentoo.org>
+files/grep-2.5.3-po-builddir-fix.patch, grep-2.5.3-r1.ebuild:
Fix for bug 238475.
07 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/grep-2.5.3-yesno-test-fix.patch, grep-2.5.3-r1.ebuild:
Fix yesno.sh test failure.
07 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> -grep-2.5.3.ebuild:
Remove badly broken baseline 2.5.3.
*grep-2.5.3-r1 (07 Oct 2008)
07 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> +grep-2.5.3-r1.ebuild:
Fix bug #238235. This is a very important upgrade for anybody using the
2.5.3-r0, which breaks grep -i in UTF-8 environments.
19 Sep 2008; Mike Frysinger <vapier@gentoo.org> grep-2.5.3.ebuild:
Apply Debian patchset to fix "-o -i" failures.
*grep-2.5.3 (16 Aug 2007)
16 Aug 2007; Mike Frysinger <vapier@gentoo.org> +grep-2.5.3.ebuild:
Version bump #188948 by Tim Harder.
14 Mar 2007; Simon Stelling <blubb@gentoo.org> grep-2.5.1a-r1.ebuild:
stable on amd64; bug 170140
12 Mar 2007; Markus Rothe <corsair@gentoo.org> ChangeLog:
Stable on ppc64; bug #170140
12 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> grep-2.5.1a-r1.ebuild:
Stable on sparc wrt #170140
10 Mar 2007; nixnut <nixnut@gentoo.org> ChangeLog:
Stable on ppc wrt bug 170140
09 Mar 2007; Raúl Porcel <armin76@gentoo.org> grep-2.5.1a-r1.ebuild:
x86 stable wrt bug 170140
20 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org>
grep-2.5.1a-r1.ebuild:
Stable on MIPS.
17 Oct 2006; Roy Marples <uberlord@gentoo.org> grep-2.5.1a-r1.ebuild:
Added ~sparc-fbsd keyword.
*grep-2.5.1a-r1 (01 Aug 2006)
01 Aug 2006; Mike Frysinger <vapier@gentoo.org> +grep-2.5.1a-r1.ebuild:
Add back in pcre #141609.
18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/grep-2.5.1a-nls.patch, grep-2.5.1a.ebuild:
Replace libintl patch on latest version with one that actually disables nls
support instead of forcing linking against libintl. Update deps to add
virtual/libintl.
07 Apr 2006; Emanuele Giaquinta <exg@gentoo.org> grep-2.5.1a.ebuild:
Stable on ppc.
02 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> grep-2.5.1a.ebuild:
Update ~x86-fbsd keyword.
02 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> grep-2.5.1-r9.ebuild:
Add ~x86-fbsd keyword.
20 Feb 2006; Markus Rothe <corsair@gentoo.org> grep-2.5.1a.ebuild:
Stable on ppc64
08 Feb 2006; Aron Griffis <agriffis@gentoo.org> grep-2.5.1a.ebuild:
Mark 2.5.1a stable on alpha
*grep-2.5.1a (07 Feb 2006)
07 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+files/grep-2.5.1-bracket.patch, +files/grep-2.5.1-color.patch,
+grep-2.5.1a.ebuild:
Update to latest version and grab some patches from Fedora.
24 Dec 2005; Mike Frysinger <vapier@gentoo.org> grep-2.5.1-r8.ebuild,
grep-2.5.1-r9.ebuild:
Drop USE=pcre support since no one really uses it #102771.
29 Nov 2005; Fabian Groffen <grobian@gentoo.org> grep-2.5.1-r9.ebuild:
Marked ~ppc-macos
*grep-2.5.1-r9 (26 Nov 2005)
26 Nov 2005; Mike Frysinger <vapier@gentoo.org>
+files/grep-2.5.1-fix-devices-skip.patch, +grep-2.5.1-r9.ebuild:
Add patch upstream to fix handling of --devices and fifos #113640 by Ingo
van Lil.
17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
16 Sep 2005; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r8.ebuild:
Mark 2.5.1-r8 stable on alpha
08 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> grep-2.5.1-r8.ebuild:
Stable on mips.
03 Sep 2005; Markus Rothe <corsair@gentoo.org> grep-2.5.1-r8.ebuild:
Stable on ppc64
18 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> grep-2.5.1-r8.ebuild:
Stable on ppc.
16 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> grep-2.5.1-r8.ebuild:
Stable on sparc
13 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+files/grep-2.5.1-libintl.patch, grep-2.5.1-r8.ebuild:
Add a patch by Diego Pettenò to fix BSD support #92586.
*grep-2.5.1-r8 (12 Jun 2005)
12 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+files/grep-2.5.1-perl-segv.patch, files/grep-2.5.1-restrict_arr.patch,
+grep-2.5.1-r8.ebuild:
Fix segfault with perl regex usage #95495 by emanuele.giaquinta@gmail.com
and update the restrict_arr to be portable #92586.
29 May 2005; <solar@gentoo.org> grep-2.5.1-r6.ebuild, grep-2.5.1-r7.ebuild:
- update sys-apps/grep to use libc expanded variable elibc_uclibc vs uclibc so
USE=-* works
22 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
grep-2.5.1-r6.ebuild, grep-2.5.1-r7.ebuild:
Set correct path for libpcre.a
19 Feb 2005; <solar@gentoo.org> grep-2.5.1-r7.ebuild:
- bug 76879 broke maketest on uClibc hosts. for now make the patching
conditional
17 Feb 2005; Kito <kito@gentoo.org> grep-2.5.1-r6.ebuild:
~ppc-macos keyword
07 Jan 2005; Mike Frysinger <vapier@gentoo.org> files/2.5.1-tests.patch:
Update tests so that grep+glibc dont get stuck in an infinite loop #76879 by
Patrick Lauer.
*grep-2.5.1-r7 (06 Jan 2005)
06 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+files/2.5.1-tests.patch, +files/2.5.1-utf8-case.patch,
+grep-2.5.1-r7.ebuild:
Fix UTF8 case matching with a patch from Debian #76192 by Michael Mauch.
Also update one of the tests to fix #63507 by Daniel Black.
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
30 Sep 2004; Bryan Østergaard,,, <kloeri@gentoo.org> grep-2.5.1-r6.ebuild:
Stable on alpha.
26 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> grep-2.5.1-r6.ebuild:
Marked stable on amd64.
25 Sep 2004; Joshua Kinard <kumba@gentoo.org> grep-2.5.1-r6.ebuild:
Marked stable on mips.
09 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> grep-2.5.1-r6.ebuild:
Stable on sparc
24 Aug 2004; Sven Wegener <swegener@gentoo.org> grep-2.5.1-r1.ebuild,
grep-2.5.1-r4.ebuild, grep-2.5.1-r5.ebuild, grep-2.5.1-r6.ebuild:
Removed http://ftp.club.cc.cmu.edu/pub/gnu from SRC_URI as it's already used
with mirror://gnu
*grep-2.5.1-r6 (20 Aug 2004)
20 Aug 2004; Tavis Ormandy <taviso@gentoo.org>
+files/2.5.1-manpage-line-buffering.diff, +grep-2.5.1-r6.ebuild:
fix manpage reference to --line-buffering
*grep-2.5.1-r5 (19 Aug 2004)
19 Aug 2004; Heinrich Wendel <lanius@gentoo.org> grep-2.5.1-r5.ebuild,
files/grep-2.5.1-fgrep.patch.bz2, files/grep-2.5.1-gofast.patch.bz2,
files/grep-2.5.1-i18n.patch.bz2, files/grep-2.5.1-oi.patch.bz2:
better performance on utf8 systems
17 Aug 2004; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r4.ebuild:
Move uclibc stuff forward from -r1. It appears solar only put it in -r1 for
some reason. Mark -r4 stable on alpha and ia64
30 Jun 2004; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r1.ebuild:
sync IUSE (+static)
15 Jun 2004; <solar@gentoo.org> grep-2.5.1-r1.ebuild,
files/grep-2.5.1-restrict_arr.patch:
added uclibc support
*grep-2.5.1-r4 (11 Jun 2004)
11 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> grep-2.5.1-r3.ebuild,
grep-2.5.1-r4.ebuild:
agriffis reminded me of the pcre use flag which is much more accurate.
Also, link only libpcre statically which should be much nicer for anyone
who wants to use pcre.
11 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> grep-2.5.1-r2.ebuild:
clean older ebuild
*grep-2.5.1-r3 (11 Jun 2004)
11 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> grep-2.5.1-r3.ebuild:
rev bump to get use perl fix
11 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> grep-2.5.1-r2.ebuild:
compile statically if use perl to address bug #53627
*grep-2.5.1-r2 (10 Jun 2004)
10 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> grep-2.5.1-r2.ebuild:
Add support for the -P (perl regex) option (bug #51215) For bootstrap,
using -perl should work fine. For people with /bin and /usr on different
partitions USE="static" works fine. (see bug #1638 for discussion)
Fixed the formatting for the -P option in the man page.
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r1.ebuild:
Add inherit eutils
08 Mar 2004; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r1.ebuild:
Use symlinks for egrep and fgrep.. faster, smaller, cleaner, more elegant
02 Mar 2004; Brian Jackson <iggy@gentoo.org> grep-2.5.1-r1.ebuild:
adding initial s390 support
01 Nov 2003; Seemant Kulleen <seemant@gentoo.org> grep-2.5.1-r1.ebuild:
SRC_URI fix to fetch from the one gnu mirror known to have this tarball,
falling back to our mirrors, then the gnu mirrors. Closes bug #32519 by Stony
Yakovac <stonyy@tek.com>
*grep-2.5.1-r1 (27 Feb 2003)
21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
Add static support #29188.
24 Jun 2003; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r1.ebuild:
Mark stable on alpha
06 Jul 2003; Guy Marin <gmsoft@gentoo.org> grep-2.5.1-r1.ebuild :
Marked stable on hppa.
22 Jun 2003; Joshua Kinard <kumba@gentoo.org> grep-2.5.1-r1.ebuild:
Changed ~sparc & ~mips to sparc & mips in KEYWORDS
20 May 2003; Joshua Kinard <kumba@gentoo.org> grep-2.5.1-r1.ebuild:
Added gnuconfig eclass support to properly detect linux-mips systems
27 Feb 2003; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r1.ebuild:
Close bug #16495 by installing in /bin instead of /usr/bin. I introduced
this error in the 2.5.1 ebuild. Thanks to Tristan Henderson who noticed it.
*grep-2.5.1 (27 Feb 2003)
24 Apr 2003; Jason Wever <weeve@gentoo.org> grep-2.5-r1.ebuild,
grep-2.5.1-r1.ebuild, grep-2.5.1.ebuild:
Added a patch for sparc32 to fix bug #17568. Thanks to Peter Gnodde
<peter@gnodde.org> for reporting the problem and solution.
27 Feb 2003; Aron Griffis <agriffis@gentoo.org> grep-2.5.1.ebuild:
Update to 2.5.1, thanks to Michael Sterrett for the heads-up
20 Feb 2003; Zach Welch <zwelch@gentoo.org> grep-2.5-r1.ebuild :
Added arm to keywords.
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> grep-2.5-r1.ebuild :
Added hppa to keywords.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*grep-2.4.2-r4.ebuild (14 July 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> grep-2.4.2-r4.ebuild :
Added KEYWORDS, SLOT.
*grep-2.5-r1 (12 Apr 2002)
18 Jan 2003; Jan Seidel <tuxus@gentoo.org> :
Added mips to keywords
14 Jul 2002; phoen][x <phoenix@gentoo.org> grep-2.5.ebuild :
Added KEYWORDS, SLOT.
14 Jul 2002; phoen][x <phoenix@gentoo.org> grep-2.5-r1.ebuild :
Added KEYWORDS, SLOT.
12 Apr 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
grep-2.5-r1.ebuild, files/digest-grep-2.5-r1 :
Fixes bug #1638 by adding --disable-perl-regexp.
*grep-2.5 (21 March 2002)
*grep-2.4.2-r5 (1 Feb 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> grep-2.4.2-r5.ebuild :
Added KEYWORDS, SLOT.
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targeted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -1,5 +1,3 @@
DIST grep-2.21-heap_buffer_overrun.patch 3302 SHA256 4bc7e744fd34b268a798daf6a5aa85f55c141747149fa7b015eefbf9318ed478 SHA512 eaea33238f179b17dd152ed27a07c211646d9572be250eb7997c25ea0c8de232d21d8bc1b1e865b26545e6817e5c116e18d9115fb497d39426ac8212839f0f82 WHIRLPOOL 5ead7c22c8fe98289322a03685e9fc04e834a01144c55c9ea3b1970fa61b400ce669e6947cb3564fbbba5c7ddf079fd30e66352e4f6eed888e8fe883e369e601
DIST grep-2.21.tar.xz 1261548 SHA256 5244a11c00dee8e7e5e714b9aaa053ac6cbfa27e104abee20d3c778e4bb0e5de SHA512 bc894325f89d37413c773d4812cb24180560037ccc8d72c015462043ef3479ea7eefd62557e3a9d191d6d94c68262563d3c68e634acd4e77ba56e96c92805dfd WHIRLPOOL 2272286c10695a51eecafcc5ca8986adb5486d4494b284904f588717c6fb06de37933faa5f62eabf0ecc856334b3a1179b864dedc06f223047471168d2d86bb0
EBUILD grep-2.21-r1.ebuild 1809 SHA256 ae72db05c974107d2fce031650b6d7572392a7b05568acdd835a68e47f18f511 SHA512 3eb6ddd556a798b95fdb4dab422014c9cf4239c4929259c0e013686ce412ed86f271cba6c0eb484079a5a6920ee1c91e617b6f677cb9795f65c1dd82156586d3 WHIRLPOOL 9eef68c76b01776613204260fad7a8149b674f9e662d2d673665feec87782d2187afbf968934bc88efb71c7d3b4aa6705babbe07114cf777fe06c8f3a815cc76
MISC ChangeLog 21767 SHA256 f7633e3e3efd1c1bc7ec8f4afc61e1703a140747c99ecb111658f143b0f3fe77 SHA512 febec50749ad8b8743e397ac1e2b8110beabf1ad518c20542461029ac61b4269170216a3c1b95eaedd31511b8ddeae1607841ae569ed41ecc1092b02a7ce8595 WHIRLPOOL 5a388c1d69707638430ca7c7b624a8e2498a260052d7534543a52c625b4915b999a1a6648b7cf7c6032101919bccf938f52c092c1420db290e0f7671eabcae8d
MISC metadata.xml 239 SHA256 81e2263e85947bfea9b25bba8e5e5ee4c8926035903d4a603b0b89a9727eb754 SHA512 63460f39b4c7c948542e78143e0a2965b0915d4e6312a18799a6c8120c97625ee926f18f62e70caf2748a2136ce5848de387b537a12ed882fdca1aab326f0111 WHIRLPOOL 2e280afad5417d07550f36f74114cee1a02df44540ee65d7bfd1028d571dd35d5d6358f792ffc79f172f161ac4f17f38093963e5148c315b35b49bec0bc8397d
DIST grep-2.27.tar.xz 1360388 BLAKE2B ed750fa7a6aea389c8f096acc9ac9cdebc9561c4b0cedfd5415ef033dd90076d5b9a42fa97c97207474b250ac0c4e4ed3c2ff216fe4462ac80baa6e47a2b90eb SHA512 d67f16cc5f931a455d5287badbaf080967da573d290430f440e578a563cff4f4c0c2668f60dbb8bc71eaed289f075957006c10c6827f0da1a49df49efd3f0781
DIST grep-3.0.tar.xz 1375156 BLAKE2B 19f5441ed3fe5bb16d9d8327e76f0beb7eb837b727f6da99844dc9c74eb4def9eab857059c527e651758fa224a6f4079ec5939806645806f2db341ed0cb727e4 SHA512 0e9a00df9d492f399230bae0264942edaf64bb926f93edb7922f27b075a86ba0a78698f54996cc522b6261aa01a8ecbeadeb68523d4470a9941f242c3ae24c58
DIST grep-3.1.tar.xz 1370880 BLAKE2B d71a09d8bfd2c15b6d393d3ca4e22a2b2724632034a6d35d6e269a3c639d76ecaa5ae989a3d8466ee4bcf45e5d08862b0ef19194d6ec7ac6c250e6f60fc61031 SHA512 05494381c7dd8aad7e2ee4c17450de8d7b969a99dcfe17747db60df3475bf02d5323d091e896e8343e4f3251c29dc7f0b7a9f93c575c9d58ee2a57014c2c9d26

View File

@ -0,0 +1,60 @@
http://lists.gnu.org/archive/html/bug-grep/2016-12/msg00036.html
From 7ad47abbcb070946000771a829b51224720b8cef Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 27 Dec 2016 11:16:32 -0800
Subject: [PATCH] grep: fix bug with '... | grep pat >> /dev/null'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Problem reported by Benno Fünfstück (Bug#25283).
* NEWS: Document this.
* src/grep.c (drain_input) [SPLICE_F_MOVE]:
Don't assume /dev/null is always acceptable output to splice.
* tests/grep-dev-null-out: Test for the bug.
---
NEWS | 7 ++++---
src/grep.c | 14 +++++++++-----
tests/grep-dev-null-out | 2 ++
3 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/src/grep.c b/src/grep.c
index f28f3c287609..aebab2060308 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1728,11 +1728,15 @@ drain_input (int fd, struct stat const *st)
{
#ifdef SPLICE_F_MOVE
/* Should be faster, since it need not copy data to user space. */
- while ((nbytes = splice (fd, NULL, STDOUT_FILENO, NULL,
- INITIAL_BUFSIZE, SPLICE_F_MOVE)))
- if (nbytes < 0)
- return false;
- return true;
+ nbytes = splice (fd, NULL, STDOUT_FILENO, NULL,
+ INITIAL_BUFSIZE, SPLICE_F_MOVE);
+ if (0 <= nbytes || errno != EINVAL)
+ {
+ while (0 < nbytes)
+ nbytes = splice (fd, NULL, STDOUT_FILENO, NULL,
+ INITIAL_BUFSIZE, SPLICE_F_MOVE);
+ return nbytes == 0;
+ }
#endif
}
while ((nbytes = safe_read (fd, buffer, bufalloc)))
diff --git a/tests/grep-dev-null-out b/tests/grep-dev-null-out
index 13a4843957a6..c8128d5cc6a4 100755
--- a/tests/grep-dev-null-out
+++ b/tests/grep-dev-null-out
@@ -8,4 +8,6 @@ require_timeout_
${AWK-awk} 'BEGIN {while (1) print "x"}' </dev/null |
returns_ 124 timeout 1 grep x >/dev/null || fail=1
+echo abc | grep b >>/dev/null || fail=1
+
Exit $fail
--
2.11.0

View File

@ -0,0 +1,46 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="GNU regular expression matcher"
HOMEPAGE="https://www.gnu.org/software/grep/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
mirror://gentoo/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls pcre static"
LIB_DEPEND="pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
nls? ( virtual/libintl )
virtual/libiconv"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )
static? ( ${LIB_DEPEND} )"
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
src_prepare() {
epatch "${FILESDIR}"/${P}-splice.patch
sed -i \
-e "s:@SHELL@:${EPREFIX}/bin/sh:g" \
src/egrep.sh || die #523898
}
src_configure() {
use static && append-ldflags -static
# Always use pkg-config to get lib info for pcre.
export ac_cv_search_pcre_compile=$(
usex pcre "$($(tc-getPKG_CONFIG) --libs $(usex static --static '') libpcre)" ''
)
econf \
--bindir="${EPREFIX}"/bin \
$(use_enable nls) \
$(use_enable pcre perl-regexp)
}

View File

@ -1,20 +1,18 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
EAPI=5
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="GNU regular expression matcher"
HOMEPAGE="https://www.gnu.org/software/grep/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
mirror://gentoo/${P}.tar.xz
https://dev.gentoo.org/~polynomial-c/${P}-heap_buffer_overrun.patch"
mirror://gentoo/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls pcre static"
LIB_DEPEND="pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] )"
@ -29,16 +27,9 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
src_prepare() {
# Disable gnulib build test that has no impact on the source.
# Re-enable w/next version bump (and gnulib is updated). #554728
[[ ${PV} != "2.21" ]] && die "re-enable test #554728"
echo 'exit 0' > gnulib-tests/test-update-copyright.sh || die
sed -i \
-e "s:@SHELL@:${EPREFIX}/bin/sh:g" \
src/egrep.sh || die #523898
epatch "${DISTDIR}/${P}-heap_buffer_overrun.patch"
}
src_configure() {

View File

@ -0,0 +1,45 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="GNU regular expression matcher"
HOMEPAGE="https://www.gnu.org/software/grep/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
mirror://gentoo/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls pcre static"
LIB_DEPEND="pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
nls? ( virtual/libintl )
virtual/libiconv"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )
static? ( ${LIB_DEPEND} )"
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
src_prepare() {
sed -i \
-e "s:@SHELL@:${EPREFIX}/bin/sh:g" \
src/egrep.sh || die #523898
}
src_configure() {
use static && append-ldflags -static
# Always use pkg-config to get lib info for pcre.
export ac_cv_search_pcre_compile=$(
usex pcre "$($(tc-getPKG_CONFIG) --libs $(usex static --static '') libpcre)" ''
)
econf \
--bindir="${EPREFIX}"/bin \
$(use_enable nls) \
$(use_enable pcre perl-regexp)
}

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<maintainer type="project">
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
<upstream>
<remote-id type="cpe">cpe:/a:gnu:grep</remote-id>
<remote-id type="cpe">cpe:/a:gnu:grep</remote-id>
</upstream>
</pkgmetadata>