1 |
commit: 01763e53175661b80fd777485b162d6c54a813fd |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 2 15:49:43 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 15:49:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01763e53 |
7 |
|
8 |
sys-apps/keyutils: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.44, Repoman-2.3.10 |
11 |
|
12 |
sys-apps/keyutils/keyutils-1.5.9-r1.ebuild | 77 ------------------------------ |
13 |
1 file changed, 77 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/keyutils/keyutils-1.5.9-r1.ebuild b/sys-apps/keyutils/keyutils-1.5.9-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 5dd6f75e4ce..00000000000 |
18 |
--- a/sys-apps/keyutils/keyutils-1.5.9-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,77 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="5" |
25 |
- |
26 |
-inherit multilib eutils toolchain-funcs linux-info multilib-minimal |
27 |
- |
28 |
-DESCRIPTION="Linux Key Management Utilities" |
29 |
-HOMEPAGE="https://people.redhat.com/dhowells/keyutils/" |
30 |
-SRC_URI="https://people.redhat.com/dhowells/${PN}/${P}.tar.bz2" |
31 |
- |
32 |
-LICENSE="GPL-2 LGPL-2.1" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" |
35 |
-IUSE="test" |
36 |
- |
37 |
-RDEPEND="" |
38 |
-DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )" |
39 |
- |
40 |
-pkg_setup() { |
41 |
- CONFIG_CHECK="~KEYS" |
42 |
- use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS" |
43 |
- ERROR_KEYS="You must have CONFIG_KEYS to use this package!" |
44 |
- ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!" |
45 |
- linux-info_pkg_setup |
46 |
-} |
47 |
- |
48 |
-src_prepare() { |
49 |
- epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch |
50 |
- |
51 |
- # The lsb check is useless, so avoid spurious command not found messages. |
52 |
- sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die |
53 |
- # All the test files are bash, but try to execute via `sh`. |
54 |
- sed -i -r \ |
55 |
- -e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \ |
56 |
- tests/{Makefile*,*.sh} || die |
57 |
- find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} + |
58 |
- # Some tests call the kernel which calls userspace, but that will |
59 |
- # run the install keyutils rather than the locally compiled one, |
60 |
- # so disable round trip tests. |
61 |
- rm -rf tests/keyctl/requesting/{bad-args,piped,valid} |
62 |
- |
63 |
- multilib_copy_sources |
64 |
-} |
65 |
- |
66 |
-multilib_src_compile() { |
67 |
- tc-export CC |
68 |
- tc-export AR |
69 |
- sed -i \ |
70 |
- -e '1iRPATH=' \ |
71 |
- -e '/^C.*FLAGS/s|:=|+=|' \ |
72 |
- -e 's:-Werror::' \ |
73 |
- -e '/^BUILDFOR/s:=.*:=:' \ |
74 |
- -e "/^LIBDIR/s:=.*:= /usr/$(get_libdir):" \ |
75 |
- -e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \ |
76 |
- -e "s: /: ${EPREFIX}/:g" \ |
77 |
- Makefile || die |
78 |
- |
79 |
- emake |
80 |
-} |
81 |
- |
82 |
-multilib_src_test() { |
83 |
- # Execute the locally compiled code rather than the |
84 |
- # older versions already installed in the system. |
85 |
- LD_LIBRARY_PATH=${BUILD_DIR} \ |
86 |
- PATH="${BUILD_DIR}:${PATH}" \ |
87 |
- emake test |
88 |
-} |
89 |
- |
90 |
-multilib_src_install() { |
91 |
- default |
92 |
- gen_usr_ldscript -a keyutils |
93 |
-} |
94 |
- |
95 |
-multilib_src_install_all() { |
96 |
- dodoc README |
97 |
-} |