From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5ABE13835A for ; Mon, 21 Jun 2021 22:44:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C7B7E083B; Mon, 21 Jun 2021 22:44:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5742FE0831 for ; Mon, 21 Jun 2021 22:44:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C48B335CD6 for ; Mon, 21 Jun 2021 22:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7591B235 for ; Mon, 21 Jun 2021 22:44:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1624315456.ee71fdfe9cc9631baacab3bcb5fa47ae2ef13247.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/tpm2-tools/Manifest app-crypt/tpm2-tools/tpm2-tools-4.3.2.ebuild X-VCS-Directories: app-crypt/tpm2-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ee71fdfe9cc9631baacab3bcb5fa47ae2ef13247 X-VCS-Branch: master Date: Mon, 21 Jun 2021 22:44:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 94ad24f8-f36f-48b1-83f7-d5c46c63c981 X-Archives-Hash: 75fb9c8a96279b93d3671b4d45d29d84 commit: ee71fdfe9cc9631baacab3bcb5fa47ae2ef13247 Author: Christopher Byrne gmail com> AuthorDate: Mon Jun 21 15:13:47 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 21 22:44:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee71fdfe app-crypt/tpm2-tools: Bump to 4.3.2 Bug: https://bugs.gentoo.org/793764 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Christopher Byrne gmail.com> Signed-off-by: Sam James gentoo.org> app-crypt/tpm2-tools/Manifest | 1 + app-crypt/tpm2-tools/tpm2-tools-4.3.2.ebuild | 44 ++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest index 68a29fc9545..76c86194481 100644 --- a/app-crypt/tpm2-tools/Manifest +++ b/app-crypt/tpm2-tools/Manifest @@ -1,2 +1,3 @@ DIST tpm2-tools-4.3.1.tar.gz 891993 BLAKE2B d145fd542952ebbf59bb82640b9ac41cc777dcd8f526683447e3a3fd22fd4c46ab59899418ae52382d88e05418b772afd7f10093c5e0ef4cba685470cf7a7c8e SHA512 0104b6bca9e56ee30c033f3ddb2ab75b683b07ff917b800ff8fde49ce5cdc6d42e5fff63ed3ee9700f656dbf34bca76cee7408c256f1e30d92148c506b0032f2 +DIST tpm2-tools-4.3.2.tar.gz 887708 BLAKE2B ee6fe3d0566138d6289d1a91252ccb106d36ff80d55f2d6f9ee30c8e16338d706e80085ac5f4f56a79bcb339e5dcb240efcf71d4003bcffdad366f3cd7a1165b SHA512 1aa47c62c3d2a83195ec649e50c0be2c8be39f926806d8d7cb96edc499c385d527661813e02024e98f83ae9ebcb22d7dadc507ddfab48be9bbe428d9439d7ee1 DIST tpm2-tools-5.0.tar.gz 990855 BLAKE2B 5d39bbef0bc6f0d84f37c64c697260343a9f9e134bce015a6b529176195adb907672f35b85382b0a4785e40e368030ac347083086c3799bdfe86dced1ac69848 SHA512 ea57a28a61e28b78cae7067ff58facd8754fafab7a2689fd93f8b3374073b6ac30301a75f8ff5c654800ab469ee6604d0b8a86c310631b9545b816ecaa05968e diff --git a/app-crypt/tpm2-tools/tpm2-tools-4.3.2.ebuild b/app-crypt/tpm2-tools/tpm2-tools-4.3.2.ebuild new file mode 100644 index 00000000000..01663f80cd5 --- /dev/null +++ b/app-crypt/tpm2-tools/tpm2-tools-4.3.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Tools for the TPM 2.0 TSS" +HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+fapi" + +# Integration test are now run as part of the testing suite, which will fail +# because none of the supported TPM emulators are in Portage. In a future +# version of tpm2-tools, swtpm will be supported and the tests can be run. +RESTRICT="test" + +RDEPEND="net-misc/curl:= + >=app-crypt/tpm2-tss-2.4.0:=[fapi?] + dev-libs/openssl:0=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + sys-devel/autoconf-archive" +PATCHES=( + "${FILESDIR}/${PN}-4.3.0-Remove-WError.patch" +) + +src_prepare() { + sed -i \ + "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ + "${S}/configure.ac" || die + eautoreconf + default +} + +src_configure() { + econf \ + $(use_enable fapi) \ + --enable-hardening +}