From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- app-crypt/tpm2-pkcs11/Manifest | 4 +- app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild | 52 ------------------------- app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild | 53 ++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 54 deletions(-) delete mode 100644 app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild create mode 100644 app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild (limited to 'app-crypt/tpm2-pkcs11') diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest index 1d30983c8b89..3a54297bc745 100644 --- a/app-crypt/tpm2-pkcs11/Manifest +++ b/app-crypt/tpm2-pkcs11/Manifest @@ -1,3 +1,3 @@ -DIST tpm2-pkcs11-1.2.0.tar.gz 1253641 BLAKE2B e4f673f6cb3b697426f4ba01324939214e74a74edee24a184de860d54d7b8c3f437716245552e06711c258eed88b7556771f2614f3a4dacdec5a986a5c9697d4 SHA512 e7de454b38388c4562fc92282855c1ed9a04c7968c358d6918137257fb5a1ca785c2297e8a34464ea04eed86acd9fc5b59c837027da9d3f195ec86ff0563feeb -EBUILD tpm2-pkcs11-1.2.0.ebuild 1187 BLAKE2B 72e51e7f724db810cb13c967916c64bb8e00cf569d553f0c09922347453a0f6c9f16493a601e31ef7108c634c0ea42073ee4691240cd19c551c1d81df6e7cbd7 SHA512 43547db2fc3a938159daa5e9a9a652ae130967a6ba2f1153753506c71ea652916ea0b38bff886c71ba9a4f676a94c52413e565ccf0219bd3e42fa0de470dd6f0 +DIST tpm2-pkcs11-1.3.1.tar.gz 1256873 BLAKE2B 16bf9c2806fe515cfc31e5885c940774d8d1a04d8a780c8a119db4d9c684e6db3ad3f719fa09d9dc7b6b0fb09212aa4745c53bd7253fd444ebfcb6b8f1dbeb3a SHA512 031b7411c135b2cb3b8f7c38af69a46e65088c4dc1da13ae5c44f92d2a2e293dfe2bea0adc68eb3e64b02b5445f55c353c5c209ecbc977411747fbd429ebdc86 +EBUILD tpm2-pkcs11-1.3.1.ebuild 1228 BLAKE2B fed0bed0fad0b5eb4ad287ab23de0f7387c5a7a6d33ed57259be7f76c196eba9a34d37c1fdb99e13bd7cc394f996bceb28b11f96e96019d929e44a15bc55a517 SHA512 11b8b296353a0de0742537153857f3682659571015e1772dccfeb2b73c157f68c708bbb8b05d3d8c426350e3d008d0e8d657276f240d0bb228da300e910cce48 MISC metadata.xml 370 BLAKE2B eb4d1a4a8e56cbdcb5b7f86029feb6e2151967f7b4801fbb3a8c2de35840969a4987ca2aada95792cb35ab03702715b1f66fe966c176969de743c64775bed0cb SHA512 5a2f5a0089bb0c54dd36821005a65cbe8c4fd05f1d7e0367eaff02031a39c749e005e5432da334081304af8c55b330b549821819455f1f0919d4525a254ca5c6 diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild deleted file mode 100644 index 808767d4003e..000000000000 --- a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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" -} 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 000000000000..59219ad465e6 --- /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 +} -- cgit v1.2.3