From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB57D1582EF for ; Sat, 22 Feb 2025 08:02:15 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AE8A0343244 for ; Sat, 22 Feb 2025 08:02:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 62F96110470; Sat, 22 Feb 2025 08:02:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 554A9110471 for ; Sat, 22 Feb 2025 08:02:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E7DD3431E0 for ; Sat, 22 Feb 2025 08:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CD2E2737 for ; Sat, 22 Feb 2025 08:02:04 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1740211070.64c641204a261616d7a855b80ff1c6f89658fc2c.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libtpms/libtpms-0.10.0.ebuild X-VCS-Directories: dev-libs/libtpms/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 64c641204a261616d7a855b80ff1c6f89658fc2c X-VCS-Branch: master Date: Sat, 22 Feb 2025 08:02:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 45afaff0-46a7-48dd-8832-8c95fbef0610 X-Archives-Hash: d78d817c21eb2a4253eae4f043ed9d70 commit: 64c641204a261616d7a855b80ff1c6f89658fc2c Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 16:16:40 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 22 07:57:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c64120 dev-libs/libtpms: Fix incorrect REPLACING_VERSIONS usage Signed-off-by: Ulrich Müller gentoo.org> dev-libs/libtpms/libtpms-0.10.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild b/dev-libs/libtpms/libtpms-0.10.0.ebuild index c8d8fd24e619..d6828749e312 100644 --- a/dev-libs/libtpms/libtpms-0.10.0.ebuild +++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools eapi9-ver DESCRIPTION="Library providing software emulation of a TPM" HOMEPAGE="https://github.com/stefanberger/libtpms" @@ -40,7 +40,7 @@ src_install() { } pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then + 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"