public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tools/
Date: Mon,  4 Oct 2021 14:24:16 +0000 (UTC)	[thread overview]
Message-ID: <1633357433.5ce37c8ef4f0c1429d3e1a423bd6a7c4897b38d0.ionen@gentoo> (raw)

commit:     5ce37c8ef4f0c1429d3e1a423bd6a7c4897b38d0
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Tue Sep 28 19:43:23 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 14:23:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce37c8e

app-crypt/tpm2-tools: Bump to 5.2

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-crypt/tpm2-tools/Manifest              |  1 +
 app-crypt/tpm2-tools/tpm2-tools-5.2.ebuild | 67 ++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest
index ec36aa46f00..158898da959 100644
--- a/app-crypt/tpm2-tools/Manifest
+++ b/app-crypt/tpm2-tools/Manifest
@@ -1,2 +1,3 @@
 DIST tpm2-tools-4.3.2.tar.gz 887708 BLAKE2B ee6fe3d0566138d6289d1a91252ccb106d36ff80d55f2d6f9ee30c8e16338d706e80085ac5f4f56a79bcb339e5dcb240efcf71d4003bcffdad366f3cd7a1165b SHA512 1aa47c62c3d2a83195ec649e50c0be2c8be39f926806d8d7cb96edc499c385d527661813e02024e98f83ae9ebcb22d7dadc507ddfab48be9bbe428d9439d7ee1
 DIST tpm2-tools-5.1.1.tar.gz 1044427 BLAKE2B 885ff61ad971c95d067bf8f9339de289f082f3103d1c382f45ac3ffbd4d5effc343ddc3c2c74b97b9d31f3f823d264991d1726c1f9c21d5c9b82ac1cdf714d3f SHA512 4e094dcffb66103773d85e866ab9ba8db5d0f205ff9658e08fe14e8e41250570a7f7274b4048934adf256ea41650fa498fc3d6da2786adc241a4bf2e8f7bf78e
+DIST tpm2-tools-5.2.tar.gz 1072078 BLAKE2B 27d035e0f44029db57477a1fd10e1cee9b470ad54411297985cb7f33ba7bbb7a94ac392815e32287d69abf928dce0c361703542b812ae88b208ddca645bb3be2 SHA512 9fb5dc298717a8a57c89d286e3590370a096c81b14d2d8d4eb5fca140d66148a8e24727ee04fb02057bbfcc3ede50e93ba0ef22396888c9df48bf6f42a5d6e6b

diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.2.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.2.ebuild
new file mode 100644
index 00000000000..87c3b2f5697
--- /dev/null
+++ b/app-crypt/tpm2-tools/tpm2-tools-5.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools bash-completion-r1 python-single-r1
+
+DESCRIPTION="Tools for the TPM 2.0 TSS"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tools"
+SRC_URI="https://github.com/tpm2-software/tpm2-tools/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+fapi test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND=">=app-crypt/tpm2-tss-3.0.1[fapi?]
+	dev-libs/openssl:=
+	net-misc/curl
+	sys-libs/efivar:=
+	${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+	test? (
+		app-crypt/swtpm
+		app-crypt/tpm2-abrmd
+		dev-util/cmocka
+	)"
+BDEPEND="virtual/pkgconfig
+	sys-devel/autoconf-archive
+	test? (
+		app-editors/vim-core
+		dev-tcltk/expect
+		$(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
+	)
+	${PYTHON_DEPS}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-5.1.1-no-efivar-automagic.patch"
+)
+
+src_prepare() {
+	default
+	sed -i \
+	"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \
+		"configure.ac" || die
+	"./scripts/utils/man_to_bashcompletion.sh" || die
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable fapi) \
+		$(use_enable test unit) \
+		--with-bashcompdir=$(get_bashcompdir) \
+		--enable-hardening
+}
+
+src_install() {
+	default
+	mv "${ED}"/$(get_bashcompdir)/tpm2{_completion.bash,} || die
+	local utils=( "${ED}"/usr/bin/tpm2_* )
+	bashcomp_alias tpm2 "${utils[@]##*/}"
+}


             reply	other threads:[~2021-10-04 14:24 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 14:24 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07  6:24 [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tools/ Sam James
2024-10-02  1:22 Sam James
2024-09-21 19:21 Sam James
2024-07-29  6:22 Joonas Niilola
2024-07-29  6:15 Joonas Niilola
2024-07-29  0:32 Sam James
2024-07-29  0:32 Sam James
2024-07-28 23:58 Jakov Smolić
2024-05-07 10:29 Sam James
2024-05-07 10:29 Sam James
2024-05-07  5:53 Joonas Niilola
2024-05-07  5:53 Joonas Niilola
2024-05-05 11:36 Sam James
2024-05-05 11:36 Sam James
2024-04-16  2:34 Sam James
2024-01-20 13:33 Sam James
2023-09-09 13:17 David Seifert
2023-04-05 20:16 Sam James
2023-04-05 20:16 Sam James
2023-04-05 20:16 Sam James
2023-04-05 20:03 Sam James
2023-04-05 20:03 Sam James
2023-03-15 17:07 Arthur Zamarin
2023-03-15 17:07 Arthur Zamarin
2023-03-15 17:05 Arthur Zamarin
2023-02-20 13:50 Sam James
2023-02-20 13:50 Sam James
2023-02-16  5:08 Sam James
2023-02-16  5:08 Sam James
2023-02-16  5:08 Sam James
2023-02-16  5:08 Sam James
2022-12-21 23:37 Sam James
2022-09-28  0:09 Sam James
2022-09-27 21:44 Sam James
2022-07-15  5:39 Joonas Niilola
2022-07-14 19:37 Arthur Zamarin
2022-07-14 19:37 Arthur Zamarin
2022-07-14 19:37 Arthur Zamarin
2022-07-14 19:37 Arthur Zamarin
2022-04-23 21:34 Sam James
2022-04-23 21:34 Sam James
2022-04-23 21:34 Sam James
2021-12-13 18:28 Arthur Zamarin
2021-12-13  0:06 Sam James
2021-12-13  0:06 Sam James
2021-09-24  7:46 Joonas Niilola
2021-09-24  7:46 Joonas Niilola
2021-09-08  6:46 Sam James
2021-09-08  6:46 Sam James
2021-07-15  2:23 Ionen Wolkens
2021-07-14  6:25 Joonas Niilola
2021-06-21 22:44 Sam James
2021-06-21 22:44 Sam James
2021-06-21 22:44 Sam James
2021-06-21 22:44 Sam James
2021-06-09  6:08 Joonas Niilola
2021-06-09  6:08 Joonas Niilola
2021-05-02 16:40 Mikle Kolyada
2021-04-25  8:00 Michał Górny
2021-01-20 14:13 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2020-11-20 11:45 Joonas Niilola
2020-10-08  6:57 Joonas Niilola
2020-08-23 11:48 David Seifert
2020-02-26 16:17 Joonas Niilola
2019-05-30 23:46 Alon Bar-Lev
2018-12-30 21:00 Alon Bar-Lev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1633357433.5ce37c8ef4f0c1429d3e1a423bd6a7c4897b38d0.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox