1 |
commit: 3cd3fa3e139cf893ec5037398b851a519337bcbb |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 30 20:51:10 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 30 20:58:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd3fa3e |
7 |
|
8 |
app-crypt/tpm2-tools: initial add |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=634304 |
11 |
Thanks: Alex Guzman |
12 |
Thanks: Sebastian Hamann |
13 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
15 |
|
16 |
app-crypt/tpm2-tools/Manifest | 1 + |
17 |
app-crypt/tpm2-tools/metadata.xml | 11 +++++++++++ |
18 |
app-crypt/tpm2-tools/tpm2-tools-3.1.3.ebuild | 27 +++++++++++++++++++++++++++ |
19 |
3 files changed, 39 insertions(+) |
20 |
|
21 |
diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..7b96fcbbc30 |
24 |
--- /dev/null |
25 |
+++ b/app-crypt/tpm2-tools/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST tpm2-tools-3.1.3.tar.gz 544098 BLAKE2B 4c22ae98ed444b7d5b5f99e6a7d4cc37fcf9d46979669a2225b6f2abf8ccaaff203ccc8c816169be215c6160ce2480e4c9a0197040764013ab362dd060c29bec SHA512 37edf59e47168c42ffc66e948722753334ae3e00f3e258d9e801dffd259a763a1bf4f63b3feecf7728b4dade69ca5da15d631e1a606f68e10f7d314a1a757bdc |
28 |
|
29 |
diff --git a/app-crypt/tpm2-tools/metadata.xml b/app-crypt/tpm2-tools/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..a1035736860 |
32 |
--- /dev/null |
33 |
+++ b/app-crypt/tpm2-tools/metadata.xml |
34 |
@@ -0,0 +1,11 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="project"> |
39 |
+ <email>crypto@g.o</email> |
40 |
+ <name>Crypto</name> |
41 |
+ </maintainer> |
42 |
+ <upstream> |
43 |
+ <remote-id type="github">tpm2-software/tpm2-tools</remote-id> |
44 |
+ </upstream> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/app-crypt/tpm2-tools/tpm2-tools-3.1.3.ebuild b/app-crypt/tpm2-tools/tpm2-tools-3.1.3.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..a23c0b4d9a6 |
50 |
--- /dev/null |
51 |
+++ b/app-crypt/tpm2-tools/tpm2-tools-3.1.3.ebuild |
52 |
@@ -0,0 +1,27 @@ |
53 |
+# Copyright 1999-2018 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=7 |
57 |
+ |
58 |
+DESCRIPTION="Tools for the TPM 2.0 TSS" |
59 |
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" |
60 |
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
61 |
+ |
62 |
+LICENSE="BSD" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64" |
65 |
+IUSE="libressl test" |
66 |
+ |
67 |
+RDEPEND=">=app-crypt/tpm2-tss-2.0 |
68 |
+ net-misc/curl |
69 |
+ !libressl? ( dev-libs/openssl:0= ) |
70 |
+ libressl? ( dev-libs/libressl:0= )" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ test? ( dev-util/cmocka )" |
73 |
+BDEPEND="virtual/pkgconfig" |
74 |
+ |
75 |
+src_configure() { |
76 |
+ econf \ |
77 |
+ --disable-hardening \ |
78 |
+ $(use_enable test unit) |
79 |
+} |