1 |
commit: 25b7f1d2dad1b245d17f93c0d56a93d2c764704a |
2 |
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jul 28 14:52:03 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 8 09:04:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b7f1d2 |
7 |
|
8 |
app-crypt/tpm2-pkcs11: Bump to 1.3.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-crypt/tpm2-pkcs11/Manifest | 1 + |
15 |
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild | 53 ++++++++++++++++++++++++++ |
16 |
2 files changed, 54 insertions(+) |
17 |
|
18 |
diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest |
19 |
index 96885032fa9..49b072c4d80 100644 |
20 |
--- a/app-crypt/tpm2-pkcs11/Manifest |
21 |
+++ b/app-crypt/tpm2-pkcs11/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST tpm2-pkcs11-1.3.0.tar.gz 1257620 BLAKE2B 503a84a42f1698d1ae85d70473365bf2a58d4f6b8b4ae12629bbb9178de7f33655780b43d4e32f8489006b8e52dcb5cb8ba2a16844319ea5423ce11e9bb84f1d SHA512 27d48dd78534008ef7254f03673101a27740561bc0ad15dd3972d829d2e4677ed2e30d6cc95c6564ad225eb8652c9876cd9cbfab48a749b6d1576fae1b7a6ce2 |
24 |
+DIST tpm2-pkcs11-1.3.1.tar.gz 1256873 BLAKE2B 16bf9c2806fe515cfc31e5885c940774d8d1a04d8a780c8a119db4d9c684e6db3ad3f719fa09d9dc7b6b0fb09212aa4745c53bd7253fd444ebfcb6b8f1dbeb3a SHA512 031b7411c135b2cb3b8f7c38af69a46e65088c4dc1da13ae5c44f92d2a2e293dfe2bea0adc68eb3e64b02b5445f55c353c5c209ecbc977411747fbd429ebdc86 |
25 |
|
26 |
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..59219ad465e |
29 |
--- /dev/null |
30 |
+++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.1.ebuild |
31 |
@@ -0,0 +1,53 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7,8} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+PYTHON_REQ_USE="sqlite" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="A PKCS#11 interface for TPM2 hardware" |
44 |
+HOMEPAGE="https://tpm2-software.github.io/" |
45 |
+SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+ |
51 |
+# Test requires the IBM TPM simulator that's not in portage |
52 |
+RESTRICT="test" |
53 |
+ |
54 |
+RDEPEND="app-crypt/p11-kit |
55 |
+ app-crypt/tpm2-abrmd |
56 |
+ app-crypt/tpm2-tss |
57 |
+ dev-db/sqlite:3 |
58 |
+ dev-libs/openssl |
59 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
60 |
+ dev-python/pyasn1[${PYTHON_USEDEP}] |
61 |
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}] |
62 |
+ dev-python/pyyaml[${PYTHON_USEDEP}]" |
63 |
+ |
64 |
+DEPEND="${RDEPEND}" |
65 |
+BDEPEND="sys-devel/autoconf-archive |
66 |
+ virtual/pkgconfig" |
67 |
+ |
68 |
+src_configure() { |
69 |
+ default |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ default |
74 |
+ cd "${S}/tools" || die |
75 |
+ BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_compile |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ default |
80 |
+ cd "${S}/tools" || die |
81 |
+ BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_install |
82 |
+ dobin "${S}/tools/tpm2_ptool" |
83 |
+ find "${D}" -name '*.la' -delete || die |
84 |
+} |