commit:     92a595042487c992f46defc2506ee1a22cd1f57a
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 26 17:44:34 2018 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 02:42:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a59504

dev-libs/gost-engine: Implementation of Russian GOST for OpenSSL

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/gost-engine/gost-engine-9999.ebuild | 28 ++++++++++++++++++++++++++++
 dev-libs/gost-engine/metadata.xml            | 14 ++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild 
b/dev-libs/gost-engine/gost-engine-9999.ebuild
new file mode 100644
index 00000000000..782e02fbd45
--- /dev/null
+++ b/dev-libs/gost-engine/gost-engine-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A reference implementation of the Russian GOST crypto algorithms 
for OpenSSL"
+HOMEPAGE="https://github.com/gost-engine/engine";
+
+SLOT="0/${PV}"
+
+DEPEND=">=dev-libs/openssl-1.1:0="
+RDEPEND="${DEPEND}"
+
+LICENSE="openssl"
+
+DOCS=( INSTALL.md README.gost README.md )
+
+if [[ ${PV} == "9999" ]] ; then
+       SRC_URI=""
+       EGIT_REPO_URI="https://github.com/gost-engine/engine.git";
+       inherit git-r3
+else
+       KEYWORDS="amd64"
+       SRC_URI="https://github.com/gost-engine/engine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       S="${WORKDIR}/engine-${PV}"
+fi

diff --git a/dev-libs/gost-engine/metadata.xml 
b/dev-libs/gost-engine/metadata.xml
new file mode 100644
index 00000000000..bf5591b8aef
--- /dev/null
+++ b/dev-libs/gost-engine/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>candr...@gentoo.org</email>
+    <name>Craig Andrews</name>
+  </maintainer>
+  <longdescription>
+    A reference implementation of the Russian GOST crypto algorithms for 
OpenSSL.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">gost-engine/engine</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to