diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/openssl-tpm-engine | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/openssl-tpm-engine')
4 files changed, 67 insertions, 0 deletions
diff --git a/app-crypt/openssl-tpm-engine/Manifest b/app-crypt/openssl-tpm-engine/Manifest new file mode 100644 index 000000000000..2477fc20a099 --- /dev/null +++ b/app-crypt/openssl-tpm-engine/Manifest @@ -0,0 +1,4 @@ +AUX openssl-tpm-engine-0.4.2-build.patch 317 BLAKE2B e9467e78d4db86a19df11acf51ea479ea0bc41be9b11aa5d0f120fbda203c27efb15227ce5b2624f04a8933b4618b6f53068b61bb380039a67b8d89718fa6188 SHA512 ef62d70d83cd3251731686e6132cb287b02c1416f59bd1c4ca678f6702d61f505a8b10af387041ce569ea07e270e97983cbb7e00124b8ad4d7eaa1cf01d800a8 +DIST openssl_tpm_engine-0.4.2.tar.gz 528196 BLAKE2B a034c25df32db53775144ffcad74f421176e5abfee346dad3159e8d7a1fdc465421a549a71a5c2a5dc7b414e578fb8eb6b3522e4956a274f5c31635f5a52dcf5 SHA512 376f2aa87ab10d4a77bcc363865238a19e6dfcd548eb1f0780ee223d57d90ebfe7046308757836b76e7f33f4c30f98c0d82126b5e0e0534ec57087384e584f95 +EBUILD openssl-tpm-engine-0.4.2.ebuild 788 BLAKE2B 169da1417a132645e288e16dbc1cf59bb081aed94ea68475856094ee8b17ba6901b950be85763626db18e97474150bca6047f0b90d8bdb9a27441c36040bcfd2 SHA512 3e52257d57bead79a8b19037780c261e48551d8c079c83898d4f319f7a2be1a5332e8c0ba17320d5c8eaf2d22366bacfdf224dba0a0d86514060d10137130cb6 +MISC metadata.xml 318 BLAKE2B ed3850eec8c06dbecc55990dcf55c17afb0a4e0e4c3292008e96685c507efbc42797715b988d459fb9b42dfd69c7cb9092e62256b49c537ac74154bf09e4f5a6 SHA512 628ef47a6ad964f7b3ebd288e3ad423192970a060bfae6e95625056d6b1a49c1d36d3f8001ba066a356a9d63203fd4b40d0ee5c213f8735e0e8d736297e6a721 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">trousers</remote-id> + </upstream> +</pkgmetadata> 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 +} |