1 |
commit: 1330ebcc0016cea80b0d41f820c5da4690125415 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 07:51:28 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 07:51:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1330ebcc |
7 |
|
8 |
sys-apps/findutils: Bump to version 4.7.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/findutils/Manifest | 1 + |
14 |
sys-apps/findutils/findutils-4.7.0.ebuild | 63 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 64 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/findutils/Manifest b/sys-apps/findutils/Manifest |
18 |
index 5643ce25844..429ddc77474 100644 |
19 |
--- a/sys-apps/findutils/Manifest |
20 |
+++ b/sys-apps/findutils/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST findutils-4.6.0.tar.gz 3780154 BLAKE2B cae93c4e6bac93fa374ffba18ada95b783335fa7f9f9491cdd1848cd9bb6781a98e7b0ae3677c88bb3052afca2e90e066e072ee0f67c407cb7b087b49831d799 SHA512 41fcd4197c1efbd77f7420e5754e2cf9332dfef19f90c65a8fa1844bb4bc5d529c8393ee0ff979a054e9ac65ff71d7fe3921ea079f9960843412fc9a71f8afd4 |
23 |
+DIST findutils-4.7.0.tar.xz 1895048 BLAKE2B 5d9f1f2f6bc47415057f9139af3d28abae7be9f812a15bce6016a4478eb3206f35c9329f281fda892f614d017f4f5615003ad60b6a74996ebfad81b1f4b54bf0 SHA512 650a24507f8f4ebff83ad28dd27daa4785b4038dcaadc4fe00823b976e848527074cce3f9ec34065b7f037436d2aa6e9ec099bc05d7472c29864ac2c69de7f2e |
24 |
|
25 |
diff --git a/sys-apps/findutils/findutils-4.7.0.ebuild b/sys-apps/findutils/findutils-4.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5d4cd0269a6 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/findutils/findutils-4.7.0.ebuild |
30 |
@@ -0,0 +1,63 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
37 |
+ |
38 |
+inherit 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.xz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~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" |
47 |
+IUSE="nls selinux static test" |
48 |
+ |
49 |
+RDEPEND="selinux? ( sys-libs/libselinux ) |
50 |
+ nls? ( virtual/libintl )" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ test? ( ${PYTHON_DEPS} ) |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ nls? ( sys-devel/gettext ) |
56 |
+" |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ use test && python-any-r1_pkg_setup |
60 |
+} |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ # Don't build or install locate because it conflicts with mlocate, |
64 |
+ # which is a secure version of locate. See bug 18729 |
65 |
+ sed \ |
66 |
+ -e '/^SUBDIRS/s@locate@@' \ |
67 |
+ -e '/^built_programs/s@ frcode locate updatedb@@' \ |
68 |
+ -i Makefile.in || die |
69 |
+ |
70 |
+ default |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ use static && append-ldflags -static |
75 |
+ |
76 |
+ program_prefix=$(usex userland_GNU '' g) |
77 |
+ local myeconfargs=( |
78 |
+ --with-packager="Gentoo" |
79 |
+ --with-packager-version="${PVR}" |
80 |
+ --with-packager-bug-reports="https://bugs.gentoo.org/" |
81 |
+ --program-prefix=${program_prefix} |
82 |
+ $(use_enable nls) |
83 |
+ $(use_with selinux) |
84 |
+ --libexecdir='$(libdir)'/find |
85 |
+ ) |
86 |
+ econf "${myeconfargs[@]}" |
87 |
+} |
88 |
+ |
89 |
+src_compile() { |
90 |
+ # We don't build locate, but the docs want a file in there. |
91 |
+ emake -C locate dblocation.texi |
92 |
+ default |
93 |
+} |