Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap/
Date: Fri, 05 Feb 2021 10:59:37
Message-Id: 1612522771.c35de6a74a1de29cbd66aa11e975422a8997fdfb.polynomial-c@gentoo
1 commit: c35de6a74a1de29cbd66aa11e975422a8997fdfb
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 5 10:59:11 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 5 10:59:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c35de6a7
7
8 sys-libs/libcap: Removed old
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/libcap/Manifest | 1 -
14 sys-libs/libcap/libcap-2.46.ebuild | 89 --------------------------------------
15 2 files changed, 90 deletions(-)
16
17 diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest
18 index 1ed10abdfee..5a6d116de4a 100644
19 --- a/sys-libs/libcap/Manifest
20 +++ b/sys-libs/libcap/Manifest
21 @@ -1,4 +1,3 @@
22 DIST libcap-2.43.tar.xz 125284 BLAKE2B bde36f8397f4adb74760eb403daa06bee1b8f45ddc253cc3c3ef1f6e95d0e4c76d0f2e6fa3335a8bc451f18ac7128c96230f6aba9ae0320fa4f9d669e7b4f715 SHA512 817add571fb2c54ad2a39974e6545b8fc8d855ecdcf2e00b2cc10e583802c49dfea2d8bca484c89ecd574fdacfc46565b51e3064a4407cf1985defb913240d45
23 -DIST libcap-2.46.tar.xz 129296 BLAKE2B 22df1dcf37a920e831c47edad62df2b3e35b5360605ed24bdb9199ac8ba1fd30cd20492f8a9eae25232cc042cbef9a89a3649e0d06412b84c58f12e7795844bc SHA512 6dcb249aac78efde959a986e7f06a364b2e6e57dd40b14e791d5a56012df485b2395dee0228f4cc3e1cddb2a4e3dcb9c1d83d5331ed084f23a46848494933845
24 DIST libcap-2.47.tar.xz 131960 BLAKE2B 745bd3ba9819a1582880dff81d94ccf198fcf3f89d776ac0ce3055535e5370a0be57c5efdf7287f99ed50189af14ee46e90805d0a324f92d394211ffc6d7002d SHA512 cfa4aaa82b7dbb76e38cd207401603582343b14eb91d6df23e0ea6698d0ec0ab2b368fe0d08208a014a1b1a68d11316ecefa45c27983f9ad95e7b8184351fad8
25 DIST libcap-2.48.tar.xz 132280 BLAKE2B 43ab75b73a5297ec24467fae82378f8c7aba5356afcebfb32a695d664a4b5268526fd90a009596c0f516a626d8f4523a9b49ec3225b6a886da32e62eb5b55ea5 SHA512 3cb1e2b026c0f60d6f225c7255944d45023e59fd065b8f832739fc90d33b3347981675de12dd705c4ecbd647a494a17daf39e1d92599bcd1a83306886edadba1
26
27 diff --git a/sys-libs/libcap/libcap-2.46.ebuild b/sys-libs/libcap/libcap-2.46.ebuild
28 deleted file mode 100644
29 index f96270520ed..00000000000
30 --- a/sys-libs/libcap/libcap-2.46.ebuild
31 +++ /dev/null
32 @@ -1,89 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit multilib multilib-minimal toolchain-funcs pam usr-ldscript
39 -
40 -DESCRIPTION="POSIX 1003.1e capabilities"
41 -HOMEPAGE="https://sites.google.com/site/fullycapable/"
42 -SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz"
43 -
44 -# it's available under either of the licenses
45 -LICENSE="|| ( GPL-2 BSD )"
46 -SLOT="0"
47 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
48 -IUSE="pam static-libs"
49 -
50 -# While the build system optionally uses gperf, we don't DEPEND on it because
51 -# the build automatically falls back when it's unavailable. #604802
52 -RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}]"
53 -PDEPEND="pam? ( sys-libs/pam[${MULTILIB_USEDEP}] )"
54 -DEPEND="${RDEPEND}
55 - ${PDEPEND}
56 - sys-kernel/linux-headers"
57 -
58 -# Requires test suite being run as root (via sudo)
59 -RESTRICT="test"
60 -
61 -PATCHES=(
62 - "${FILESDIR}"/${PN}-2.45-build-system-fixes.patch
63 - "${FILESDIR}"/${PN}-2.38-no_perl.patch
64 - "${FILESDIR}"/${PN}-2.25-ignore-RAISE_SETFCAP-install-failures.patch
65 - "${FILESDIR}"/${PN}-2.21-include.patch
66 -)
67 -
68 -src_prepare() {
69 - default
70 - multilib_copy_sources
71 -}
72 -
73 -run_emake() {
74 - local args=(
75 - exec_prefix="${EPREFIX}"
76 - lib_prefix="${EPREFIX}/usr"
77 - lib="$(get_libdir)"
78 - prefix="${EPREFIX}/usr"
79 - PAM_CAP="$(usex pam yes no)"
80 - DYNAMIC=yes
81 - GOLANG=no
82 - CC="$(tc-getCC)"
83 - AR="$(tc-getAR)"
84 - RANLIB="$(tc-getRANLIB)"
85 - )
86 - emake "${args[@]}" "$@"
87 -}
88 -
89 -src_configure() {
90 - tc-export AR CC RANLIB
91 - tc-export_build_env BUILD_CC
92 - multilib-minimal_src_configure
93 -}
94 -
95 -multilib_src_compile() {
96 - run_emake
97 -}
98 -
99 -multilib_src_install() {
100 - # no configure, needs explicit install line #444724#c3
101 - run_emake DESTDIR="${D}" install
102 -
103 - gen_usr_ldscript -a cap
104 - gen_usr_ldscript -a psx
105 - if ! use static-libs ; then
106 - rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die
107 - fi
108 -
109 - if [[ -d "${ED}"/usr/$(get_libdir)/security ]] ; then
110 - rm -r "${ED}"/usr/$(get_libdir)/security || die
111 - fi
112 -
113 - if use pam; then
114 - dopammod pam_cap/pam_cap.so
115 - dopamsecurity '' pam_cap/capability.conf
116 - fi
117 -}
118 -
119 -multilib_src_install_all() {
120 - dodoc CHANGELOG README doc/capability.notes
121 -}