From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 890FC13835C for ; Tue, 22 Jun 2021 09:02:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58254E0916; Tue, 22 Jun 2021 09:02:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E456E0916 for ; Tue, 22 Jun 2021 09:02:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A51B33D5A5 for ; Tue, 22 Jun 2021 09:02:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9547A797 for ; Tue, 22 Jun 2021 09:02:10 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1624350584.a88129cec9b0fba20f944fd2510ae52bd3588f83.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libtpms/Manifest dev-libs/libtpms/libtpms-0.8.3.ebuild X-VCS-Directories: dev-libs/libtpms/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: a88129cec9b0fba20f944fd2510ae52bd3588f83 X-VCS-Branch: master Date: Tue, 22 Jun 2021 09:02:10 +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: db34b70c-7b53-46df-a653-ff141c690f47 X-Archives-Hash: 4f2a76c2d75a89487e13d419861b8958 commit: a88129cec9b0fba20f944fd2510ae52bd3588f83 Author: Christopher Byrne gmail com> AuthorDate: Tue Jun 1 19:24:31 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Jun 22 08:29:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88129ce dev-libs/libtpms: Bump to 0.8.3 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Christopher Byrne gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-libs/libtpms/Manifest | 1 + dev-libs/libtpms/libtpms-0.8.3.ebuild | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest index 93f2642fb36..fa9ee38e060 100644 --- a/dev-libs/libtpms/Manifest +++ b/dev-libs/libtpms/Manifest @@ -1 +1,2 @@ DIST libtpms-0.8.2.tar.gz 1253915 BLAKE2B 48281512f2611376f0f3a67a2646fdc406c2d28bfd560a07b23c122a1b4d68c2840c5cd23f41beae4a13eab419e722aed821cecd919ae6219da325724d55e3b3 SHA512 635f1b30265f1752602caefa1fa87f0032e4d38f1b7113137b7e25a85da10e34f89f9d928b960660e9451306807f111ed96c2a11cbb2de4fb4beb7e638f83727 +DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706 SHA512 07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b diff --git a/dev-libs/libtpms/libtpms-0.8.3.ebuild b/dev-libs/libtpms/libtpms-0.8.3.ebuild new file mode 100644 index 00000000000..d8fb23739da --- /dev/null +++ b/dev-libs/libtpms/libtpms-0.8.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library providing software emultion 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" + +DEPEND="dev-libs/openssl:0=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.0-Remove-WError.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --with-openssl \ + --with-tpm2 +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + 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" +}