1 |
commit: 51cc231f083c6c97e828d4acfd81e77b77eb350b |
2 |
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Nov 24 19:59:51 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 28 00:19:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51cc231f |
7 |
|
8 |
dev-libs/libtpms: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/23069 |
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
dev-libs/libtpms/Manifest | 2 -- |
16 |
dev-libs/libtpms/libtpms-0.8.7.ebuild | 47 ----------------------------------- |
17 |
dev-libs/libtpms/libtpms-0.9.0.ebuild | 47 ----------------------------------- |
18 |
3 files changed, 96 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest |
21 |
index 88784e0d2704..04de1f7e43a9 100644 |
22 |
--- a/dev-libs/libtpms/Manifest |
23 |
+++ b/dev-libs/libtpms/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223 SHA512 061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4 |
26 |
-DIST libtpms-0.9.0.tar.gz 1261212 BLAKE2B 06b065c47bd151cc0001bfffb8aa54aa6d7ef81340f244fb235958bf5801df0fe8cb8a62c51168284e40f34d1a467b4456862087f35f6ac256dcc5e2d12527c5 SHA512 8e9c9e3d1c0c2fb0de3a40b1a84e866e0de662cd00b3bf75dbe01c35d6558a0b325b9c91508d80eeb2bc5162b1413cc624a1f0de1876b9ebe4573cb6343c8287 |
27 |
DIST libtpms-0.9.1.tar.gz 1261528 BLAKE2B 8a81fbea7dff44fe55da048f5121511c22ce264aaa64778ec28b6e55be64677f46f8266bed9edaeb57605ccede755ddfa7463a10e8fc806a86ea09d7a1f9283e SHA512 15ae14bca4ac24391ba06accae37d7e914e410ac9dc1aeae0743295371c9a0e0851f191c55bffb765cb731e8d397188be6441d2b6c1f5011b56a354428c4dad1 |
28 |
|
29 |
diff --git a/dev-libs/libtpms/libtpms-0.8.7.ebuild b/dev-libs/libtpms/libtpms-0.8.7.ebuild |
30 |
deleted file mode 100644 |
31 |
index 3e913f4e034d..000000000000 |
32 |
--- a/dev-libs/libtpms/libtpms-0.8.7.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,47 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=8 |
39 |
- |
40 |
-inherit autotools |
41 |
- |
42 |
-DESCRIPTION="Library providing software emultion of a TPM" |
43 |
-HOMEPAGE="https://github.com/stefanberger/libtpms" |
44 |
-SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
-LICENSE="BSD" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
48 |
- |
49 |
-DEPEND="dev-libs/openssl:=" |
50 |
-RDEPEND="${DEPEND}" |
51 |
-BDEPEND="virtual/pkgconfig" |
52 |
- |
53 |
-PATCHES=( |
54 |
- "${FILESDIR}/${PN}-0.8.7-Remove-WError.patch" |
55 |
-) |
56 |
- |
57 |
-src_prepare() { |
58 |
- default |
59 |
- eautoreconf |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- econf \ |
64 |
- --with-openssl |
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 |
-} |
82 |
|
83 |
diff --git a/dev-libs/libtpms/libtpms-0.9.0.ebuild b/dev-libs/libtpms/libtpms-0.9.0.ebuild |
84 |
deleted file mode 100644 |
85 |
index 0eed7e6454dd..000000000000 |
86 |
--- a/dev-libs/libtpms/libtpms-0.9.0.ebuild |
87 |
+++ /dev/null |
88 |
@@ -1,47 +0,0 @@ |
89 |
-# Copyright 1999-2021 Gentoo Authors |
90 |
-# Distributed under the terms of the GNU General Public License v2 |
91 |
- |
92 |
-EAPI=8 |
93 |
- |
94 |
-inherit autotools |
95 |
- |
96 |
-DESCRIPTION="Library providing software emultion of a TPM" |
97 |
-HOMEPAGE="https://github.com/stefanberger/libtpms" |
98 |
-SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
99 |
-LICENSE="BSD" |
100 |
-SLOT="0" |
101 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
102 |
- |
103 |
-DEPEND="dev-libs/openssl:=" |
104 |
-RDEPEND="${DEPEND}" |
105 |
-BDEPEND="virtual/pkgconfig" |
106 |
- |
107 |
-PATCHES=( |
108 |
- "${FILESDIR}/${PN}-0.9.0-Remove-WError.patch" |
109 |
-) |
110 |
- |
111 |
-src_prepare() { |
112 |
- default |
113 |
- eautoreconf |
114 |
-} |
115 |
- |
116 |
-src_configure() { |
117 |
- econf \ |
118 |
- --with-openssl |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- default |
123 |
- find "${ED}" -name '*.la' -delete || die |
124 |
-} |
125 |
- |
126 |
-pkg_postinst() { |
127 |
- if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then |
128 |
- elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" |
129 |
- elog "keys due to a flawed key creation algorithm. Because fixing this would render" |
130 |
- elog "existing sealed data inaccessible, to use the corrected algorithm, the old" |
131 |
- elog "TPM state file must be deleted and a new TPM state file created. Data still" |
132 |
- elog "sealed using the old state file will be permanently inaccessible. For the" |
133 |
- elog "details see https://github.com/stefanberger/libtpms/issues/183" |
134 |
- fi |
135 |
-} |