1 |
commit: 3987cf30969dab7d8052b88e8b19afed8f5952f2 |
2 |
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 20 01:56:52 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 9 06:08:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3987cf30 |
7 |
|
8 |
app-crypt/tpm2-tools: Bump to 4.3.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-crypt/tpm2-tools/Manifest | 1 + |
15 |
app-crypt/tpm2-tools/tpm2-tools-4.3.1.ebuild | 44 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 45 insertions(+) |
17 |
|
18 |
diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest |
19 |
index 23b297edef5..8981e58caac 100644 |
20 |
--- a/app-crypt/tpm2-tools/Manifest |
21 |
+++ b/app-crypt/tpm2-tools/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST tpm2-tools-4.3.0.tar.gz 881544 BLAKE2B 0415f30845658e84e97a964abebc3082e45fb880c10bec405cd89c7bfa373ace10b669c4af78e7e47f2d2bb62fc7cc34b2e54e392a95c8f9b8956b8c92af6aee SHA512 4e622bbc8642ba7fd93a7343900560fe3779cba03e363d16f391fc8929724a11913d238e3986de06982cbced27c3c2ca8c7e73d75796407b8646c101ccf393a8 |
24 |
+DIST tpm2-tools-4.3.1.tar.gz 891993 BLAKE2B d145fd542952ebbf59bb82640b9ac41cc777dcd8f526683447e3a3fd22fd4c46ab59899418ae52382d88e05418b772afd7f10093c5e0ef4cba685470cf7a7c8e SHA512 0104b6bca9e56ee30c033f3ddb2ab75b683b07ff917b800ff8fde49ce5cdc6d42e5fff63ed3ee9700f656dbf34bca76cee7408c256f1e30d92148c506b0032f2 |
25 |
DIST tpm2-tools-5.0.tar.gz 990855 BLAKE2B 5d39bbef0bc6f0d84f37c64c697260343a9f9e134bce015a6b529176195adb907672f35b85382b0a4785e40e368030ac347083086c3799bdfe86dced1ac69848 SHA512 ea57a28a61e28b78cae7067ff58facd8754fafab7a2689fd93f8b3374073b6ac30301a75f8ff5c654800ab469ee6604d0b8a86c310631b9545b816ecaa05968e |
26 |
|
27 |
diff --git a/app-crypt/tpm2-tools/tpm2-tools-4.3.1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-4.3.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..01663f80cd5 |
30 |
--- /dev/null |
31 |
+++ b/app-crypt/tpm2-tools/tpm2-tools-4.3.1.ebuild |
32 |
@@ -0,0 +1,44 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+DESCRIPTION="Tools for the TPM 2.0 TSS" |
41 |
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" |
42 |
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="+fapi" |
48 |
+ |
49 |
+# Integration test are now run as part of the testing suite, which will fail |
50 |
+# because none of the supported TPM emulators are in Portage. In a future |
51 |
+# version of tpm2-tools, swtpm will be supported and the tests can be run. |
52 |
+RESTRICT="test" |
53 |
+ |
54 |
+RDEPEND="net-misc/curl:= |
55 |
+ >=app-crypt/tpm2-tss-2.4.0:=[fapi?] |
56 |
+ dev-libs/openssl:0=" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND="virtual/pkgconfig |
59 |
+ sys-devel/autoconf-archive" |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}/${PN}-4.3.0-Remove-WError.patch" |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ sed -i \ |
66 |
+ "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ |
67 |
+ "${S}/configure.ac" || die |
68 |
+ eautoreconf |
69 |
+ default |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ econf \ |
74 |
+ $(use_enable fapi) \ |
75 |
+ --enable-hardening |
76 |
+} |