summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Byrne <salah.coronya@gmail.com>2021-09-07 22:01:35 -0500
committerSam James <sam@gentoo.org>2021-09-08 07:46:04 +0100
commit181bde925ebf9d87ffa07d4fe3e055b112882b2c (patch)
tree9485fea8c295fd10d30eaeb987bc2a8bf808b8fb /app-crypt
parentapp-crypt/tpm2-tools: Call default before eautoreconf in src_prepare (diff)
downloadgentoo-181bde925ebf9d87ffa07d4fe3e055b112882b2c.tar.gz
gentoo-181bde925ebf9d87ffa07d4fe3e055b112882b2c.tar.bz2
gentoo-181bde925ebf9d87ffa07d4fe3e055b112882b2c.zip
app-crypt/tpm2-tools: Remove old
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22241 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild70
1 files changed, 0 insertions, 70 deletions
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
deleted file mode 100644
index fb7168bfb2f4..000000000000
--- a/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit autotools bash-completion-r1 python-single-r1
-
-DESCRIPTION="Tools for the TPM 2.0 TSS"
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tools"
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+fapi test"
-
-RDEPEND="net-misc/curl:=
- >=app-crypt/tpm2-tss-3.0.1:=[fapi?]
- dev-libs/openssl:=
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- test? (
- app-crypt/swtpm
- app-crypt/tpm2-abrmd
- app-editors/vim-core
- dev-tcltk/expect
- dev-util/cmocka
- dev-python/pyyaml
- )"
-BDEPEND="virtual/pkgconfig
- sys-devel/autoconf-archive"
-
-RESTRICT="!test? ( test )"
-REQUIRED_USE=" ${PYTHON_REQUIRED_USE} "
-
-# One of the tests fails without this patch. See
-# https://github.com/tpm2-software/tpm2-tools/issues/2767
-PATCHES=(
- "${FILESDIR}/${PN}-5.1.1-fix-tpm-checkquote.patch"
-)
-
-src_prepare() {
- sed -i \
- "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \
- "${S}/configure.ac" || die
- "${S}/scripts/utils/man_to_bashcompletion.sh"
- eautoreconf
- default
-}
-
-src_configure() {
- econf \
- $(use_enable fapi) \
- $(use_enable test unit) \
- --with-bashcompdir=$(get_bashcompdir) \
- --enable-hardening
-}
-
-src_install() {
- default
-
- mv "${D}/$(get_bashcompdir)/tpm2_completion.bash" \
- "${D}/$(get_bashcompdir)/tpm2" || die
- for B in "${D}"/usr/bin/tpm2_*
- do
- TPM2_UTILS="${TPM2_UTILS} $(basename ${B})"
- done
- bashcomp_alias tpm2 ${TPM2_UTILS}
-}