diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-10-03 10:41:37 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-10-03 10:42:22 +0200 |
commit | 3cbd75e452fdd5ee500595c1f3f002276c47fd9b (patch) | |
tree | 7c3a9e290a68d0de5e1d18ae4141f8213d2bb461 /sys-apps/grep | |
parent | www-client/chromium: x86 stable wrt bug #595614 (diff) | |
download | gentoo-3cbd75e452fdd5ee500595c1f3f002276c47fd9b.tar.gz gentoo-3cbd75e452fdd5ee500595c1f3f002276c47fd9b.tar.bz2 gentoo-3cbd75e452fdd5ee500595c1f3f002276c47fd9b.zip |
sys-apps/grep: Bump to version 2.26
Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/grep')
-rw-r--r-- | sys-apps/grep/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/grep/grep-2.26.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest index 0288f1590e23..883570d749ed 100644 --- a/sys-apps/grep/Manifest +++ b/sys-apps/grep/Manifest @@ -2,3 +2,4 @@ DIST grep-2.21-heap_buffer_overrun.patch 3302 SHA256 4bc7e744fd34b268a798daf6a5a DIST grep-2.21.tar.xz 1261548 SHA256 5244a11c00dee8e7e5e714b9aaa053ac6cbfa27e104abee20d3c778e4bb0e5de SHA512 bc894325f89d37413c773d4812cb24180560037ccc8d72c015462043ef3479ea7eefd62557e3a9d191d6d94c68262563d3c68e634acd4e77ba56e96c92805dfd WHIRLPOOL 2272286c10695a51eecafcc5ca8986adb5486d4494b284904f588717c6fb06de37933faa5f62eabf0ecc856334b3a1179b864dedc06f223047471168d2d86bb0 DIST grep-2.24.tar.xz 1321680 SHA256 f248beb9098c5aab94d2fdd03b5a21d705e5ba8a3ce4d8c9f607a670498eec14 SHA512 44dafa41ef74687ef91efdb6fd8e81a1a8469f74ec98a6d681eee304455dd18561abca328b89e22b4b7ba5ce157b1d34cae3251d86354df36807b7042afc3650 WHIRLPOOL b745516c983f4cfbaa0af9c219e2e1a0a834b5341f7620d7ca85bfff1817c9c924a5e81a359678bb2cac230e6b0509184a1c59ef2cfa261cd3cd1bdda616b18b DIST grep-2.25.tar.xz 1327856 SHA256 e21e83bac50450e0d0d61a42c154ee0dceaacdbf4f604ef6e79071cb8e596830 SHA512 7a738f938dde350ae71eb87083586e25768ba392113cba973a4e567b476c788ca66e0736d63f5e0e12a7847fa70379dc0b6568ec92431ea4604acd2cbedd66c1 WHIRLPOOL af46fb0fdf2f271dc31a4902271881aab571d9705a18625c247920f82894b0358a2788e6c7625405c968ea717397ea52802073e4b4fa871121f8f77edc62e748 +DIST grep-2.26.tar.xz 1356292 SHA256 246a8fb37e82aa33d495b07c22fdab994c039ab0f818538eac81b01e78636870 SHA512 2759f20fe4de432dd115f563bbbbf1ccd2f4a774e2a22d9bf249c2c33016d945352a46a8c222499d67ae13b638646a6a70b47b977412b637728f50d543ae071b WHIRLPOOL 78dd9a0aeac1e3a525f6acb44f6fdaf3b343d3d276b921e94ec0af77b5875c48b47d6b5177873ea45bb537fcfb1c93ae709dc0e9b16637336503175f4c106332 diff --git a/sys-apps/grep/grep-2.26.ebuild b/sys-apps/grep/grep-2.26.ebuild new file mode 100644 index 000000000000..845de1d1d3c7 --- /dev/null +++ b/sys-apps/grep/grep-2.26.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~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" +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) +} |