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: Tue, 14 Sep 2021 07:39:37
Message-Id: 1631605133.1bf883626df68b27a48424b98c9e77095ab3dfef.juippis@gentoo
1 commit: 1bf883626df68b27a48424b98c9e77095ab3dfef
2 Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Sat Sep 11 01:09:17 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 07:38:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf88362
7
8 dev-libs/libtpms: Remove old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/22272
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 dev-libs/libtpms/Manifest | 1 -
16 dev-libs/libtpms/libtpms-0.8.5.ebuild | 49 -----------------------------------
17 2 files changed, 50 deletions(-)
18
19 diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
20 index a2583854903..5afffbf543e 100644
21 --- a/dev-libs/libtpms/Manifest
22 +++ b/dev-libs/libtpms/Manifest
23 @@ -1,2 +1 @@
24 -DIST libtpms-0.8.5.tar.gz 1255741 BLAKE2B a9960d4f58093f9291ee718c4577138cfd36f637a2911b2bacc3dde68b9def5ab1fd085e38a46b8a57d15f68072e7268a132687f5cc8c593390b1ef986aa0813 SHA512 7f1591b6b655ec99d3737ee41e37e4c0fc05f2e9676463a44c88015b37b2a39291a576e81e394cdf3deac3f1227774c6c60baca445befb24339515773e20b766
25 DIST libtpms-0.8.6.tar.gz 1255964 BLAKE2B 44d9b1f78944ede5842b3cbef09900899f53ba3525e63f09de8263b9c1878a889db80eaf3ba35334a2233334bcb4ebd03d2bb841e4184059f9a155ad4a2aa244 SHA512 d57d52d140d582a6a7d2146aa9a10445c5c50807da53b26f6efbb8632ac83afa3c67e1a47ffa6a898a45cbac3aff199fe61947d69bc5af727e9623564bac45d8
26
27 diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild b/dev-libs/libtpms/libtpms-0.8.5.ebuild
28 deleted file mode 100644
29 index fe5361b4519..00000000000
30 --- a/dev-libs/libtpms/libtpms-0.8.5.ebuild
31 +++ /dev/null
32 @@ -1,49 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -inherit autotools
39 -
40 -DESCRIPTION="Library providing software emultion of a TPM"
41 -HOMEPAGE="https://github.com/stefanberger/libtpms"
42 -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -LICENSE="BSD"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
46 -
47 -DEPEND="dev-libs/openssl:="
48 -RDEPEND="${DEPEND}"
49 -BDEPEND="virtual/pkgconfig"
50 -
51 -PATCHES=(
52 - "${FILESDIR}/${PN}-0.8.0-Remove-WError.patch"
53 -)
54 -
55 -src_prepare() {
56 - default
57 - eautoreconf
58 -}
59 -
60 -src_configure() {
61 - econf \
62 - --disable-static \
63 - --with-openssl \
64 - --with-tpm2
65 -}
66 -
67 -src_install() {
68 - default
69 - find "${ED}" -name '*.la' -delete || die
70 -}
71 -
72 -pkg_postinst() {
73 - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then
74 - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA"
75 - elog "keys due to a flawed key creation algorithm. Because fixing this would render"
76 - elog "existing sealed data inaccessible, to use the corrected algorithm, the old"
77 - elog "TPM state file must be deleted and a new TPM state file created. Data still"
78 - elog "sealed using the old state file will be permanently inaccessible. For the"
79 - elog "details see https://github.com/stefanberger/libtpms/issues/183"
80 - fi
81 -}