1 |
commit: b9984e861329c2d6409e2a2be5aaed7a8816891e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 19 08:35:20 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 19 08:35:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9984e86 |
7 |
|
8 |
sys-libs/libcap: drop 2.56 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-libs/libcap/Manifest | 1 - |
13 |
sys-libs/libcap/libcap-2.56.ebuild | 90 -------------------------------------- |
14 |
2 files changed, 91 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest |
17 |
index 26430ce04a3..99cb021a483 100644 |
18 |
--- a/sys-libs/libcap/Manifest |
19 |
+++ b/sys-libs/libcap/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST libcap-2.49.tar.xz 139568 BLAKE2B 5746dcdf2a737e747450bd50a701ee8543277b17b7fbf1304b79f707a088ea74dc6dc79c61ff89b55b718a460a7b0814f960f44d07944a97b832b78f4e14e07f SHA512 2934a2ded1370edeb9603dbf43d8ca23a2eb5d67efc5cec5d4ba96c707a8db2702da8aa9be0cb86c5ff100d37ec96115c7777a7566ad0ab2e0b4a288bbe357d0 |
22 |
-DIST libcap-2.56.tar.xz 167056 BLAKE2B 97d1cf6196bcbcb48e335f810385ca2b36e7c3e234a1f99172fe00419ecc4af7337f208e107f012e5ffd46c1b6207a9d4515f3a677a924dd26ed8a699a080a5a SHA512 8a5c6c99458b0996c9599e00648e99e53b222ddf429535c475099c1af02796331b864fbfae767c16cfb7f2899cf0beaf74095e26a52988361ea1400f012f30c8 |
23 |
DIST libcap-2.57.tar.xz 167740 BLAKE2B e0c004f3d11caf824d907315e6102707bb34c0ef3e9d430f23c191d711f073267ef6dc44463e2ce8041b8d13658b0c20560f7f3c6387f770ff9e66b81ff9f5d3 SHA512 5c70b3c6a1248ca0de92538614f0d0d516d72f6f25b135c92738c377b67533662e6fd6b0b61cb051ec99f406387d3334fcc7ddb54789626e4c387bcf46ebffbf |
24 |
DIST libcap-2.58.tar.xz 168520 BLAKE2B 9f160c08e7e8bcb9eb49ab6a7a0805145461613a946ccfebeadc269b26331eadc9f467437b2f5b022e9a545b034ea4fd8fed4d5893e84d9a48dd85318810b974 SHA512 092e45f82113293e1c2db7e51dca7298496c2a3af08eb41107e8c2b4798c25d3c9059e152181dc048b232fe0e59c4c3beaa158da2e5798cd6e1013d85226a9cf |
25 |
|
26 |
diff --git a/sys-libs/libcap/libcap-2.56.ebuild b/sys-libs/libcap/libcap-2.56.ebuild |
27 |
deleted file mode 100644 |
28 |
index 0298367e447..00000000000 |
29 |
--- a/sys-libs/libcap/libcap-2.56.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,90 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit multilib-minimal toolchain-funcs pam usr-ldscript |
38 |
- |
39 |
-DESCRIPTION="POSIX 1003.1e capabilities" |
40 |
-HOMEPAGE="https://sites.google.com/site/fullycapable/" |
41 |
-SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz" |
42 |
- |
43 |
-# it's available under either of the licenses |
44 |
-LICENSE="|| ( GPL-2 BSD )" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
47 |
-IUSE="pam static-libs tools" |
48 |
- |
49 |
-# While the build system optionally uses gperf, we don't DEPEND on it because |
50 |
-# the build automatically falls back when it's unavailable. #604802 |
51 |
-PDEPEND="pam? ( sys-libs/pam[${MULTILIB_USEDEP}] )" |
52 |
-DEPEND="${PDEPEND} |
53 |
- sys-kernel/linux-headers" |
54 |
-BDEPEND="tools? ( dev-lang/go )" |
55 |
- |
56 |
-PATCHES=( |
57 |
- # backport, remove on bump |
58 |
- "${FILESDIR}"/${PN}-2.56-build-system-fixes.patch |
59 |
- "${FILESDIR}"/${PN}-2.38-no_perl.patch |
60 |
- "${FILESDIR}"/${PN}-2.25-ignore-RAISE_SETFCAP-install-failures.patch |
61 |
-) |
62 |
- |
63 |
-QA_FLAGS_IGNORED="sbin/captree" # go binaries don't use LDFLAGS |
64 |
- |
65 |
-src_prepare() { |
66 |
- default |
67 |
- multilib_copy_sources |
68 |
-} |
69 |
- |
70 |
-run_emake() { |
71 |
- local args=( |
72 |
- AR="$(tc-getAR)" |
73 |
- CC="$(tc-getCC)" |
74 |
- OBJCOPY="$(tc-getOBJCOPY)" |
75 |
- RANLIB="$(tc-getRANLIB)" |
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="$(multilib_native_usex tools yes no)" |
83 |
- ) |
84 |
- emake "${args[@]}" "$@" |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- tc-export_build_env BUILD_CC |
89 |
- multilib-minimal_src_configure |
90 |
-} |
91 |
- |
92 |
-multilib_src_compile() { |
93 |
- run_emake |
94 |
-} |
95 |
- |
96 |
-multilib_src_test() { |
97 |
- run_emake test |
98 |
-} |
99 |
- |
100 |
-multilib_src_install() { |
101 |
- # no configure, needs explicit install line #444724#c3 |
102 |
- run_emake DESTDIR="${D}" install |
103 |
- |
104 |
- gen_usr_ldscript -a cap |
105 |
- gen_usr_ldscript -a psx |
106 |
- if ! use static-libs ; then |
107 |
- rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die |
108 |
- fi |
109 |
- |
110 |
- # install pam plugins ourselves |
111 |
- rm -rf "${ED}"/usr/$(get_libdir)/security || die |
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 |
-} |