Gentoo Archives: gentoo-commits

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