1 |
commit: f06c14916f78ebb9b8022810781c356ef6651d10 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 18 17:07:50 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 17:18:11 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06c1491 |
7 |
|
8 |
sys-apps/findutils: version bump to 4.5.15 |
9 |
|
10 |
sys-apps/findutils/Manifest | 1 + |
11 |
sys-apps/findutils/findutils-4.5.15.ebuild | 68 ++++++++++++++++++++++++++++++ |
12 |
2 files changed, 69 insertions(+) |
13 |
|
14 |
diff --git a/sys-apps/findutils/Manifest b/sys-apps/findutils/Manifest |
15 |
index f7a0471..197448c 100644 |
16 |
--- a/sys-apps/findutils/Manifest |
17 |
+++ b/sys-apps/findutils/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST findutils-4.4.2.tar.gz 2149838 SHA256 434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a SHA512 262d0a8301158e6541b9f24e4e043d8d8c1b196b18dbe59c3bedcf17b50c95708e33ab23a07e3bfb947ad495faafffdca3c296fb525794ca60f2dfd682f228c1 WHIRLPOOL 2af1467403ece2f290be6b9f69db013d386427ab553efcf750ce36bf608fab0d37708209c22bf61b8a82f41aa13bf25a247c62f78dc95446290b7a4bd35d3393 |
20 |
DIST findutils-4.5.14.tar.gz 3536727 SHA256 0de3cf625a5c9f154eee3171e072515ffdde405244dd00502af617ac57b73ae2 SHA512 e26f0d58c316202d99d7dcc1c4d4d40591150dcf198dff2dab0f8ef5e4dc039a5ff42ef536bfc08d860f39ee4bd8215591b4cb460ff45f73007040fc5f99e66b WHIRLPOOL 116b725ffb76562a3f1e9bbfa475a791b873746a7ae362eea1a97f3b701c6e32508eafb10fe47a3ad8f56ef0e67fb04a5d98a7baf5371646945718e7aff5ad60 |
21 |
+DIST findutils-4.5.15.tar.gz 3815470 SHA256 bc843179f32cba7bec8192edc91b4ad0d0bf434e61b82c04d9d2c8115617d9fb SHA512 425e14ce956fcfe83412d49b63f9487cda2ce935b6f707c4fe7d4334449d1db47369bad8358979b2782ac749047bf6396e49fb92bef114518a1d6c133417e186 WHIRLPOOL f6a3761dc2c50faca0a7684731ed543676382ac4c23ed48804d70c243b53ddd34ba41c0e96fbb20a079d3e51b4a1f1773707d8b1ed7c4e44b4685544b1ae7470 |
22 |
|
23 |
diff --git a/sys-apps/findutils/findutils-4.5.15.ebuild b/sys-apps/findutils/findutils-4.5.15.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..71678a5 |
26 |
--- /dev/null |
27 |
+++ b/sys-apps/findutils/findutils-4.5.15.ebuild |
28 |
@@ -0,0 +1,68 @@ |
29 |
+# Copyright 1999-2015 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI="5" |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
36 |
+ |
37 |
+inherit eutils flag-o-matic toolchain-funcs python-any-r1 |
38 |
+ |
39 |
+DESCRIPTION="GNU utilities for finding files" |
40 |
+HOMEPAGE="https://www.gnu.org/software/findutils/" |
41 |
+SRC_URI="mirror://gnu-alpha/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+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" |
46 |
+IUSE="debug nls selinux static test" |
47 |
+ |
48 |
+RDEPEND="selinux? ( sys-libs/libselinux ) |
49 |
+ nls? ( virtual/libintl )" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ test? ( ${PYTHON_DEPS} ) |
52 |
+ nls? ( sys-devel/gettext )" |
53 |
+ |
54 |
+pkg_setup() { |
55 |
+ use test && python-any-r1_pkg_setup |
56 |
+} |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ # Don't build or install locate because it conflicts with slocate, |
60 |
+ # which is a secure version of locate. See bug 18729 |
61 |
+ sed -i '/^SUBDIRS/s/locate//' Makefile.in |
62 |
+ |
63 |
+ # Disable gnulib build test that has no impact on the source. |
64 |
+ # Re-enable w/next version bump (and gnulib is updated). #554728 |
65 |
+ [[ ${PV} != "4.5.15" ]] && die "re-enable test #554728" |
66 |
+ echo 'exit 0' > tests/test-update-copyright.sh || die |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ use static && append-ldflags -static |
71 |
+ |
72 |
+ program_prefix=$(usex userland_GNU '' g) |
73 |
+ econf \ |
74 |
+ --with-packager="Gentoo" \ |
75 |
+ --with-packager-version="${PVR}" \ |
76 |
+ --with-packager-bug-reports="https://bugs.gentoo.org/" \ |
77 |
+ --program-prefix=${program_prefix} \ |
78 |
+ $(use_enable debug) \ |
79 |
+ $(use_enable nls) \ |
80 |
+ $(use_with selinux) \ |
81 |
+ --libexecdir='$(libdir)'/find |
82 |
+} |
83 |
+ |
84 |
+src_compile() { |
85 |
+ # We don't build locate, but the docs want a file in there. |
86 |
+ emake -C locate dblocation.texi |
87 |
+ default |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ default |
92 |
+ |
93 |
+ # We don't need this, so punt it. |
94 |
+ rm "${ED}"/usr/bin/${program_prefix}oldfind \ |
95 |
+ "${ED}"/usr/share/man/man1/${program_prefix}oldfind.1 || die |
96 |
+} |