1 |
commit: 1ef5efaff6c4d1153bb266230116c2ff796953cd |
2 |
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 20 02:06:06 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 26 16:17:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef5efaf |
7 |
|
8 |
app-crypt/tpm2-tss: Bump version to 2.3.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
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-tss/Manifest | 1 + |
15 |
app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild | 56 ++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 57 insertions(+) |
17 |
|
18 |
diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest |
19 |
index 533d36c8bbe..ac16812b25a 100644 |
20 |
--- a/app-crypt/tpm2-tss/Manifest |
21 |
+++ b/app-crypt/tpm2-tss/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST tpm2-tss-2.2.3.tar.gz 912179 BLAKE2B 36b2a462512822dccb3adab605ea9922132f027455a1d2895b6735f6200fe44f08288477c99afd0f6c06b4bff3090104b6412b12ea4a518888cf756fb8ee53c4 SHA512 68087cbf2b7acc33788e90b3825bf2c91faa65cfc04b576790634c88876a8a6930d6943f83b7cf0858e37e5e7307703d0c975b9fc0b0ad1d87f66c74b65bd411 |
24 |
+DIST tpm2-tss-2.3.2.tar.gz 1087241 BLAKE2B cccefc0635ba141b2e54025da064e6328b3c4c74b4b11a25f2230e0e499e235eea67f6df8d1a6cb011c53ce23978827cb4c633e631540bfca88b85d6c8762ed7 SHA512 7b679b54f3478c3adee5b6c3135cbe491ffd9f4712991f465edbd6c7d2831e5f1537038ec36f288e9545c719d5d167b61116c924cf5d816220615d0b58a1d436 |
25 |
|
26 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0a32297970f |
29 |
--- /dev/null |
30 |
+++ b/app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit linux-info udev |
38 |
+ |
39 |
+DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
40 |
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
41 |
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0/0" # sublot is libtss2-sys number |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="doc +gcrypt openssl static-libs test" |
47 |
+ |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+REQUIRED_USE=" |
51 |
+ gcrypt? ( !openssl ) |
52 |
+ openssl? ( !gcrypt ) |
53 |
+ || ( gcrypt openssl )" |
54 |
+ |
55 |
+RDEPEND="acct-group/tss |
56 |
+ acct-user/tss |
57 |
+ gcrypt? ( dev-libs/libgcrypt:0= ) |
58 |
+ openssl? ( dev-libs/openssl:0= )" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ test? ( dev-util/cmocka )" |
61 |
+BDEPEND="virtual/pkgconfig |
62 |
+ doc? ( app-doc/doxygen )" |
63 |
+ |
64 |
+pkg_setup() { |
65 |
+ local CONFIG_CHECK=" \ |
66 |
+ ~TCG_TPM |
67 |
+ " |
68 |
+ linux-info_pkg_setup |
69 |
+ kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ econf \ |
74 |
+ $(use_enable doc doxygen-doc) \ |
75 |
+ $(use_enable static-libs static) \ |
76 |
+ $(use_enable test unit) \ |
77 |
+ --disable-defaultflags \ |
78 |
+ --disable-weakcrypto \ |
79 |
+ --with-crypto="$(usex gcrypt gcrypt ossl)" \ |
80 |
+ --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
81 |
+ --with-udevrulesprefix=60- |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ default |
86 |
+ find "${D}" -name '*.la' -delete || die |
87 |
+} |