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 43DE2138359 for ; Sat, 8 Aug 2020 09:04:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 921A6E0B67; Sat, 8 Aug 2020 09:04:40 +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 7951DE0B6F for ; Sat, 8 Aug 2020 09:04:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3744134F528 for ; Sat, 8 Aug 2020 09:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F036315 for ; Sat, 8 Aug 2020 09:04:35 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1596877445.25b7f1d2dad1b245d17f93c0d56a93d2c764704a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/tpm2-pkcs11/Manifest app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild X-VCS-Directories: app-crypt/tpm2-pkcs11/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 25b7f1d2dad1b245d17f93c0d56a93d2c764704a X-VCS-Branch: master Date: Sat, 8 Aug 2020 09:04:35 +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: 38b3d327-c384-4b61-8d39-fe8cf907b4eb X-Archives-Hash: 25359a7aa235c85863eadb2a5458e307 commit: 25b7f1d2dad1b245d17f93c0d56a93d2c764704a Author: Salah Coronya gmail com> AuthorDate: Tue Jul 28 14:52:03 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Aug 8 09:04:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b7f1d2 app-crypt/tpm2-pkcs11: Bump to 1.3.1 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Salah Coronya gmail.com> Signed-off-by: Joonas Niilola gentoo.org> app-crypt/tpm2-pkcs11/Manifest | 1 + app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild | 53 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest index 96885032fa9..49b072c4d80 100644 --- a/app-crypt/tpm2-pkcs11/Manifest +++ b/app-crypt/tpm2-pkcs11/Manifest @@ -1 +1,2 @@ DIST tpm2-pkcs11-1.3.0.tar.gz 1257620 BLAKE2B 503a84a42f1698d1ae85d70473365bf2a58d4f6b8b4ae12629bbb9178de7f33655780b43d4e32f8489006b8e52dcb5cb8ba2a16844319ea5423ce11e9bb84f1d SHA512 27d48dd78534008ef7254f03673101a27740561bc0ad15dd3972d829d2e4677ed2e30d6cc95c6564ad225eb8652c9876cd9cbfab48a749b6d1576fae1b7a6ce2 +DIST tpm2-pkcs11-1.3.1.tar.gz 1256873 BLAKE2B 16bf9c2806fe515cfc31e5885c940774d8d1a04d8a780c8a119db4d9c684e6db3ad3f719fa09d9dc7b6b0fb09212aa4745c53bd7253fd444ebfcb6b8f1dbeb3a SHA512 031b7411c135b2cb3b8f7c38af69a46e65088c4dc1da13ae5c44f92d2a2e293dfe2bea0adc68eb3e64b02b5445f55c353c5c209ecbc977411747fbd429ebdc86 diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild new file mode 100644 index 00000000000..59219ad465e --- /dev/null +++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="A PKCS#11 interface for TPM2 hardware" +HOMEPAGE="https://tpm2-software.github.io/" +SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +# Test requires the IBM TPM simulator that's not in portage +RESTRICT="test" + +RDEPEND="app-crypt/p11-kit + app-crypt/tpm2-abrmd + app-crypt/tpm2-tss + dev-db/sqlite:3 + dev-libs/openssl + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/autoconf-archive + virtual/pkgconfig" + +src_configure() { + default +} + +src_compile() { + default + cd "${S}/tools" || die + BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_compile +} + +src_install() { + default + cd "${S}/tools" || die + BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_install + dobin "${S}/tools/tpm2_ptool" + find "${D}" -name '*.la' -delete || die +}