commit: 0d6c26a7336989252a116ff01fcbac3e74dd982d Author: Brett A C Sheffield <bacs <AT> librecast <DOT> net> AuthorDate: Tue Mar 10 12:19:27 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 11 13:14:04 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6c26a7
dev-libs/libtpms: drop 0.9.6, 0.10.0, 0.10.0-r1 Bug: https://bugs.gentoo.org/957795 Bug: https://bugs.gentoo.org/968286 Signed-off-by: Brett A C Sheffield <bacs <AT> librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/284 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libtpms/Manifest | 3 -- dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 52 ------------------------------- dev-libs/libtpms/libtpms-0.10.0.ebuild | 51 ------------------------------ dev-libs/libtpms/libtpms-0.10.1.ebuild | 51 ------------------------------ dev-libs/libtpms/libtpms-0.9.6.ebuild | 48 ---------------------------- 5 files changed, 205 deletions(-) diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest index 89fc3843d125..8f7234e46bd9 100644 --- a/dev-libs/libtpms/Manifest +++ b/dev-libs/libtpms/Manifest @@ -1,4 +1 @@ -DIST libtpms-0.10.0.tar.gz 1397526 BLAKE2B 8d05023f5f0fc8dd20cbf5606fa7be391b7dfdc45710c76387c97cef6afb555bd5f0920f73e4578719bdad8e64ba239c14f8c63ed1232c4c3e1b4a80c247b8e0 SHA512 a728188c26447656f43298d1475ebccf0f074d9474780a71fc64baf1ac8b6f6569c90e5ad07098dddc711ba1080eef409c1ac5334d054e7f144e48fa21b66df9 -DIST libtpms-0.10.1.tar.gz 1399253 BLAKE2B 39feead951a84b715e8e4db8cd6eab7f19728c00423df16150c99004230061691cde90fcf7aafc6a5748647ac58cb696b89a709368da4b8f0c684b22321ff1ea SHA512 a1087fb404d199755e38c0c45bd39d3b18686076ec12326e118a0d5c493339ef2a6e4092f451869aa468ff1b69ee024dfdbff9d5c4e0f874c70af3f36d293fe4 DIST libtpms-0.10.2.tar.gz 1399529 BLAKE2B 19c881d60f8124b6ffe1622731cf73593a38a683cd0a593445ca93033e927c94e1ba75cd30e2847da2137155934f17f785e7dfb96731596361b7a77476cc5a94 SHA512 e30297289a03d4fefb2cdf44654d6f77719a021deb9b721f08d4a23e20706b903ef5e979ba05ad333d052cf35681ba5e143fb883bed0dc37626eca2807d0c01f -DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea SHA512 35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3 diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild deleted file mode 100644 index c8ebd9ffab69..000000000000 --- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools eapi9-ver - -DESCRIPTION="Library providing software emulation of a TPM" -HOMEPAGE="https://github.com/stefanberger/libtpms" -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -DEPEND="dev-libs/openssl:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch" - "${FILESDIR}/${PN}-0.10.0-tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # --disable-hardening because it just sets what our toolchain - # already does. If the user wants to disable that in their *FLAGS, - # or via USE on toolchain packages, honour that. - econf \ - --with-openssl \ - --disable-hardening -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if ver_replacing -lt 0.8.0; then - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" - elog "keys due to a flawed key creation algorithm. Because fixing this would render" - elog "existing sealed data inaccessible, to use the corrected algorithm, the old" - elog "TPM state file must be deleted and a new TPM state file created. Data still" - elog "sealed using the old state file will be permanently inaccessible. For the" - elog "details see https://github.com/stefanberger/libtpms/issues/183" - fi -} diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild b/dev-libs/libtpms/libtpms-0.10.0.ebuild deleted file mode 100644 index d6828749e312..000000000000 --- a/dev-libs/libtpms/libtpms-0.10.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools eapi9-ver - -DESCRIPTION="Library providing software emulation of a TPM" -HOMEPAGE="https://github.com/stefanberger/libtpms" -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -DEPEND="dev-libs/openssl:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # --disable-hardening because it just sets what our toolchain - # already does. If the user wants to disable that in their *FLAGS, - # or via USE on toolchain packages, honour that. - econf \ - --with-openssl \ - --disable-hardening -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if ver_replacing -lt 0.8.0; then - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" - elog "keys due to a flawed key creation algorithm. Because fixing this would render" - elog "existing sealed data inaccessible, to use the corrected algorithm, the old" - elog "TPM state file must be deleted and a new TPM state file created. Data still" - elog "sealed using the old state file will be permanently inaccessible. For the" - elog "details see https://github.com/stefanberger/libtpms/issues/183" - fi -} diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild b/dev-libs/libtpms/libtpms-0.10.1.ebuild deleted file mode 100644 index d6828749e312..000000000000 --- a/dev-libs/libtpms/libtpms-0.10.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools eapi9-ver - -DESCRIPTION="Library providing software emulation of a TPM" -HOMEPAGE="https://github.com/stefanberger/libtpms" -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -DEPEND="dev-libs/openssl:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # --disable-hardening because it just sets what our toolchain - # already does. If the user wants to disable that in their *FLAGS, - # or via USE on toolchain packages, honour that. - econf \ - --with-openssl \ - --disable-hardening -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if ver_replacing -lt 0.8.0; then - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" - elog "keys due to a flawed key creation algorithm. Because fixing this would render" - elog "existing sealed data inaccessible, to use the corrected algorithm, the old" - elog "TPM state file must be deleted and a new TPM state file created. Data still" - elog "sealed using the old state file will be permanently inaccessible. For the" - elog "details see https://github.com/stefanberger/libtpms/issues/183" - fi -} diff --git a/dev-libs/libtpms/libtpms-0.9.6.ebuild b/dev-libs/libtpms/libtpms-0.9.6.ebuild deleted file mode 100644 index 5dda33f6cd23..000000000000 --- a/dev-libs/libtpms/libtpms-0.9.6.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library providing software emulation of a TPM" -HOMEPAGE="https://github.com/stefanberger/libtpms" -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -DEPEND="dev-libs/openssl:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.9.0-Remove-WError.patch" - "${FILESDIR}/${PN}-0.9.5-slibtool.patch" # 858671 -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --with-openssl -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" - elog "keys due to a flawed key creation algorithm. Because fixing this would render" - elog "existing sealed data inaccessible, to use the corrected algorithm, the old" - elog "TPM state file must be deleted and a new TPM state file created. Data still" - elog "sealed using the old state file will be permanently inaccessible. For the" - elog "details see https://github.com/stefanberger/libtpms/issues/183" - fi -}
