diff options
author | Christopher Byrne <salah.coronya@gmail.com> | 2023-01-09 17:34:34 -0600 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-01-20 10:07:49 +0200 |
commit | 50a93aee2eefc23b35891cae193ff7b4627819c2 (patch) | |
tree | 48bd49351bd27661f4239c994ec87f91882d32e4 /app-crypt | |
parent | app-admin/gkrellm: add missing xorg-proto dep (diff) | |
download | gentoo-50a93aee2eefc23b35891cae193ff7b4627819c2.tar.gz gentoo-50a93aee2eefc23b35891cae193ff7b4627819c2.tar.bz2 gentoo-50a93aee2eefc23b35891cae193ff7b4627819c2.zip |
app-crypt/tpm2-tss-engine: add 1.2.0
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/tpm2-tss-engine/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/tpm2-tss-engine/tpm2-tss-engine-1.2.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/app-crypt/tpm2-tss-engine/Manifest b/app-crypt/tpm2-tss-engine/Manifest index f4f515d1cd89..b853ba2d43c0 100644 --- a/app-crypt/tpm2-tss-engine/Manifest +++ b/app-crypt/tpm2-tss-engine/Manifest @@ -1 +1,2 @@ DIST tpm2-tss-engine-1.1.0.tar.gz 394448 BLAKE2B 0502907dc9ce872f31be3b980f975a02af2e3e4b369d188afa5327bd4475d93dbf43769dc7ddc11e8cbda8d1fde09f28a9aef9145e859a90225cd397f62c7a2c SHA512 5d2e08178be54350e8672245023d601a0d9d520f8c49e977af49d7c59b91d033c14b4a347b71e042fe7c5ff12af9fcc43b69fd1dc83a9f0db12d47d43e1107f4 +DIST tpm2-tss-engine-1.2.0.tar.gz 410605 BLAKE2B f6b88238ed780315cf23dc9caac4639220e76e8daeeb35a0e9bf2f23efb1b45497dd24f43f97d0f4018440b33e2e80de4f321254b9e58708d04a15a3bd922aae SHA512 cd0f1c3b5251ab2f21159099cdb9c0b1cc68d7ad334d4c5245bba9c07274ecea7c86a531afc9ce6250635a9d0929a5147f461cc3760b15cd6ad099342af87ad0 diff --git a/app-crypt/tpm2-tss-engine/tpm2-tss-engine-1.2.0.ebuild b/app-crypt/tpm2-tss-engine/tpm2-tss-engine-1.2.0.ebuild new file mode 100644 index 000000000000..790eff2f51b6 --- /dev/null +++ b/app-crypt/tpm2-tss-engine/tpm2-tss-engine-1.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools bash-completion-r1 + +DESCRIPTION="OpenSSL Engine for TPM2 devices" +HOMEPAGE="https://github.com/tpm2-software/tpm2-tss-engine" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="app-crypt/tpm2-tss:= + >=dev-libs/openssl-1.1.1:= + <dev-libs/openssl-3.0.0:=" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND="sys-devel/autoconf-archive + virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable test unit) \ + --disable-defaultflags \ + --disable-static \ + --with-completionsdir="$(get_bashcompdir)" +} + +src_install () { + default + find "${ED}" -name '*.la' -delete || die + dobashcomp bash-completion/* +} |