Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/findutils/
Date: Tue, 29 Dec 2015 05:32:13
Message-Id: 1451366889.4f6716c212686edf41828d96461a715c09d5f6ee.vapier@gentoo
1 commit: 4f6716c212686edf41828d96461a715c09d5f6ee
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 05:28:09 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 05:28:09 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6716c2
7
8 sys-apps/findutils: version bump to 4.6.0
9
10 sys-apps/findutils/Manifest | 1 +
11 sys-apps/findutils/findutils-4.6.0.ebuild | 55 +++++++++++++++++++++++++++++++
12 2 files changed, 56 insertions(+)
13
14 diff --git a/sys-apps/findutils/Manifest b/sys-apps/findutils/Manifest
15 index 9931b73..de8b9f8 100644
16 --- a/sys-apps/findutils/Manifest
17 +++ b/sys-apps/findutils/Manifest
18 @@ -2,3 +2,4 @@ DIST findutils-4.4.2.tar.gz 2149838 SHA256 434f32d171cbc0a5e72cfc5372c6fc4cb0e68
19 DIST findutils-4.5.16.tar.gz 3869606 SHA256 d116b48cf2a90a457726f58e24842bfa6078447d0c53be0fd1593f2555f7caae SHA512 d03100ea0708448ac714e86b6bc8ae4d9667f46df1cf0d29e1cfad6f52656254a47a2dd7ef88aaa68f94f399e848cd9d0977e25eda3781cfcd20819dc9fa76d6 WHIRLPOOL d42c7028eccdb38229aa725fade1a6aa2b2a57a65f317ccff83cf3da5594463f7810c17cc10fa5ced89a4213780133a57fd61948dc5d03b300a57f927e103eb2
20 DIST findutils-4.5.17.tar.gz 3871981 SHA256 a41f171f0e05b6960ae1081dc21fb87f58bf939395d6559e297b59a493136a4f SHA512 a3f9a522e721e1d5c4d1b2839dcf85e829c531cb3eb63ec99765b0d5367c7a64b51ec4150e93be3fca5c620eebd3ca7a3bd7eee868663068658ee23b003bdd7a WHIRLPOOL da22ebab27435c32718d082a9991548745d13468558562590609e57478f586e7789a49e88138e9f23833189a4dc3d79fbbeaba8b3481f1cf812f1dd8a9db93b8
21 DIST findutils-4.5.18.tar.gz 3870196 SHA256 e3b570534c7897e8de117396345e2e20f17f704389b7e1daa7889fd089afbdd7 SHA512 2ae70cef9aee81d4402298db11890efa0ec38dba561dfc11afc9c91af7c1c6a7cca221f669c45b00e65eba53a8b08f5124ed4e862d9e26bcf69c48a927e6b398 WHIRLPOOL ece27a2830792e162ca5e53d7d0fefa8959292b6945180a331ac4dc1a999bd858649f761a5dee44bb35e85ffa0dd633b1b65aeeb294ac4a8846ad1cdbfaf351e
22 +DIST findutils-4.6.0.tar.gz 3780154 SHA256 ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d SHA512 41fcd4197c1efbd77f7420e5754e2cf9332dfef19f90c65a8fa1844bb4bc5d529c8393ee0ff979a054e9ac65ff71d7fe3921ea079f9960843412fc9a71f8afd4 WHIRLPOOL 2954024a0503a9234fd3a4776934b53d455fe48406c53945f8eed12a30f3fb2fa438315892ef9d040e8d6e8e13efbed0146d11956c3721c22558f8a2b392e370
23
24 diff --git a/sys-apps/findutils/findutils-4.6.0.ebuild b/sys-apps/findutils/findutils-4.6.0.ebuild
25 new file mode 100644
26 index 0000000..9071c04
27 --- /dev/null
28 +++ b/sys-apps/findutils/findutils-4.6.0.ebuild
29 @@ -0,0 +1,55 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +
36 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
37 +
38 +inherit eutils flag-o-matic toolchain-funcs python-any-r1
39 +
40 +DESCRIPTION="GNU utilities for finding files"
41 +HOMEPAGE="https://www.gnu.org/software/findutils/"
42 +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-3+"
45 +SLOT="0"
46 +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 ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 +IUSE="debug nls selinux static test"
48 +
49 +RDEPEND="selinux? ( sys-libs/libselinux )
50 + nls? ( virtual/libintl )"
51 +DEPEND="${RDEPEND}
52 + test? ( ${PYTHON_DEPS} )
53 + nls? ( sys-devel/gettext )"
54 +
55 +pkg_setup() {
56 + use test && python-any-r1_pkg_setup
57 +}
58 +
59 +src_prepare() {
60 + # Don't build or install locate because it conflicts with slocate,
61 + # which is a secure version of locate. See bug 18729
62 + sed -i '/^SUBDIRS/s/locate//' Makefile.in
63 +}
64 +
65 +src_configure() {
66 + use static && append-ldflags -static
67 +
68 + program_prefix=$(usex userland_GNU '' g)
69 + econf \
70 + --with-packager="Gentoo" \
71 + --with-packager-version="${PVR}" \
72 + --with-packager-bug-reports="https://bugs.gentoo.org/" \
73 + --program-prefix=${program_prefix} \
74 + $(use_enable debug) \
75 + $(use_enable nls) \
76 + $(use_with selinux) \
77 + --libexecdir='$(libdir)'/find
78 +}
79 +
80 +src_compile() {
81 + # We don't build locate, but the docs want a file in there.
82 + emake -C locate dblocation.texi
83 + default
84 +}