public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/openssl-af_alg-engine/
@ 2016-06-29  5:19 Steve Arnold
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Arnold @ 2016-06-29  5:19 UTC (permalink / raw
  To: gentoo-commits

commit:     93d6aff8c06f61757b6d0d5f59cbdd14db09994a
Author:     Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 05:18:54 2016 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 05:18:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d6aff8

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

 app-crypt/openssl-af_alg-engine/Manifest           |  1 +
 app-crypt/openssl-af_alg-engine/metadata.xml       | 11 ++++++
 .../openssl-af_alg-engine-0.0.1.ebuild             | 45 ++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/app-crypt/openssl-af_alg-engine/Manifest b/app-crypt/openssl-af_alg-engine/Manifest
new file mode 100644
index 0000000..360d3b5
--- /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 0000000..a3e00d4
--- /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 0000000..834a00e
--- /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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/openssl-af_alg-engine/
@ 2016-06-29  6:18 Steve Arnold
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Arnold @ 2016-06-29  6:18 UTC (permalink / raw
  To: gentoo-commits

commit:     3ca66636fa54487af2ec4aeb15e6b9a71edf2c42
Author:     Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 06:17:02 2016 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 06:17:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca66636

app-crypt/openssl-af_alg-engine: update metadata and add libressl flag

Package-Manager: portage-2.2.28

 app-crypt/openssl-af_alg-engine/metadata.xml               | 14 +++++++++++---
 .../openssl-af_alg-engine-0.0.1.ebuild                     |  5 +++--
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/app-crypt/openssl-af_alg-engine/metadata.xml b/app-crypt/openssl-af_alg-engine/metadata.xml
index a3e00d4..9d4d9ca 100644
--- a/app-crypt/openssl-af_alg-engine/metadata.xml
+++ b/app-crypt/openssl-af_alg-engine/metadata.xml
@@ -1,10 +1,18 @@
 <?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 type="person">
+<email>robbat2@gentoo.org</email>
+<name>Robin H. Johnson</name>
 </maintainer>
+<longdescription lang="en">
+af_alg implements an OpenSSL engine that uses the AF_ALG functionailty found
+in kernel &gt;= 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 details.
+</longdescription>
 <upstream>
 	<remote-id type="github">sarnold/af_alg</remote-id>
 </upstream>

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
index 834a00e..ced55a2 100644
--- 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
@@ -15,10 +15,11 @@ SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
 LICENSE="openssl"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
+IUSE="libressl"
 
 DEPEND="virtual/linux-sources
-	>=dev-libs/openssl-1.0.0d"
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )"
 RDEPEND=""
 
 RESTRICT="test"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-29  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29  6:18 [gentoo-commits] repo/gentoo:master commit in: app-crypt/openssl-af_alg-engine/ Steve Arnold
  -- strict thread matches above, loose matches on Subject: below --
2016-06-29  5:19 Steve Arnold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox