diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-16 16:00:36 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-16 16:00:51 +0100 |
commit | a859b1d3cf9824e0fa9df56f334566617a9e2630 (patch) | |
tree | b77c1c3e4ac7405632fd05b964e6317ac3490db5 /sys-apps/acl | |
parent | sys-apps/attr: Bump to version 2.5.1 (diff) | |
download | gentoo-a859b1d3cf9824e0fa9df56f334566617a9e2630.tar.gz gentoo-a859b1d3cf9824e0fa9df56f334566617a9e2630.tar.bz2 gentoo-a859b1d3cf9824e0fa9df56f334566617a9e2630.zip |
sys-apps/acl: Bump to version 2.3.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/acl')
-rw-r--r-- | sys-apps/acl/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/acl/acl-2.3.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/acl/Manifest b/sys-apps/acl/Manifest index 3ee6c56f7348..6f860e255701 100644 --- a/sys-apps/acl/Manifest +++ b/sys-apps/acl/Manifest @@ -1,2 +1,3 @@ DIST acl-2.2.53.tar.gz 524300 BLAKE2B a4c602b18ab1a7932dce38c8dacf3a3026a3100a8a7e61f0740886ec7154a7738ca641953dc1253b5574580815d7f547a99bdd0cc0ee87238a1995abe97eb9d8 SHA512 176b7957fe0e7618e0b7bf2ac5071f7fa29417df718cce977661a576fa184e4af9d303b591c9d556b6ba8923e799457343afa401f5a9f7ecd9022185a4e06716 DIST acl-2.3.0.tar.gz 518155 BLAKE2B 8635e8616a94f6f62de7ece2ccbc789d48f081608493b759150f4bf9d1c98098f5660cc1ec95c8a54bbd0e7295245e1bf77f4afd17f8521172bed790ce217c88 SHA512 77c0f387955d98ee086020943ea5d50ddcf5a36981cb28d2e90c74c20c3893c13c3fa9bc5bc47f79957987ec19afd00ad0b144a1387562b887c1f5fb5e6850cc +DIST acl-2.3.1.tar.gz 518292 BLAKE2B 82f88b1b2cafa81efa277ea9d1b4872864a9eb259839cf39a429fad8b702dc7158c24e62ca7dd0e72b028e63951798997caca7de9aa40e73f8adc462e7a31bdd SHA512 f101e27058c959f4c412f475c3fc77a90d1ead8728701e4ce04ff08b34139d35e0e72278c9ac7622ba6054e81c0aeca066e09491b5f5666462e3866705a0e892 diff --git a/sys-apps/acl/acl-2.3.1.ebuild b/sys-apps/acl/acl-2.3.1.ebuild new file mode 100644 index 000000000000..b802802db8a9 --- /dev/null +++ b/sys-apps/acl/acl-2.3.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript + +DESCRIPTION="access control list utilities, libraries and headers" +HOMEPAGE="https://savannah.nongnu.org/projects/acl" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="nls static-libs" + +RDEPEND=" + >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +pkg_setup() { + # filter out -flto flags as they break getfacl/setfacl binaries + # (bug #667372) + filter-flags -flto* +} + +src_prepare() { + default + elibtoolize #580792 +} + +multilib_src_configure() { + local myeconfargs=( + --bindir="${EPREFIX}"/bin + $(use_enable static-libs static) + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + $(use_enable nls) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # Tests call native binaries with an LD_PRELOAD wrapper + # https://bugs.gentoo.org/772356 + multilib_is_native_abi && default +} + +multilib_src_install() { + default + + # move shared libs to / + gen_usr_ldscript -a acl +} + +multilib_src_install_all() { + if ! use static-libs ; then + find "${ED}" -type f -name "*.la" -delete || die + fi +} |