1 |
commit: 69e8442bd4275174cb2d16cf3835fb1fdd4cf425 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 4 09:52:41 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 4 10:03:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e8442b |
7 |
|
8 |
sys-libs/libcap: Removed old |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/libcap/Manifest | 1 - |
14 |
sys-libs/libcap/libcap-2.31.ebuild | 84 -------------------------------------- |
15 |
2 files changed, 85 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest |
18 |
index f4dcbecfade..e603b8d4cd1 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.31.tar.xz 99236 BLAKE2B c4cd5e2e105cc05b2aee2ee6435b9a28c06a91dee5cdd1baf6d94f625d89e134ad35a4493ffdfda7f3ffb0b41aa6e75a20cd705bfe9df570e82d0b6ea4e484e1 SHA512 9f0ef665a52e77356d6028abdead3c3cf75f97406ac09d60a33500222428c581d8aaa7d25d7eb9051d9c73ebfaefa7af5581430e1ecc1dfea73398a3ac7cbc3a |
25 |
DIST libcap-2.32.tar.xz 99708 BLAKE2B cbd4676ca9ada4c4dd6dee5137c0bb16f23af5d9a224c81b476c19326f87352fb06e2e123c9431558cd22f91032064ed6de8407d5861728dd141be16957363db SHA512 e2325cf0a1d0509c49336f7e5760e5b339c889cdde8d6c359197aed711423f951ad390a2a3dd4943b03afe152ad8502ea1db9d7ef247148b93e93a3c4895a019 |
26 |
DIST libcap-2.33.tar.xz 111280 BLAKE2B 9a34b6e871c6175da5ef665ab7a5ed8b9889f598875f58a6e0b7aef9b6b2737f2a85bb0a6e259a730a3fcea3b8ebbec793b52ee5dec7d11fcf236dfb2148eb83 SHA512 bb5bdc1318b524ee607026038dff7c1c621f1710fa07f8c341b1f86761cb086d32b93d7a12dbe4256d4440ee984143db8659d2679330e221ce184d7048c142b4 |
27 |
|
28 |
diff --git a/sys-libs/libcap/libcap-2.31.ebuild b/sys-libs/libcap/libcap-2.31.ebuild |
29 |
deleted file mode 100644 |
30 |
index 019cf1be2c6..00000000000 |
31 |
--- a/sys-libs/libcap/libcap-2.31.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,84 +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 ~sh ~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 |
- pam? ( sys-libs/pam[${MULTILIB_USEDEP}] )" |
55 |
-DEPEND="${RDEPEND} |
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.29-build-system-fixes.patch |
63 |
- "${FILESDIR}"/${PN}-2.28-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 |
- ) |
83 |
- emake "${args[@]}" "$@" |
84 |
-} |
85 |
- |
86 |
-multilib_src_compile() { |
87 |
- tc-export AR CC RANLIB |
88 |
- local BUILD_CC |
89 |
- tc-export_build_env BUILD_CC |
90 |
- |
91 |
- run_emake |
92 |
-} |
93 |
- |
94 |
-multilib_src_install() { |
95 |
- # no configure, needs explicit install line #444724#c3 |
96 |
- run_emake DESTDIR="${D}" install |
97 |
- |
98 |
- gen_usr_ldscript -a cap |
99 |
- if ! use static-libs ; then |
100 |
- # Don't remove libpsx.a! |
101 |
- # See https://bugs.gentoo.org/703912 |
102 |
- rm "${ED}"/usr/$(get_libdir)/libcap.a || die |
103 |
- fi |
104 |
- |
105 |
- if [[ -d "${ED}"/usr/$(get_libdir)/security ]] ; then |
106 |
- rm -r "${ED}"/usr/$(get_libdir)/security || die |
107 |
- fi |
108 |
- |
109 |
- if use pam; then |
110 |
- dopammod pam_cap/pam_cap.so |
111 |
- dopamsecurity '' pam_cap/capability.conf |
112 |
- fi |
113 |
-} |
114 |
- |
115 |
-multilib_src_install_all() { |
116 |
- dodoc CHANGELOG README doc/capability.notes |
117 |
-} |