diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-09-15 22:45:15 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-09-15 22:45:15 +0300 |
commit | 5ed60392a42b862c12a82d79217f2e91d789c5ac (patch) | |
tree | ebb48f697f1929c6b16f03aaa0d1223a2309ee8d /sys-libs/libcap | |
parent | sys-libs/libcap: mark stable wrt bug #660334 (diff) | |
download | gentoo-5ed60392a42b862c12a82d79217f2e91d789c5ac.tar.gz gentoo-5ed60392a42b862c12a82d79217f2e91d789c5ac.tar.bz2 gentoo-5ed60392a42b862c12a82d79217f2e91d789c5ac.zip |
sys-libs/libcap: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-libs/libcap')
-rw-r--r-- | sys-libs/libcap/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libcap/libcap-2.24-r2.ebuild | 73 |
2 files changed, 0 insertions, 74 deletions
diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest index fa4167cf06c9..cdffcfa42f22 100644 --- a/sys-libs/libcap/Manifest +++ b/sys-libs/libcap/Manifest @@ -1,2 +1 @@ -DIST libcap-2.24.tar.xz 63412 BLAKE2B 9edab6e606f64dcb06eb75160775340ff5ab92a7f5d98957c682d6510aa510a21f6c796af64dfef0090d9c035b94903d86b360635977e55549e51e25b8fa167e SHA512 c062bab936d651a50efa66dcfa51ab3ce4b0881195d23bb32142b5c8044d30e0e2152f3497844ce90c04f909aeffe2d41203efff41972e38758dcca7b653884b DIST libcap-2.25.tar.xz 63672 BLAKE2B 205790dea83f15b585e5151814ea520ab1545661d18fa57f36e8c8e597a7c0f0ff1d7b5ccffc36e313eb28606f1e71678233a06896e29cb28e5559b190dd47ed SHA512 c3ab491885292adc171cde542b96f1295e84132febb50112a46575c3bde3a3eb6fcf733f7a756b4b656e013c0abb5ed6571db24799f8c0b23d8f759f992864f9 diff --git a/sys-libs/libcap/libcap-2.24-r2.ebuild b/sys-libs/libcap/libcap-2.24-r2.ebuild deleted file mode 100644 index 1f30076808f5..000000000000 --- a/sys-libs/libcap/libcap-2.24-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils multilib multilib-minimal toolchain-funcs pam - -DESCRIPTION="POSIX 1003.1e capabilities" -HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html" -SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap2/${P}.tar.xz" - -# it's available under either of the licenses -LICENSE="|| ( GPL-2 BSD )" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="pam static-libs" - -RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] - pam? ( virtual/pam )" -DEPEND="${RDEPEND} - sys-kernel/linux-headers" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.24-build-system-fixes.patch - epatch "${FILESDIR}"/${PN}-2.22-no-perl.patch - epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch - epatch "${FILESDIR}"/${PN}-2.21-include.patch - epatch "${FILESDIR}"/${PN}-2.24-setcap-errno.patch #551672 - - multilib_copy_sources -} - -multilib_src_configure() { - local pam - if multilib_is_native_abi && use pam; then - pam=yes - else - pam=no - fi - - sed -i \ - -e "/^PAM_CAP/s:=.*:=${pam}:" \ - -e '/^DYNAMIC/s:=.*:=yes:' \ - -e '/^lib_prefix=/s:=.*:=$(prefix):' \ - -e "/^lib=/s:=.*:=$(get_libdir):" \ - Make.Rules -} - -multilib_src_compile() { - tc-export AR CC RANLIB - local BUILD_CC - tc-export_build_env BUILD_CC - - default -} - -multilib_src_install() { - # no configure, needs explicit install line #444724#c3 - emake install DESTDIR="${ED}" - - gen_usr_ldscript -a cap - use static-libs || rm "${ED}"/usr/$(get_libdir)/libcap.a - - rm -rf "${ED}"/usr/$(get_libdir)/security - if multilib_is_native_abi && use pam; then - dopammod pam_cap/pam_cap.so - dopamsecurity '' pam_cap/capability.conf - fi -} - -multilib_src_install_all() { - dodoc CHANGELOG README doc/capability.notes -} |