commit:     50a93aee2eefc23b35891cae193ff7b4627819c2
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Jan  9 23:34:34 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 08:07:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a93aee

app-crypt/tpm2-tss-engine: add 1.2.0

Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 app-crypt/tpm2-tss-engine/Manifest                 |  1 +
 .../tpm2-tss-engine/tpm2-tss-engine-1.2.0.ebuild   | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

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/*
+}

Reply via email to