From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-openssl/, app-crypt/tpm2-openssl/files/
Date: Fri, 21 Feb 2025 10:05:53 +0000 (UTC) [thread overview]
Message-ID: <1740132345.2ef819d458d4f23336adf2b3afdc65d716e22074.ceamac@gentoo> (raw)
commit: 2ef819d458d4f23336adf2b3afdc65d716e22074
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Sat Jan 25 22:50:34 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 10:05:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef819d4
app-crypt/tpm2-openssl: add 1.3.0
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
app-crypt/tpm2-openssl/Manifest | 1 +
...m2-openssl-1.3.0-tests-remove-systemd-ism.patch | 12 ++++++
app-crypt/tpm2-openssl/tpm2-openssl-1.3.0.ebuild | 48 ++++++++++++++++++++++
3 files changed, 61 insertions(+)
diff --git a/app-crypt/tpm2-openssl/Manifest b/app-crypt/tpm2-openssl/Manifest
index 9086c8e08327..c8ed9053e321 100644
--- a/app-crypt/tpm2-openssl/Manifest
+++ b/app-crypt/tpm2-openssl/Manifest
@@ -1 +1,2 @@
DIST tpm2-openssl-1.2.0.tar.gz 424967 BLAKE2B 9bcdc47b2eb94329caace24f10e8c234cdd92250ee7fdd4f6156c278328c0103a2285234e64f48f951f5e1b77e72341eb129ee996e628641a4032849fe5a62ce SHA512 4a12c83a0687768cd972a8d7e544f4bba2debcd24d7da2d2ee9adb097d1565bb1d69d1c448edff05f040b95700847293a8e33bfe92f43e536d13bc734ded1e1d
+DIST tpm2-openssl-1.3.0.tar.gz 432730 BLAKE2B 458cf61324f28b6c9c7d970afa7a4fe4b22f556db986e6ae4db823e876e680e338145b5519b1e351006e43adaf6b7ee7639f42cd7d1ef0b9d96f833b6016c1e4 SHA512 7f226a7a3040fb33863e24d2c3712b2cc816d872c907ac4e05f38502bf52a979a522cad5a27f1984d3ce6cc75b6d4c5098ba025cce9eedac1b7f605300210650
diff --git a/app-crypt/tpm2-openssl/files/tpm2-openssl-1.3.0-tests-remove-systemd-ism.patch b/app-crypt/tpm2-openssl/files/tpm2-openssl-1.3.0-tests-remove-systemd-ism.patch
new file mode 100644
index 000000000000..128b47c18cbe
--- /dev/null
+++ b/app-crypt/tpm2-openssl/files/tpm2-openssl-1.3.0-tests-remove-systemd-ism.patch
@@ -0,0 +1,12 @@
+diff --git a/test/run-with-simulator b/test/run-with-simulator
+index e29b591..570e7a5 100755
+--- a/test/run-with-simulator
++++ b/test/run-with-simulator
+@@ -76,7 +76,6 @@ start_tpm2_abrmd() {
+ export TPM2TOOLS_TCTI
+ export TPM2OPENSSL_TCTI
+ sleep 1
+- busctl --address="${DBUS_SESSION_BUS_ADDRESS}" list | grep "$tabrmd_name"
+ }
+
+ start_tpm2_sim_env() {
diff --git a/app-crypt/tpm2-openssl/tpm2-openssl-1.3.0.ebuild b/app-crypt/tpm2-openssl/tpm2-openssl-1.3.0.ebuild
new file mode 100644
index 000000000000..a8b8ade64d07
--- /dev/null
+++ b/app-crypt/tpm2-openssl/tpm2-openssl-1.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="OpenSSL Provider for TPM2 integration"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-openssl"
+SRC_URI="https://github.com/tpm2-software/tpm2-openssl/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=app-crypt/tpm2-tss-3.2.0:=
+ >=dev-libs/openssl-3:="
+DEPEND="${RDEPEND}
+ test? (
+ app-crypt/swtpm[gnutls(+)]
+ app-crypt/tpm2-abrmd
+ app-crypt/tpm2-tools
+ )"
+BDEPEND="
+ dev-build/autoconf-archive
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.1-build-Fix-undefined-references-when-using-slibtool.patch"
+ "${FILESDIR}/${PN}-1.3.0-tests-remove-systemd-ism.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_test() {
+ "${S}/test/run-with-simulator" swtpm skip-build || die
+}
+
+src_install() {
+ default
+ find "${ED}" -iname '*.la' -delete || die
+}
next reply other threads:[~2025-02-21 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 10:05 Viorel Munteanu [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-14 21:00 [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-openssl/, app-crypt/tpm2-openssl/files/ David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740132345.2ef819d458d4f23336adf2b3afdc65d716e22074.ceamac@gentoo \
--to=ceamac@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox