1 |
commit: f2480a4dff7ae3c8b83c255f2a1725d3f993edee |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 04:43:49 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 04:43:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2480a4d |
7 |
|
8 |
sys-apps/fakeroot: add 1.29 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/fakeroot/Manifest | 1 + |
13 |
sys-apps/fakeroot/fakeroot-1.29.ebuild | 74 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest |
17 |
index 0ed2aef29167..36e23f079daa 100644 |
18 |
--- a/sys-apps/fakeroot/Manifest |
19 |
+++ b/sys-apps/fakeroot/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST fakeroot_1.25.3.orig.tar.gz 126884 BLAKE2B a6a860a8714bb2a43f2820bc586cac38 |
21 |
DIST fakeroot_1.26.orig.tar.gz 549685 BLAKE2B d9177403d9c2be88c0949c891cde5742a405027714b07ca2c7e72813dba049157c3d994f30b9c634016a74c74745f8391ee51035cbf385ef63364d0a31291d43 SHA512 dad193b283b48a25806c5bcd06d1f5bbd183ccd40a3fc25f3e7bb88fd6579024f958321f8336654348a1d0a547d4ad19ed11aab5ec9441d6ef493ee6e4c78081 |
22 |
DIST fakeroot_1.27.orig.tar.gz 544301 BLAKE2B 5e887d43c8bedaecbe51eb7f606d6bace3a9f191a7cf4be32362e1ba97e438413f04ed644532d3a386a46f3a569bf0104c4f38272e5ff46e3705c17896fef972 SHA512 cd98b8cd1064a5a11c6f25bc1d9cb1fb1bf0787f50772fead301470d1769c08a89a1510402b099af334d9f126cea5d3bd5d73e27fb91b5afc1ceebeb9ec3f926 |
23 |
DIST fakeroot_1.28.orig.tar.gz 546234 BLAKE2B 1182ce0d382511c92bd0d414fc43150db86753ade8ca09a371fce404afc271458626b89c5df329a5aa8911a97cac9eb4132a8f20c9ab2e4e8196c92c8f42c08e SHA512 cd55007014da5741ff336d005a80633a2f1ed856e075162acb9a4a1edd5c6d17ec74457c8a1e31edb02ae70920904c53e69365d55bd9beb7e8c6211aa8cfca8b |
24 |
+DIST fakeroot_1.29.orig.tar.gz 549383 BLAKE2B ccdc5e793ce6a6adc9ffdb9346045e144dcd802ca8ffcbd188010ab759861d0e0ae81b3baa256546398c2ddab31d1f795f327130cb1f7bb1c3eee07e7282e94b SHA512 d0f02c36cfe4e24f1588894bd732ff5a6fc0e921695236311019a63280efdca8568f2e974672145eb7c4d57f64a15a77d23658fd4aeef2ca24901fc66259e4dc |
25 |
|
26 |
diff --git a/sys-apps/fakeroot/fakeroot-1.29.ebuild b/sys-apps/fakeroot/fakeroot-1.29.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8d511343efba |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/fakeroot/fakeroot-1.29.ebuild |
31 |
@@ -0,0 +1,74 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PLOCALES="de es fr nl pt sv" |
38 |
+inherit autotools flag-o-matic plocale |
39 |
+ |
40 |
+DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" |
41 |
+HOMEPAGE="https://packages.qa.debian.org/f/fakeroot.html" |
42 |
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="acl debug nls test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+DEPEND="sys-libs/libcap |
51 |
+ acl? ( sys-apps/acl ) |
52 |
+ test? ( app-arch/sharutils )" |
53 |
+BDEPEND="nls? ( app-text/po4a )" |
54 |
+ |
55 |
+DOCS=( AUTHORS BUGS DEBUG README doc/README.saving ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ disable_locale() { |
61 |
+ local locale=${1} |
62 |
+ |
63 |
+ sed -i -e "s: ${locale}::" doc/po4a/po4a.cfg doc/Makefile.am || die |
64 |
+ } |
65 |
+ |
66 |
+ plocale_find_changes doc/po4a/po '' '.po' |
67 |
+ plocale_for_each_disabled_locale disable_locale |
68 |
+ |
69 |
+ # We could make this conditional and disable the autodependency in |
70 |
+ # autotools.eclass but it'd make it too easy for NLS builds to be broken |
71 |
+ # and us not realise. |
72 |
+ eautoreconf |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ export ac_cv_header_sys_acl_h=$(usex acl) |
77 |
+ use acl || export ac_cv_search_acl_get_fd=no # bug 759568 |
78 |
+ use debug && append-cppflags -DLIBFAKEROOT_DEBUGGING |
79 |
+ |
80 |
+ # https://bugs.gentoo.org/834445 |
81 |
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270 |
82 |
+ filter-flags -fno-semantic-interposition |
83 |
+ |
84 |
+ econf --disable-static |
85 |
+} |
86 |
+ |
87 |
+src_compile() { |
88 |
+ local enabled_locales=$(plocale_get_locales) |
89 |
+ |
90 |
+ if use nls && [[ -n ${enabled_locales} ]] ; then |
91 |
+ # Create translated man pages |
92 |
+ pushd doc >/dev/null || die |
93 |
+ po4a -v -k 0 --variable "srcdir=${S}/doc/" po4a/po4a.cfg || die |
94 |
+ popd >/dev/null || die |
95 |
+ fi |
96 |
+ |
97 |
+ default |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ default |
102 |
+ |
103 |
+ # no static archives |
104 |
+ find "${ED}" -name '*.la' -delete || die |
105 |
+} |