summaryrefslogtreecommitdiff
path: root/sys-apps/fakeroot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-25 10:31:10 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-25 10:31:10 +0000
commit2900e684ae4bdce1f20652587728095cd01a30a1 (patch)
treedb7b5054b7d0de362a2960a0a7268ffc37b8e1f9 /sys-apps/fakeroot
parentff8c6e4babf1a2911b8d61b6bb7e80290355cb70 (diff)
gentoo auto-resync : 25:11:2023 - 10:31:10
Diffstat (limited to 'sys-apps/fakeroot')
-rw-r--r--sys-apps/fakeroot/Manifest2
-rw-r--r--sys-apps/fakeroot/fakeroot-1.32.2.ebuild76
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest
index e4f7dc52c47a..682067b6d199 100644
--- a/sys-apps/fakeroot/Manifest
+++ b/sys-apps/fakeroot/Manifest
@@ -1,5 +1,7 @@
DIST fakeroot_1.31.orig.tar.gz 551366 BLAKE2B f9b766f233f1f731399a814d1936b1dbdd64808a411ba11c4f460fe2eb66d3a5d40fd907d3d6cf6d9f0d062ad24319bee379da0609bbb9b0e1b7f17a889643b0 SHA512 a66a3535c2088ba8c33e3afc18d2ab1a16a502b999a4efbea7542e345181aa172af2e0949989832cda69bf6753c80a4bfc12cc283f5da11de31aa0bee0e8b47b
DIST fakeroot_1.32.1.orig.tar.gz 551727 BLAKE2B 62befaabcddcc9ba75d5df6e81412a83dd82e76febbc03fe7e37e2f607d48ed2126db794b4a6ac7f0a9ddb04cf431050d959fb81665bd60837a1713f2d937970 SHA512 fe8263ca9b90e4df253311e5331721a8783260a1058b307d10ffbde47724fc24df584806b17af4477be47d90dc553abe6a476e02cf8ce2aebdd94357ff7d7f09
+DIST fakeroot_1.32.2.orig.tar.gz 571345 BLAKE2B 796ad9a43fb6390ff9a286940517c84c0c4c304cdb9316bcb65da4e7a763e3911a3524cb47b797a48bec55e9f0ce587bd571ed11097ef4c4d4b6979609e4b4e4 SHA512 62fd597f8fb7e2d977892851a5dc579d431fc9a25fd0ce02e3997ac6be3d22edd9cf03ede68cf961096de86659962f9f04e0e747074ea3c79931c0413c32612a
EBUILD fakeroot-1.31.ebuild 1881 BLAKE2B 6c1ead3269b8d1e5706abdd2626141e13c34b63d3a56b0e47804e93b82ad5d9bfffda32a7f661243a585fc71e1849076befcc53a006c185b089b43bc04e8799a SHA512 7a60ad4899db62d30a7b2bd077e4642291f4d4de67d023eaf29f767846a6af9403958448a89227a2b17eb89a5fa769e0a89ad9de9686bca5d61fcd5c3431b93d
EBUILD fakeroot-1.32.1.ebuild 1881 BLAKE2B 6c1ead3269b8d1e5706abdd2626141e13c34b63d3a56b0e47804e93b82ad5d9bfffda32a7f661243a585fc71e1849076befcc53a006c185b089b43bc04e8799a SHA512 7a60ad4899db62d30a7b2bd077e4642291f4d4de67d023eaf29f767846a6af9403958448a89227a2b17eb89a5fa769e0a89ad9de9686bca5d61fcd5c3431b93d
+EBUILD fakeroot-1.32.2.ebuild 1891 BLAKE2B 620d974117cad7c69fa5803a112bbf3b6bcacbb6670cb97fdbf05680025947e8b5c4f0ebe54ad49a790cec7100325bde6ddbc07a21d762e9f467c3c8b3c3f641 SHA512 2b7cb139a26f9d033bff117a80e04f128b4a52b0bd2d3f491f20bdc5e001a5906acb4c1bc162297c1c330d9481b6120fdf1801e8b9ecc1444e5e54ccbc48729a
MISC metadata.xml 258 BLAKE2B b3ebb9691cf2c860b26172c2fc7ead843959a83806b7c06f4eec2ea349a6d2f39afe2f4b08c09bc7f65d18bece520b8b6306c8c7c2075d653f04b09af43db8fd SHA512 02ab38ca1547c68e87cbcad1dd4bb121e90d1fcca941cbfd29583ea803ed50617aa6a29df11915af5e95d63fc817df2250c7b8189157d705ef86e477d6a1685e
diff --git a/sys-apps/fakeroot/fakeroot-1.32.2.ebuild b/sys-apps/fakeroot/fakeroot-1.32.2.ebuild
new file mode 100644
index 000000000000..00707249475b
--- /dev/null
+++ b/sys-apps/fakeroot/fakeroot-1.32.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="de es fr nl pt ro sv"
+inherit autotools flag-o-matic plocale
+
+DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery"
+HOMEPAGE="https://packages.qa.debian.org/f/fakeroot.html"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="acl debug nls test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ sys-libs/libcap
+ acl? ( sys-apps/acl )
+ test? ( app-arch/sharutils )
+"
+BDEPEND="nls? ( app-text/po4a )"
+
+DOCS=( AUTHORS BUGS DEBUG README doc/README.saving )
+
+src_prepare() {
+ default
+
+ disable_locale() {
+ local locale=${1}
+
+ sed -i -e "s: ${locale}::" doc/po4a/po4a.cfg doc/Makefile.am || die
+ }
+
+ plocale_find_changes doc/po4a/po '' '.po'
+ plocale_for_each_disabled_locale disable_locale
+
+ # We could make this conditional and disable the autodependency in
+ # autotools.eclass but it'd make it too easy for NLS builds to be broken
+ # and us not realise.
+ eautoreconf
+}
+
+src_configure() {
+ export ac_cv_header_sys_acl_h=$(usex acl)
+ use acl || export ac_cv_search_acl_get_fd=no # bug 759568
+ use debug && append-cppflags -DLIBFAKEROOT_DEBUGGING
+
+ # https://bugs.gentoo.org/834445
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270
+ filter-flags -fno-semantic-interposition
+
+ econf --disable-static
+}
+
+src_compile() {
+ local enabled_locales=$(plocale_get_locales)
+
+ if use nls && [[ -n ${enabled_locales} ]] ; then
+ # Create translated man pages
+ pushd doc >/dev/null || die
+ po4a -v -k 0 --variable "srcdir=${S}/doc/" po4a/po4a.cfg || die
+ popd >/dev/null || die
+ fi
+
+ default
+}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}