From ebc282ef4dfa408accac685565b8ee5f6faec119 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Feb 2023 09:56:54 +0000 Subject: gentoo auto-resync : 12:02:2023 - 09:56:54 --- sys-apps/fakeroot/Manifest | 2 + sys-apps/fakeroot/fakeroot-1.31.ebuild | 76 ++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 sys-apps/fakeroot/fakeroot-1.31.ebuild (limited to 'sys-apps/fakeroot') diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest index db0b867f6b4d..ff975be2e848 100644 --- a/sys-apps/fakeroot/Manifest +++ b/sys-apps/fakeroot/Manifest @@ -1,5 +1,7 @@ DIST fakeroot_1.27.orig.tar.gz 544301 BLAKE2B 5e887d43c8bedaecbe51eb7f606d6bace3a9f191a7cf4be32362e1ba97e438413f04ed644532d3a386a46f3a569bf0104c4f38272e5ff46e3705c17896fef972 SHA512 cd98b8cd1064a5a11c6f25bc1d9cb1fb1bf0787f50772fead301470d1769c08a89a1510402b099af334d9f126cea5d3bd5d73e27fb91b5afc1ceebeb9ec3f926 DIST fakeroot_1.30.1.orig.tar.gz 551219 BLAKE2B e8f7e69d5be0e8e87a365f59f61a848ade0a10ab926bf10262ffd32f126fa0ade92be66f377ea8aba907f6a1ece85b68544ee52b08c45287853d37ce492cc015 SHA512 a7ed2d86c7adf3e662e79b977c23247bf942fddf98a11c370389f0c43dd51e8e038c8489d0bb583ba90427c832fa36b244880034d25cb475f27ad68a5d7cde0c +DIST fakeroot_1.31.orig.tar.gz 551366 BLAKE2B f9b766f233f1f731399a814d1936b1dbdd64808a411ba11c4f460fe2eb66d3a5d40fd907d3d6cf6d9f0d062ad24319bee379da0609bbb9b0e1b7f17a889643b0 SHA512 a66a3535c2088ba8c33e3afc18d2ab1a16a502b999a4efbea7542e345181aa172af2e0949989832cda69bf6753c80a4bfc12cc283f5da11de31aa0bee0e8b47b EBUILD fakeroot-1.27.ebuild 1873 BLAKE2B 403342870cec943c9293250b47cc0c830c1bb69d5b341cacd3427c81bc9c04b39a16db8aeca88dabcdc670998bf3e2a312ea7520090c738bd450663735fa3e94 SHA512 ac5db48a976bb2ef41e03dc82c8617428ee3f923e5044085b6eac1be22c852227cd4f39d18092a776f99142de1754cb203c22971a45f304c281ce9e8a0981597 EBUILD fakeroot-1.30.1.ebuild 1885 BLAKE2B 964b15055609b218b8b62703e9252d55675e4658cb37706e12f47815258addc0841d42428274dcc7e6235ed1cc68b7092177c95df4a098c9f278f49455a47266 SHA512 3a495bbf7d4b6965cffcc2c43c41e2415dc51fb44149e6cef1ce2566ca9ee3b0c80704665fa6cbf65c399a030e2ce322ab72b66c62a732d6953fb310793d58d9 +EBUILD fakeroot-1.31.ebuild 1888 BLAKE2B 6ce7031558575afb3b10bc0cf4f5d2c82a833104881f7b69b800038fd2929000bcd0c3db29177057029250a294cde94b583a16098c4dca059dfb09e9e5873385 SHA512 223d0caa9a91edbb2fcd3d936506c808863d42fd20829ae588eed91eab99ece4b748fdf608548ae9b67049ac723797624656943ef5b92987aba0340f52eac587 MISC metadata.xml 258 BLAKE2B b3ebb9691cf2c860b26172c2fc7ead843959a83806b7c06f4eec2ea349a6d2f39afe2f4b08c09bc7f65d18bece520b8b6306c8c7c2075d653f04b09af43db8fd SHA512 02ab38ca1547c68e87cbcad1dd4bb121e90d1fcca941cbfd29583ea803ed50617aa6a29df11915af5e95d63fc817df2250c7b8189157d705ef86e477d6a1685e diff --git a/sys-apps/fakeroot/fakeroot-1.31.ebuild b/sys-apps/fakeroot/fakeroot-1.31.ebuild new file mode 100644 index 000000000000..ad2a72c41547 --- /dev/null +++ b/sys-apps/fakeroot/fakeroot-1.31.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 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 +} -- cgit v1.2.3