* [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/
@ 2022-10-07 21:11 Quentin Retornaz
0 siblings, 0 replies; 6+ messages in thread
From: Quentin Retornaz @ 2022-10-07 21:11 UTC (permalink / raw
To: gentoo-commits
commit: c5b1dce9793dd542b88f5da82b7b34b1b36e3155
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Oct 7 15:29:42 2022 +0000
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Fri Oct 7 21:11:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=c5b1dce9
app-crypt/tpm2-tss: Merge ::gentoo changes
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
index bc8875b..a0a03c8 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools linux-info multilib-minimal tmpfiles udev
+inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
@@ -60,9 +60,12 @@ src_prepare() {
}
multilib_src_configure() {
+ # tests fail with LTO enabbled. See bug 865275 and 865279
+ filter-lto
+
ECONF_SOURCE=${S} econf \
--localstatedir=/var \
- $(use_enable doc doxygen-doc) \
+ $(multilib_native_use_enable doc doxygen-doc) \
$(use_enable fapi) \
$(use_enable static-libs static) \
$(multilib_native_use_enable test unit) \
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/
@ 2023-04-14 1:16 orbea
0 siblings, 0 replies; 6+ messages in thread
From: orbea @ 2023-04-14 1:16 UTC (permalink / raw
To: gentoo-commits
commit: 3864b256abf372ab24e3ae1c3fef957096c9b8f2
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Apr 14 00:21:15 2023 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Fri Apr 14 00:21:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=3864b256
app-crypt/tpm2-tss: keyword 3.2.0-r4 for ~loong
Signed-off-by: orbea <orbea <AT> riseup.net>
app-crypt/tpm2-tss/metadata.xml | 1 +
app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-crypt/tpm2-tss/metadata.xml b/app-crypt/tpm2-tss/metadata.xml
index 0a726fa..ada5791 100644
--- a/app-crypt/tpm2-tss/metadata.xml
+++ b/app-crypt/tpm2-tss/metadata.xml
@@ -13,6 +13,7 @@
<flag name="fapi">Enable feature API (requires openssl as crypto backend)</flag>
<flag name="mbedtls">Use <pkg>net-libs/mbedtls</pkg> as crypto engine</flag>
<flag name="openssl">Use <pkg>dev-libs/openssl</pkg> as crypto engine</flag>
+ <flag name="policy">Enable policy library (requires openssl as crypto backend)</flag>
</use>
<upstream>
<remote-id type="github">tpm2-software/tpm2-tss</remote-id>
diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild
index adb5298..3d2a488 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar
LICENSE="BSD-2"
SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
IUSE="doc +fapi +openssl mbedtls static-libs test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/
@ 2023-05-31 15:34 orbea
0 siblings, 0 replies; 6+ messages in thread
From: orbea @ 2023-05-31 15:34 UTC (permalink / raw
To: gentoo-commits
commit: 0e420b2129a03da83f2fa8a51b5f9ab99bd38f74
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed May 31 14:51:14 2023 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Wed May 31 14:51:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=0e420b21
app-crypt/tpm2-tss: sync ::gentoo
Signed-off-by: orbea <orbea <AT> riseup.net>
app-crypt/tpm2-tss/tpm2-tss-4.0.0.ebuild | 2 +-
app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-crypt/tpm2-tss/tpm2-tss-4.0.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-4.0.0.ebuild
index 375dce6..e924072 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-4.0.0.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-4.0.0.ebuild
@@ -51,8 +51,8 @@ pkg_setup() {
}
src_prepare() {
- eautoreconf
default
+ eautoreconf
}
multilib_src_configure() {
diff --git a/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
index 664e42c..fc8b4ae 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar
LICENSE="BSD-2"
SLOT="0/4"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
IUSE="doc +fapi +openssl mbedtls +policy static-libs test"
RESTRICT="!test? ( test )"
@@ -52,8 +52,8 @@ pkg_setup() {
}
src_prepare() {
- eautoreconf
default
+ eautoreconf
}
multilib_src_configure() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/
@ 2024-01-14 21:44 orbea
0 siblings, 0 replies; 6+ messages in thread
From: orbea @ 2024-01-14 21:44 UTC (permalink / raw
To: gentoo-commits
commit: 49877fa6f68f1d6920bbefd6a46fab06aaace300
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Jan 14 20:32:59 2024 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sun Jan 14 20:32:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=49877fa6
app-crypt/tpm2-tss: sync ::gentoo
Signed-off-by: orbea <orbea <AT> riseup.net>
app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
index 41d4bfd..b22f295 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -35,7 +35,7 @@ DEPEND="${RDEPEND}
fapi? ( >=net-misc/curl-7.80.0 ) )"
BDEPEND="sys-apps/acl
virtual/pkgconfig
- doc? ( app-doc/doxygen )"
+ doc? ( app-text/doxygen )"
PATCHES=(
"${FILESDIR}/${PN}-3.2.0-libressl.patch"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/
@ 2024-01-16 21:14 orbea
0 siblings, 0 replies; 6+ messages in thread
From: orbea @ 2024-01-16 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 6c90c6d9a02c44ed0b01b4e1a363d7d6bd1c34d6
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Jan 16 20:57:15 2024 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Tue Jan 16 20:57:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=6c90c6d9
app-crypt/tpm2-tss: sync ::gentoo
Signed-off-by: orbea <orbea <AT> riseup.net>
app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
index b22f295..a0f8412 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-4.0.1.ebuild
@@ -58,6 +58,8 @@ src_prepare() {
}
multilib_src_configure() {
+ # Fails with inlining
+ filter-flags -fno-semantic-interposition
# tests fail with LTO enabbled. See bug 865275 and 865279
filter-lto
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/
@ 2025-01-12 16:31 orbea
0 siblings, 0 replies; 6+ messages in thread
From: orbea @ 2025-01-12 16:31 UTC (permalink / raw
To: gentoo-commits
commit: 2df1df2d3786a881251bbc3e4451ec15605fe3fb
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Jan 12 15:38:44 2025 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sun Jan 12 15:38:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=2df1df2d
app-crypt/tpm2-tss: add 4.0.2-r2 + 4.1.3-r1
Signed-off-by: orbea <orbea <AT> riseup.net>
app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild | 110 ++++++++++++++++++++++++++++
app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild | 110 ++++++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild
new file mode 100644
index 0000000..bd334dc
--- /dev/null
+++ b/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
+
+DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/4"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
+IUSE="doc +fapi +openssl mbedtls +policy static-libs test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ^^ ( mbedtls openssl )
+ fapi? ( openssl !mbedtls )
+ policy? ( openssl !mbedtls )
+"
+
+RDEPEND="
+ acct-group/tss
+ acct-user/tss
+ sys-apps/util-linux:=[${MULTILIB_USEDEP}]
+ fapi? (
+ dev-libs/json-c:=[${MULTILIB_USEDEP}]
+ >=net-misc/curl-7.80.0[${MULTILIB_USEDEP}]
+ )
+ mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] )
+ openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? ( app-crypt/swtpm
+ dev-libs/uthash
+ dev-util/cmocka
+ fapi? ( >=net-misc/curl-7.80.0 ) )
+"
+
+BDEPEND="
+ sys-apps/acl
+ virtual/pkgconfig
+ doc? ( app-text/doxygen )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.2.0-libressl.patch"
+ "${FILESDIR}/${PN}-4.0.2-Dont-install-files-into-run.patch"
+ "${FILESDIR}/${PN}-4.0.1-Make-sysusers-and-tmpfiles-optional.patch"
+ "${FILESDIR}/${PN}-4.0.1-Do-not-consider-failures-to-write-files-in-sys-hard.patch"
+ "${FILESDIR}/${PN}-4.0.2-Hide-write-all-function.patch"
+)
+
+pkg_setup() {
+ local CONFIG_CHECK="~TCG_TPM"
+ linux-info_pkg_setup
+ kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # Fails with inlining
+ filter-flags -fno-semantic-interposition
+ # tests fail with LTO enabbled. See bug 865275 and 865279
+ filter-lto
+
+ local myconf=(
+ --localstatedir=/var
+ $(multilib_native_use_enable doc doxygen-doc)
+ $(use_enable fapi)
+ $(use_enable policy)
+ $(use_enable static-libs static)
+ $(multilib_native_use_enable test unit)
+ $(multilib_native_use_enable test integration)
+ --disable-tcti-libtpms
+ --disable-defaultflags
+ --disable-weakcrypto
+ --with-crypto="$(usex mbedtls mbed ossl)"
+ --with-runstatedir=/run
+ --with-udevrulesdir="$(get_udevdir)/rules.d"
+ --with-udevrulesprefix=60-
+ --without-sysusersdir
+ --with-tmpfilesdir="/usr/lib/tmpfiles.d"
+ )
+
+ ECONF_SOURCE=${S} econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ default
+ keepdir /var/lib/tpm2-tss/system/keystore
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ tmpfiles_process tpm2-tss-fapi.conf
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild
new file mode 100644
index 0000000..5784288
--- /dev/null
+++ b/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
+
+DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/4"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
+IUSE="doc +fapi +openssl mbedtls +policy static-libs test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ^^ ( mbedtls openssl )
+ fapi? ( openssl !mbedtls )
+ policy? ( openssl !mbedtls )
+"
+
+RDEPEND="
+ acct-group/tss
+ acct-user/tss
+ sys-apps/util-linux:=[${MULTILIB_USEDEP}]
+ fapi? (
+ dev-libs/json-c:=[${MULTILIB_USEDEP}]
+ >=net-misc/curl-7.80.0[${MULTILIB_USEDEP}]
+ )
+ mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] )
+ openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? ( app-crypt/swtpm
+ dev-libs/uthash
+ dev-util/cmocka
+ fapi? ( >=net-misc/curl-7.80.0 ) )
+"
+
+BDEPEND="
+ sys-apps/acl
+ virtual/pkgconfig
+ doc? ( app-text/doxygen )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.0.2-Dont-install-files-into-run.patch"
+ "${FILESDIR}/${PN}-4.1.3-libressl.patch"
+)
+
+pkg_setup() {
+ local CONFIG_CHECK="~TCG_TPM"
+ linux-info_pkg_setup
+ kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # Fails with inlining
+ filter-flags -fno-semantic-interposition
+ # tests fail with LTO enabbled. See bug 865275 and 865279
+ filter-lto
+
+ local myconf=(
+ --localstatedir=/var
+ $(multilib_native_use_enable doc doxygen-doc)
+ $(use_enable fapi)
+ $(use_enable policy)
+ $(use_enable static-libs static)
+ $(multilib_native_use_enable test unit)
+ $(multilib_native_use_enable test integration)
+ --disable-tcti-libtpms
+ --disable-tcti-spi-ltt2go
+ --disable-tcti-spi-ftdi
+ --disable-tcti-i2c-ftdi
+ --disable-defaultflags
+ --disable-weakcrypto
+ --with-crypto="$(usex mbedtls mbed ossl)"
+ --with-runstatedir=/run
+ --with-udevrulesdir="$(get_udevdir)/rules.d"
+ --with-udevrulesprefix=60-
+ --without-sysusersdir
+ --with-tmpfilesdir="/usr/lib/tmpfiles.d"
+ )
+
+ ECONF_SOURCE=${S} econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ default
+ keepdir /var/lib/tpm2-tss/system/keystore
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ tmpfiles_process tpm2-tss-fapi.conf
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-01-12 16:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07 21:11 [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/tpm2-tss/ Quentin Retornaz
-- strict thread matches above, loose matches on Subject: below --
2023-04-14 1:16 orbea
2023-05-31 15:34 orbea
2024-01-14 21:44 orbea
2024-01-16 21:14 orbea
2025-01-12 16:31 orbea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox