1 |
commit: 21f28ec0d7360893d1a552693b503799a7ddba5a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 02:01:56 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 02:02:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f28ec0 |
7 |
|
8 |
sys-apps/fakeroot: add 1.26 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/fakeroot/Manifest | 1 + |
13 |
sys-apps/fakeroot/fakeroot-1.26.ebuild | 48 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest |
17 |
index 4a4f1803793..60c5be44cb6 100644 |
18 |
--- a/sys-apps/fakeroot/Manifest |
19 |
+++ b/sys-apps/fakeroot/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST fakeroot_1.25.3.orig.tar.gz 126884 BLAKE2B a6a860a8714bb2a43f2820bc586cac38d25df8b8cb32b219064618c845d0308b57929108bd582b46c15b2fe4b2fc00d662ba72458a9e9ffcf7d035dce515eb55 SHA512 b54366ef82b49af414d7214d069a4bc7dd188dfa4f8e3121f6bd65fd67268b02346ff72e857087243ab0efe9fa82faaa9f9c3309cac4b5af0ea00908c2e5eb6e |
22 |
+DIST fakeroot_1.26.orig.tar.gz 549685 BLAKE2B d9177403d9c2be88c0949c891cde5742a405027714b07ca2c7e72813dba049157c3d994f30b9c634016a74c74745f8391ee51035cbf385ef63364d0a31291d43 SHA512 dad193b283b48a25806c5bcd06d1f5bbd183ccd40a3fc25f3e7bb88fd6579024f958321f8336654348a1d0a547d4ad19ed11aab5ec9441d6ef493ee6e4c78081 |
23 |
|
24 |
diff --git a/sys-apps/fakeroot/fakeroot-1.26.ebuild b/sys-apps/fakeroot/fakeroot-1.26.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..823e5a4ddf2 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/fakeroot/fakeroot-1.26.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit flag-o-matic |
36 |
+ |
37 |
+DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" |
38 |
+HOMEPAGE="https://packages.qa.debian.org/f/fakeroot.html" |
39 |
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
44 |
+IUSE="acl debug test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ sys-libs/libcap |
49 |
+ acl? ( sys-apps/acl ) |
50 |
+ test? ( app-arch/sharutils )" |
51 |
+BDEPEND="app-text/po4a" |
52 |
+ |
53 |
+DOCS=( AUTHORS BUGS DEBUG README doc/README.saving ) |
54 |
+ |
55 |
+src_configure() { |
56 |
+ export ac_cv_header_sys_acl_h=$(usex acl) |
57 |
+ use acl || export ac_cv_search_acl_get_fd=no # bug 759568 |
58 |
+ use debug && append-cppflags -DLIBFAKEROOT_DEBUGGING |
59 |
+ |
60 |
+ econf --disable-static |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ # Create translated man pages |
65 |
+ pushd doc >/dev/null || die |
66 |
+ po4a -v -k 0 --variable "srcdir=${S}/doc/" po4a/po4a.cfg || die |
67 |
+ popd >/dev/null || die |
68 |
+ |
69 |
+ default |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ |
75 |
+ # no static archives |
76 |
+ find "${ED}" -name '*.la' -delete || die |
77 |
+} |