From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/
Date: Sat, 4 Sep 2021 06:26:43 +0000 (UTC) [thread overview]
Message-ID: <1630735501.95b07883ea66954424ef4bbc5b94cbbff9f6913c.juippis@gentoo> (raw)
commit: 95b07883ea66954424ef4bbc5b94cbbff9f6913c
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Thu Sep 2 18:35:13 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Sep 4 06:05:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b07883
dev-libs/libtpms: Bump to 0.8.5
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/libtpms/Manifest | 1 +
dev-libs/libtpms/libtpms-0.8.5.ebuild | 48 +++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 06243131e7d..dcf7baba26f 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1,3 @@
DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706 SHA512 07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b
DIST libtpms-0.8.4.tar.gz 1255255 BLAKE2B 0786b19dc8f3226508548ab16544ee8ac05e8d9de057eed840a0cb7577c1d1386d83af1a725ec91e64344e2459f9d4836268e2c9a097136cf76d59ea8e23b0c8 SHA512 58244a774cb6ec5dcbbc2d795628fca9eb64936874c72b169ea8288f2bf0cafa8127b1e89ed3ddbf5694df5a5944a7d61254dc729d75b63b3e4f9346b2f0a7b5
+DIST libtpms-0.8.5.tar.gz 1255741 BLAKE2B a9960d4f58093f9291ee718c4577138cfd36f637a2911b2bacc3dde68b9def5ab1fd085e38a46b8a57d15f68072e7268a132687f5cc8c593390b1ef986aa0813 SHA512 7f1591b6b655ec99d3737ee41e37e4c0fc05f2e9676463a44c88015b37b2a39291a576e81e394cdf3deac3f1227774c6c60baca445befb24339515773e20b766
diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild b/dev-libs/libtpms/libtpms-0.8.5.ebuild
new file mode 100644
index 00000000000..72093b56297
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.8.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm64 ~ppc ~ppc64"
+
+DEPEND="dev-libs/openssl:="
+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 "${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
+}
next reply other threads:[~2021-09-04 6:26 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-04 6:26 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-26 19:11 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/ Arthur Zamarin
2025-04-26 10:57 Sam James
2025-04-26 6:09 Arthur Zamarin
2025-04-26 4:11 Sam James
2025-02-22 8:02 Ulrich Müller
2025-01-06 4:16 Sam James
2025-01-06 3:35 Sam James
2025-01-06 3:32 Sam James
2025-01-06 3:28 Sam James
2025-01-06 3:24 Sam James
2025-01-06 3:24 Sam James
2023-04-19 4:29 John Helmert III
2023-03-30 17:17 Arthur Zamarin
2023-03-17 11:44 Arthur Zamarin
2023-03-17 11:38 Arthur Zamarin
2023-03-17 9:04 Arthur Zamarin
2023-03-11 17:15 Sam James
2023-02-20 14:47 Arthur Zamarin
2023-02-20 13:50 Sam James
2023-02-20 13:50 Sam James
2023-02-20 9:39 Joonas Niilola
2022-07-09 12:26 Matthew Smith
2022-05-20 9:17 Agostino Sarubbo
2022-05-19 9:27 Agostino Sarubbo
2022-05-17 12:38 Agostino Sarubbo
2022-05-17 12:37 Agostino Sarubbo
2022-05-17 9:59 Agostino Sarubbo
2022-04-27 10:19 Joonas Niilola
2022-04-27 10:19 Joonas Niilola
2022-03-11 0:04 Ionen Wolkens
2022-03-11 0:04 Ionen Wolkens
2022-03-10 6:48 Yixun Lan
2021-11-28 0:20 Ionen Wolkens
2021-11-28 0:20 Ionen Wolkens
2021-09-14 7:39 Joonas Niilola
2021-09-14 7:39 Joonas Niilola
2021-09-13 6:33 Joonas Niilola
2021-09-08 1:25 Sam James
2021-09-04 6:26 Joonas Niilola
2021-09-04 6:26 Joonas Niilola
2021-07-24 15:22 Sam James
2021-07-15 6:01 Ionen Wolkens
2021-07-12 21:59 Sam James
2021-07-06 17:59 Sam James
2021-06-27 17:29 Matthias Maier
2021-06-22 9:02 Joonas Niilola
2021-06-22 9:02 Joonas Niilola
2021-05-01 7:37 Mikle Kolyada
2021-04-25 8:00 Michał Górny
2020-11-01 6:14 Joonas Niilola
2020-11-01 6:14 Joonas Niilola
2020-10-08 6:57 Joonas Niilola
2020-08-05 12:19 Joonas Niilola
2020-08-05 12:19 Joonas Niilola
2020-06-24 15:58 Joonas Niilola
2020-02-19 13:32 Joonas Niilola
2020-02-19 13:32 Joonas Niilola
2019-08-02 11:25 Joonas Niilola
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=1630735501.95b07883ea66954424ef4bbc5b94cbbff9f6913c.juippis@gentoo \
--to=juippis@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