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