dev-libs/gost-engine: Implementation of Russian GOST for OpenSSL
authorCraig Andrews <candrews@gentoo.org>
Fri, 26 Oct 2018 17:44:34 +0000 (13:44 -0400)
committerCraig Andrews <candrews@gentoo.org>
Sat, 27 Oct 2018 02:42:23 +0000 (22:42 -0400)
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-libs/gost-engine/gost-engine-9999.ebuild [new file with mode: 0644]
dev-libs/gost-engine/metadata.xml [new file with mode: 0644]

diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild b/dev-libs/gost-engine/gost-engine-9999.ebuild
new file mode 100644 (file)
index 0000000..782e02f
--- /dev/null
@@ -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 (file)
index 0000000..bf5591b
--- /dev/null
@@ -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>candrews@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>