1 |
commit: 2d3830eedbe2d38207d02c355f7d90feaf0ce25b |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 5 18:45:23 2016 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 5 18:45:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3830ee |
7 |
|
8 |
app-crypt/tpm-tools: version bump |
9 |
|
10 |
Bug: 601538 |
11 |
Thanks: Conrad Kostecki |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
|
15 |
app-crypt/tpm-tools/Manifest | 1 + |
16 |
.../tpm-tools/files/tpm-tools-1.3.9-gold.patch | 10 ++++ |
17 |
app-crypt/tpm-tools/tpm-tools-1.3.9.ebuild | 56 ++++++++++++++++++++++ |
18 |
3 files changed, 67 insertions(+) |
19 |
|
20 |
diff --git a/app-crypt/tpm-tools/Manifest b/app-crypt/tpm-tools/Manifest |
21 |
index 91d8e0f..7218765 100644 |
22 |
--- a/app-crypt/tpm-tools/Manifest |
23 |
+++ b/app-crypt/tpm-tools/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST tpm-tools-1.3.8.tar.gz 473339 SHA256 66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83 SHA512 727113625645b01f8e77817d7f1cc6a8bf814f96061754fdfefceb125da4eebbea54804d1fec9e36559ffd61801b318bbc327907a3bdd661f872c32f811c7e74 WHIRLPOOL 201677976c97961a20578f7ca1b4dd0a8a9b105a718c0c67c34b9f1de0c75332532c62389711f732c99edda8fe45639dd3c8293df0a62a11f88ed4c9dc987270 |
26 |
+DIST tpm-tools-1.3.9.tar.gz 484023 SHA256 ea126c5cd2ada56beb5118a141a498053f2d85f56263d215784f0ed86fff4213 SHA512 460e56031aa65ede6b7aebf0c594d4093d870fb46f7c453c429e53cca442d4c7797ac29b519bca28d42133bc6d7701cdf938adbdf11f8be841157d4f4a3e17ca WHIRLPOOL 96760809fb5f2029f51a4051621cb4dd3a39af08d2ecb091619f848d541b2bd1d6f5e9cbd2606fcde2fb55c554cb3baf74c8b58ec29660d95c42bfad178bd96c |
27 |
|
28 |
diff --git a/app-crypt/tpm-tools/files/tpm-tools-1.3.9-gold.patch b/app-crypt/tpm-tools/files/tpm-tools-1.3.9-gold.patch |
29 |
new file mode 100644 |
30 |
index 00000000..1745c69 |
31 |
--- /dev/null |
32 |
+++ b/app-crypt/tpm-tools/files/tpm-tools-1.3.9-gold.patch |
33 |
@@ -0,0 +1,10 @@ |
34 |
+diff --git a/lib/Makefile.am b/lib/Makefile.am |
35 |
+index cef6a2f..d7092a7 100644 |
36 |
+--- a/lib/Makefile.am |
37 |
++++ b/lib/Makefile.am |
38 |
+@@ -80,4 +80,4 @@ endif |
39 |
+ # Unseal library - for addition to existing apps, counter part of seal cmd |
40 |
+ libtpm_unseal_la_SOURCES = tpm_unseal.c |
41 |
+ libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0 |
42 |
+-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la @INTLLIBS@ |
43 |
++libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto @INTLLIBS@ |
44 |
|
45 |
diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.9.ebuild b/app-crypt/tpm-tools/tpm-tools-1.3.9.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000..22944bd |
48 |
--- /dev/null |
49 |
+++ b/app-crypt/tpm-tools/tpm-tools-1.3.9.ebuild |
50 |
@@ -0,0 +1,56 @@ |
51 |
+# Copyright 1999-2016 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+# $Id$ |
54 |
+ |
55 |
+EAPI=6 |
56 |
+ |
57 |
+inherit autotools eutils flag-o-matic |
58 |
+ |
59 |
+DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules" |
60 |
+HOMEPAGE="http://trousers.sourceforge.net" |
61 |
+SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="CPL-1.0" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~sh ~x86" |
66 |
+IUSE="libressl nls pkcs11 debug" |
67 |
+ |
68 |
+COMMON_DEPEND=" |
69 |
+ >=app-crypt/trousers-0.3.0 |
70 |
+ !libressl? ( dev-libs/openssl:0= ) |
71 |
+ libressl? ( dev-libs/libressl:0= ) |
72 |
+ pkcs11? ( dev-libs/opencryptoki ) |
73 |
+ " |
74 |
+RDEPEND="${COMMON_DEPEND} |
75 |
+ nls? ( virtual/libintl )" |
76 |
+DEPEND="${COMMON_DEPEND} |
77 |
+ nls? ( sys-devel/gettext )" |
78 |
+ |
79 |
+PATCHES=( |
80 |
+ "${FILESDIR}/${P}-gold.patch" |
81 |
+) |
82 |
+ |
83 |
+S="${WORKDIR}" |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ default |
87 |
+ |
88 |
+ sed -i -r \ |
89 |
+ -e '/CFLAGS/s/ -m64//' \ |
90 |
+ configure.ac || die |
91 |
+ |
92 |
+ eautoreconf |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ append-cppflags $(usex debug -DDEBUG -DNDEBUG) |
97 |
+ |
98 |
+ econf \ |
99 |
+ $(use_enable nls) \ |
100 |
+ $(use pkcs11 || echo --disable-pkcs11-support) |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ default |
105 |
+ prune_libtool_files |
106 |
+} |