Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/
Date: Wed, 27 Apr 2022 10:19:22
Message-Id: 1651052492.3f2ed76012951719bfa73216b6a56c68a6fa079e.juippis@gentoo
1 commit: 3f2ed76012951719bfa73216b6a56c68a6fa079e
2 Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Mon Apr 25 21:22:35 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 09:41:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2ed760
7
8 dev-libs/libtpms: drop 0.9.3
9
10 Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/25203
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-libs/libtpms/Manifest | 1 -
15 dev-libs/libtpms/libtpms-0.9.3.ebuild | 47 -----------------------------------
16 2 files changed, 48 deletions(-)
17
18 diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
19 index 1daa4b399f98..a74cf7c93759 100644
20 --- a/dev-libs/libtpms/Manifest
21 +++ b/dev-libs/libtpms/Manifest
22 @@ -1,2 +1 @@
23 -DIST libtpms-0.9.3.tar.gz 1263192 BLAKE2B a58cc2f76775f0a0a266cf6da898d6c8e310998c201dc47a802d67fc07dbe1632a68e81b78da68a6350e1d64727c7b47154479b4d9bc19a55324a2d881cad94f SHA512 8616c712f958c28a415b0a97a3a24f439f757682c4b60642584eb13e4ab2d7895838e8e6e57936ff583259506f9b379ec47c76d5780c1b257f25513a5911c3cb
24 DIST libtpms-0.9.4.tar.gz 1264030 BLAKE2B 56731b913145afcd49fae13f0fcbe4fc147edf206a44849cef45ed34a7644f0894bb6ab5dcb72d620eb1ab121bf4e821fe7893557508af394585171133d659e2 SHA512 ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505
25
26 diff --git a/dev-libs/libtpms/libtpms-0.9.3.ebuild b/dev-libs/libtpms/libtpms-0.9.3.ebuild
27 deleted file mode 100644
28 index fc15af9bf0f4..000000000000
29 --- a/dev-libs/libtpms/libtpms-0.9.3.ebuild
30 +++ /dev/null
31 @@ -1,47 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -inherit autotools
38 -
39 -DESCRIPTION="Library providing software emultion of a TPM"
40 -HOMEPAGE="https://github.com/stefanberger/libtpms"
41 -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -LICENSE="BSD"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
45 -
46 -DEPEND="dev-libs/openssl:="
47 -RDEPEND="${DEPEND}"
48 -BDEPEND="virtual/pkgconfig"
49 -
50 -PATCHES=(
51 - "${FILESDIR}/${PN}-0.9.0-Remove-WError.patch"
52 -)
53 -
54 -src_prepare() {
55 - default
56 - eautoreconf
57 -}
58 -
59 -src_configure() {
60 - econf \
61 - --with-openssl
62 -}
63 -
64 -src_install() {
65 - default
66 - find "${ED}" -name '*.la' -delete || die
67 -}
68 -
69 -pkg_postinst() {
70 - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then
71 - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA"
72 - elog "keys due to a flawed key creation algorithm. Because fixing this would render"
73 - elog "existing sealed data inaccessible, to use the corrected algorithm, the old"
74 - elog "TPM state file must be deleted and a new TPM state file created. Data still"
75 - elog "sealed using the old state file will be permanently inaccessible. For the"
76 - elog "details see https://github.com/stefanberger/libtpms/issues/183"
77 - fi
78 -}