1 |
commit: 181bde925ebf9d87ffa07d4fe3e055b112882b2c |
2 |
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 8 03:01:35 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 8 06:46:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=181bde92 |
7 |
|
8 |
app-crypt/tpm2-tools: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/22241 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild | 70 ------------------------- |
16 |
1 file changed, 70 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index fb7168bfb2f..00000000000 |
21 |
--- a/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,70 +0,0 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
- |
29 |
-PYTHON_COMPAT=( python3_{8,9} ) |
30 |
-inherit autotools bash-completion-r1 python-single-r1 |
31 |
- |
32 |
-DESCRIPTION="Tools for the TPM 2.0 TSS" |
33 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" |
34 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="BSD" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64" |
39 |
-IUSE="+fapi test" |
40 |
- |
41 |
-RDEPEND="net-misc/curl:= |
42 |
- >=app-crypt/tpm2-tss-3.0.1:=[fapi?] |
43 |
- dev-libs/openssl:= |
44 |
- ${PYTHON_DEPS}" |
45 |
-DEPEND="${RDEPEND} |
46 |
- test? ( |
47 |
- app-crypt/swtpm |
48 |
- app-crypt/tpm2-abrmd |
49 |
- app-editors/vim-core |
50 |
- dev-tcltk/expect |
51 |
- dev-util/cmocka |
52 |
- dev-python/pyyaml |
53 |
- )" |
54 |
-BDEPEND="virtual/pkgconfig |
55 |
- sys-devel/autoconf-archive" |
56 |
- |
57 |
-RESTRICT="!test? ( test )" |
58 |
-REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " |
59 |
- |
60 |
-# One of the tests fails without this patch. See |
61 |
-# https://github.com/tpm2-software/tpm2-tools/issues/2767 |
62 |
-PATCHES=( |
63 |
- "${FILESDIR}/${PN}-5.1.1-fix-tpm-checkquote.patch" |
64 |
-) |
65 |
- |
66 |
-src_prepare() { |
67 |
- sed -i \ |
68 |
- "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ |
69 |
- "${S}/configure.ac" || die |
70 |
- "${S}/scripts/utils/man_to_bashcompletion.sh" |
71 |
- eautoreconf |
72 |
- default |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- econf \ |
77 |
- $(use_enable fapi) \ |
78 |
- $(use_enable test unit) \ |
79 |
- --with-bashcompdir=$(get_bashcompdir) \ |
80 |
- --enable-hardening |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- default |
85 |
- |
86 |
- mv "${D}/$(get_bashcompdir)/tpm2_completion.bash" \ |
87 |
- "${D}/$(get_bashcompdir)/tpm2" || die |
88 |
- for B in "${D}"/usr/bin/tpm2_* |
89 |
- do |
90 |
- TPM2_UTILS="${TPM2_UTILS} $(basename ${B})" |
91 |
- done |
92 |
- bashcomp_alias tpm2 ${TPM2_UTILS} |
93 |
-} |