diff options
author | Stephen L Arnold <nerdboy@gentoo.org> | 2016-06-28 22:18:54 -0700 |
---|---|---|
committer | Stephen L Arnold <nerdboy@gentoo.org> | 2016-06-28 22:18:54 -0700 |
commit | 93d6aff8c06f61757b6d0d5f59cbdd14db09994a (patch) | |
tree | 36d499c7c41b172be1a0163e6809fad58cfe1486 /app-crypt | |
parent | dev-ruby/yard: drop ruby19 (diff) | |
download | gentoo-93d6aff8c06f61757b6d0d5f59cbdd14db09994a.tar.gz gentoo-93d6aff8c06f61757b6d0d5f59cbdd14db09994a.tar.bz2 gentoo-93d6aff8c06f61757b6d0d5f59cbdd14db09994a.zip |
app-crypt/openssl-af_alg-engine: new ebuild for user-space crypto
This partly fills a hole in available ssl engine plugins. Use with any
recent kernel, tested (for real) on mips, arm, amd64, and x86. I am also
the upstream maintainer for the current packaged version.
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/openssl-af_alg-engine/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/openssl-af_alg-engine/metadata.xml | 11 | ||||
-rw-r--r-- | app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild | 45 |
3 files changed, 57 insertions, 0 deletions
diff --git a/app-crypt/openssl-af_alg-engine/Manifest b/app-crypt/openssl-af_alg-engine/Manifest new file mode 100644 index 000000000000..360d3b539c2b --- /dev/null +++ b/app-crypt/openssl-af_alg-engine/Manifest @@ -0,0 +1 @@ +DIST af_alg-0.0.1.tar.gz 332007 SHA256 aeeef47027b06208207553ffc477758d6d4b8334c26b2b233af5127ef7e0a5d9 SHA512 10860268dbff65e20d78c7d251b5ac4e63342e01c30af72894baa63a625f11900a77a8d0cca29d93bd3a06ae29c16c5fc4d71843e7379b7d948ad1b6e6b58b5b WHIRLPOOL 86abc4aba4977f0c0ac83a07f7f4dff250445d6cfc7dc6112bb97f290711d3a16b7ccfb29da5b553cfe5eba08b42d0d333da92afe53fd99ce27f4eda78c35434 diff --git a/app-crypt/openssl-af_alg-engine/metadata.xml b/app-crypt/openssl-af_alg-engine/metadata.xml new file mode 100644 index 000000000000..a3e00d4f4d2a --- /dev/null +++ b/app-crypt/openssl-af_alg-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> + <email>nerdboy@gentoo.org</email> + <name>Steve Arnold</name> +</maintainer> +<upstream> + <remote-id type="github">sarnold/af_alg</remote-id> +</upstream> +</pkgmetadata> diff --git a/app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild b/app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild new file mode 100644 index 000000000000..834a00e8e8e2 --- /dev/null +++ b/app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_PN="af_alg" + +inherit autotools eutils libtool linux-info versionator + +DESCRIPTION="af_alg is an openssl crypto engine kernel interface thing" +HOMEPAGE="https://github.com/sarnold/af_alg" +SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz" + +LICENSE="openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="virtual/linux-sources + >=dev-libs/openssl-1.0.0d" +RDEPEND="" + +RESTRICT="test" + +S=${WORKDIR}/${MY_PN}-${PV} + +CONFIG_CHECK="~CRYPTO_USER_API" +WARNING_CRYPTO_USER_API="You need to enable CONFIG_CRYPTO_USER_API in order to use this package." + +src_prepare() { + sed -i -e "s|ssl/engines|engines|" "${S}"/configure.ac + eautoreconf +} + +src_configure() { + econf --with-pic +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS NEWS README.rst + + prune_libtool_files --modules +} |