summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2015-12-23 14:23:23 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2015-12-23 15:49:29 +0200
commitc2dfada84930cf30ec284f2be6e37941178154be (patch)
tree70de9d66a6ab1d296275a94388b1b43bbc954c2a /app-crypt
parentapp-crypt/hmaccalc: version bump (diff)
downloadgentoo-c2dfada84930cf30ec284f2be6e37941178154be.tar.gz
gentoo-c2dfada84930cf30ec284f2be6e37941178154be.tar.bz2
gentoo-c2dfada84930cf30ec284f2be6e37941178154be.zip
app-crypt/openssl-tpm-engine: version bump
Package-Manager: portage-2.2.24
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/openssl-tpm-engine/Manifest1
-rw-r--r--app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.4.2-build.patch10
-rw-r--r--app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild33
3 files changed, 44 insertions, 0 deletions
diff --git a/app-crypt/openssl-tpm-engine/Manifest b/app-crypt/openssl-tpm-engine/Manifest
index 73f7b0a8a84..66bf0d2cc1d 100644
--- a/app-crypt/openssl-tpm-engine/Manifest
+++ b/app-crypt/openssl-tpm-engine/Manifest
@@ -1 +1,2 @@
DIST openssl_tpm_engine-0.4.1.tar.gz 648249 SHA256 01d1244f1985d5ba1720a64d04de9080acd9b1c08cc04a2f1b7beb6850deae67 SHA512 5904f268cb3ecf2243ed87d4813597418b8df27bf3dc20ba2af4b30c2fd946584581fb108eee490649700fc1d491a439e5bbc1514aa6b44ce2bed75b289c7485 WHIRLPOOL d0e59c85276657f421d650a387f57541f9e4f0b67805d6181417670763ca9e5dbbbcfc0c64f83411960b20dd143c6f1d43e775994f34826037c711b2231eb4d6
+DIST openssl_tpm_engine-0.4.2.tar.gz 528196 SHA256 2df697e583053f7047a89daa4585e21fc67cf4397ee34ece94cf2d4b4f7ab49c SHA512 376f2aa87ab10d4a77bcc363865238a19e6dfcd548eb1f0780ee223d57d90ebfe7046308757836b76e7f33f4c30f98c0d82126b5e0e0534ec57087384e584f95 WHIRLPOOL 0b3daeda9ef8c52e472905d3f85dc3dd78220a6e1bbf59b5f7fb4d4231f64d6fca189b75fb00c391d130bff3ae5a7e0adf43059eddaf8a1fe93d80a6510dbee3
diff --git a/app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.4.2-build.patch b/app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.4.2-build.patch
new file mode 100644
index 00000000000..ed32ced1b3e
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.4.2-build.patch
@@ -0,0 +1,10 @@
+diff --git a/Makefile.am b/Makefile.am
+index 6695656..4932fae 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,4 +10,4 @@ libtpm_la_LIBADD=-lcrypto -lc -ltspi
+ libtpm_la_SOURCES=e_tpm.c e_tpm.h e_tpm_err.c
+
+ create_tpm_key_SOURCES=create_tpm_key.c
+-create_tpm_key_LDADD=-ltspi
++create_tpm_key_LDADD=-lcrypto -ltspi
diff --git a/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild b/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild
new file mode 100644
index 00000000000..6f99d19ef34
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+MY_P="${P/-tpm-/_tpm_}"
+
+DESCRIPTION="This provides a OpenSSL engine that uses private keys stored in TPM hardware"
+HOMEPAGE="http://trousers.sourceforge.net"
+SRC_URI="mirror://sourceforge/trousers/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RDEPEND=">=dev-libs/openssl-0.9.8:*
+ >=app-crypt/trousers-0.2.8"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ mv configure.in configure.ac || die
+ epatch "${FILESDIR}/${P}-build.patch"
+ eautoreconf
+}
+
+src_install() {
+ default
+ dodoc openssl.cnf.sample
+}