diff options
author | Stephen L Arnold <nerdboy@gentoo.org> | 2016-07-15 13:46:40 -0700 |
---|---|---|
committer | Stephen L Arnold <nerdboy@gentoo.org> | 2016-07-15 13:50:20 -0700 |
commit | fcd6627fb02d47c36cd3a98d83b2177ce68a2ca2 (patch) | |
tree | 0d8cde3ee16e6d63ab4bfc880de0e41cc435f598 /app-crypt/af_alg | |
parent | sys-devel/clang: Bump meta to 3.8.1 (diff) | |
download | gentoo-fcd6627fb02d47c36cd3a98d83b2177ce68a2ca2.tar.gz gentoo-fcd6627fb02d47c36cd3a98d83b2177ce68a2ca2.tar.bz2 gentoo-fcd6627fb02d47c36cd3a98d83b2177ce68a2ca2.zip |
app-crypt/openssl-af_alg-engine: renamed to app-crypt/af_alg
* This addresses bug #587514
Diffstat (limited to 'app-crypt/af_alg')
-rw-r--r-- | app-crypt/af_alg/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/af_alg/af_alg-0.0.1.ebuild | 46 | ||||
-rw-r--r-- | app-crypt/af_alg/metadata.xml | 9 |
3 files changed, 53 insertions, 3 deletions
diff --git a/app-crypt/af_alg/Manifest b/app-crypt/af_alg/Manifest index da2c017ffb21..9d76d521cbe4 100644 --- a/app-crypt/af_alg/Manifest +++ b/app-crypt/af_alg/Manifest @@ -1 +1,2 @@ +DIST af_alg-0.0.1.tar.gz 332007 SHA256 aeeef47027b06208207553ffc477758d6d4b8334c26b2b233af5127ef7e0a5d9 SHA512 10860268dbff65e20d78c7d251b5ac4e63342e01c30af72894baa63a625f11900a77a8d0cca29d93bd3a06ae29c16c5fc4d71843e7379b7d948ad1b6e6b58b5b WHIRLPOOL 86abc4aba4977f0c0ac83a07f7f4dff250445d6cfc7dc6112bb97f290711d3a16b7ccfb29da5b553cfe5eba08b42d0d333da92afe53fd99ce27f4eda78c35434 DIST af_alg-7b13512edbd77c35d20edb4e53d5d83eeaf05d52.tar.gz 5362 SHA256 5fd78ccf5f815ac89d55bf53db6a41a720100325e2ecb7dd7c2b459d30bee88d SHA512 c897a64ce12c5ecbdf8147a8776b646b9fed7d012cbc913e1f047eff4dd81fe1783733d64e711ab3702923b57055e4ca923cdf4f90bef6a4868f803be11239ca WHIRLPOOL 53c1972c01833f7a4151f1613095a53a5fe46ed162296c2a082b1c647e038c1367c70a3dfdb4399e3ce2244d7b3a544614805e0f40a69b63ae2cb996d7dd3d61 diff --git a/app-crypt/af_alg/af_alg-0.0.1.ebuild b/app-crypt/af_alg/af_alg-0.0.1.ebuild new file mode 100644 index 000000000000..ced55a211646 --- /dev/null +++ b/app-crypt/af_alg/af_alg-0.0.1.ebuild @@ -0,0 +1,46 @@ +# 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="libressl" + +DEPEND="virtual/linux-sources + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +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 +} diff --git a/app-crypt/af_alg/metadata.xml b/app-crypt/af_alg/metadata.xml index 435ff298aa21..311413031703 100644 --- a/app-crypt/af_alg/metadata.xml +++ b/app-crypt/af_alg/metadata.xml @@ -2,15 +2,18 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> -<email>robbat2@gentoo.org</email> -<name>Robin H. Johnson</name> + <email>nerdboy@gentoo.org</email> + <name>Stephen Arnold</name> </maintainer> <longdescription lang="en"> af_alg implements an OpenSSL engine that uses the AF_ALG functionailty found in kernel >= 2.6.38 for crypto offload. Be sure to actually check if it's faster, as for many modern systems, userspace software implementations are actually faster, as they avoid a kernel context switch. However, on embedded systems and -others with crypto hardware, AF_ALG may be faster. The homepage has more +others with crypto hardware, AF_ALG may be faster. The upstream readme has more details. </longdescription> +<upstream> + <remote-id type="github">sarnold/af_alg</remote-id> +</upstream> </pkgmetadata> |