From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-crypt/openssl-tpm-engine/Manifest | 6 ++++ .../files/openssl-tpm-engine-0.4.2-build.patch | 10 ++++++ app-crypt/openssl-tpm-engine/metadata.xml | 11 ++++++ .../openssl-tpm-engine-0.4.2.ebuild | 42 ++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 app-crypt/openssl-tpm-engine/Manifest create mode 100644 app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.4.2-build.patch create mode 100644 app-crypt/openssl-tpm-engine/metadata.xml create mode 100644 app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild (limited to 'app-crypt/openssl-tpm-engine') diff --git a/app-crypt/openssl-tpm-engine/Manifest b/app-crypt/openssl-tpm-engine/Manifest new file mode 100644 index 000000000000..86ed2e028438 --- /dev/null +++ b/app-crypt/openssl-tpm-engine/Manifest @@ -0,0 +1,6 @@ +AUX openssl-tpm-engine-0.4.2-build.patch 317 SHA256 dca3a6b49ca57e7049b345a43ba56019d87a9292b6aaed210eb8f08e6487743d SHA512 ef62d70d83cd3251731686e6132cb287b02c1416f59bd1c4ca678f6702d61f505a8b10af387041ce569ea07e270e97983cbb7e00124b8ad4d7eaa1cf01d800a8 WHIRLPOOL 41178b0c4da63aa5cac91136775ecc8f3c8b347d77441eb602c830840f6af64d6973031e1fade4fc05cd07b5f0aa617216d86bf6323d341de2467e33cbe2e7b2 +DIST openssl_tpm_engine-0.4.2.tar.gz 528196 SHA256 2df697e583053f7047a89daa4585e21fc67cf4397ee34ece94cf2d4b4f7ab49c SHA512 376f2aa87ab10d4a77bcc363865238a19e6dfcd548eb1f0780ee223d57d90ebfe7046308757836b76e7f33f4c30f98c0d82126b5e0e0534ec57087384e584f95 WHIRLPOOL 0b3daeda9ef8c52e472905d3f85dc3dd78220a6e1bbf59b5f7fb4d4231f64d6fca189b75fb00c391d130bff3ae5a7e0adf43059eddaf8a1fe93d80a6510dbee3 +EBUILD openssl-tpm-engine-0.4.2.ebuild 788 SHA256 de5d57835c020c3e0a7ff059fdbc30ff2a3446b2d7ad814a787876ca3aba6648 SHA512 3e52257d57bead79a8b19037780c261e48551d8c079c83898d4f319f7a2be1a5332e8c0ba17320d5c8eaf2d22366bacfdf224dba0a0d86514060d10137130cb6 WHIRLPOOL 87ab775dbd4a19b6cd766ec0dcb69d4a063cda2ede141702937990114307d3508f3294cd5b73dc85786bbaddaae12c4347bcee94a266963ff3d0b28ea11e786c +MISC ChangeLog 2833 SHA256 5fd415004922e5d3c407d8c1414be0e25051f449bb6ff611220cece27d8e31d1 SHA512 122b1f197b461eb4aca938f7771d326494d77246ee4b2d92db1a003de4b3a8c70ce4dfc26a7e33055e7d1adc86d5bedb26a44db38946abd97e11af6b883c6122 WHIRLPOOL 9eab3847ac6babcf8869c96c9b36e3617c033d34bdbb90f3808a1e87d3aa1773b450100d25aee708b729f865ac8e2a9c4e4ec2d1cd85dac960c0b45f5787400b +MISC ChangeLog-2015 1557 SHA256 ccdf2f8ba538f09e06c84d940d76907c693bc526ba762a24ab26677f97ad78b0 SHA512 cc949063ba4cff194a8956d65f3ca01f18e01e0cb3a8e843dd9007d1f7e1c8db1b6d3c1c37cbc236ce73c751ff619785ae300964edad961a37dfc5e2d953e084 WHIRLPOOL dbd26304f17a7f570e98ac42c89c16914ecde7c4d4fab0c7d6f5c2481c6bf8f4861f1118a276b5a06524d1f768af47b31f920f2da91342626f1f5b2094cd80d3 +MISC metadata.xml 318 SHA256 1394b5588607e585663ae85aa3e838ea943f0ac9624750b827d47e2ec6517f11 SHA512 628ef47a6ad964f7b3ebd288e3ad423192970a060bfae6e95625056d6b1a49c1d36d3f8001ba066a356a9d63203fd4b40d0ee5c213f8735e0e8d736297e6a721 WHIRLPOOL 9802f6ba993fdc4979186678a9f4d05b3d0d0e8ffee809c40bd8f09a8e0f72ee7b47de18de05d6f5d56055a448fb2a72017bfc41730f4fafce81ebd45b72f63e 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 000000000000..ed32ced1b3e5 --- /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/metadata.xml b/app-crypt/openssl-tpm-engine/metadata.xml new file mode 100644 index 000000000000..7b14326dd1a6 --- /dev/null +++ b/app-crypt/openssl-tpm-engine/metadata.xml @@ -0,0 +1,11 @@ + + + + + crypto@gentoo.org + Crypto + + + trousers + + 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 000000000000..964c21f365bf --- /dev/null +++ b/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune + +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="~amd64 ~x86" +IUSE="libressl" +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + >=app-crypt/trousers-0.2.8" +DEPEND="${RDEPEND}" + +DOCS=( + openssl.cnf.sample +) + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + mv configure.in configure.ac || die + eautoreconf +} + +src_install() { + default + prune_libtool_files --modules +} -- cgit v1.2.3