app-crypt/simple-tpm-pk11: bump to 0.04
authorJason Zaman <perfinion@gentoo.org>
Sat, 17 Oct 2015 16:26:03 +0000 (00:26 +0800)
committerJason Zaman <perfinion@gentoo.org>
Sat, 17 Oct 2015 16:26:23 +0000 (00:26 +0800)
Package-Manager: portage-2.2.20.1

app-crypt/simple-tpm-pk11/Manifest
app-crypt/simple-tpm-pk11/simple-tpm-pk11-0.04.ebuild [new file with mode: 0644]

index 64a81b1283523b57d5bf1d74841240f025c3b17f..7e8c525e50474a9647c6074bbcb1f3086b41ed90 100644 (file)
@@ -1 +1,2 @@
 DIST simple-tpm-pk11-0.03.tar.gz 25238 SHA256 0059064cb29900f0db8ce6163ef6aee17b2dcd095613c813dd53ad7f597bf141 SHA512 ed8a1d605bb21ae6abec426f32159882fef74ee7cbc7cdfa5b649a9947f10bad2b95354b2445f3f40dbd9d55803f9fc40fca02605d466e995083c7e9ca29bd8e WHIRLPOOL 1887c7d18a333319a99b28157f7d9b3bce83868154cd3496b8aec911d3d61b13678d0a0ceb143c65cb8addf625e68ccb4008d65af55f87b2bff27d0ac6dddd40
+DIST simple-tpm-pk11-0.04.tar.gz 26377 SHA256 54f67e08cd0847c1716dd86ceb2748982d226f047de059073c2ffa4cad27c56a SHA512 9023fd580237030e4928fa517739801a06ec673571f13ef365e22e7ebe857fa0be5e6d2004663e0b8287ff7a741f163d0f5e1bc28d7c0300b32fc6af0176d275 WHIRLPOOL 0227adcb41ab3f54f9e23fd3f4d6a4cc1ebe92354d2544a92317b2d7f7f690cb7a163402954957ed5cbb10cff75f3b38441033b7395724a3b46c15f5465d51d6
diff --git a/app-crypt/simple-tpm-pk11/simple-tpm-pk11-0.04.ebuild b/app-crypt/simple-tpm-pk11/simple-tpm-pk11-0.04.ebuild
new file mode 100644 (file)
index 0000000..2bab320
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Simple PKCS11 provider for TPM chips"
+HOMEPAGE="https://github.com/ThomasHabets/simple-tpm-pk11"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+if [[ ${PV} == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/ThomasHabets/${PN}.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       SRC_URI="https://github.com/ThomasHabets/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+IUSE=""
+RESTRICT="test" # needs to communicate with the TPM and gtest is all broken
+
+DEPEND="app-crypt/tpm-tools[pkcs11]
+       dev-libs/opencryptoki[tpm]
+       app-crypt/trousers
+       dev-libs/openssl:0="
+RDEPEND="${DEPEND}
+       net-misc/openssh[-X509]"
+
+src_prepare() {
+       epatch_user
+       eautoreconf
+}