dev-libs/gost-engine: Version 1.1.0.3_p20181031
authorCraig Andrews <candrews@gentoo.org>
Fri, 2 Nov 2018 15:06:30 +0000 (11:06 -0400)
committerCraig Andrews <candrews@gentoo.org>
Tue, 6 Nov 2018 18:13:56 +0000 (13:13 -0500)
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-libs/gost-engine/Manifest [new file with mode: 0644]
dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031.ebuild [new file with mode: 0644]
dev-libs/gost-engine/gost-engine-9999.ebuild

diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest
new file mode 100644 (file)
index 0000000..9bbc3fa
--- /dev/null
@@ -0,0 +1 @@
+DIST gost-engine-1.1.0.3_p20181031.tar.gz 473151 BLAKE2B fb8dc737c3bda181de168d918744d6e036886753e70cfcd0516499dd5d9a1ba3af0d44d26fc50570318375a142adfec532327dc57fac5996266b12551631b5fd SHA512 9f0df3c48191aea75d3fee5b5886ba32451889bdbb97c5e540f14a57d8d41606d858769a70b51c0c2c958565b347c5a613004e7c3f81658281d6a3eecd030707
diff --git a/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031.ebuild b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031.ebuild
new file mode 100644 (file)
index 0000000..bcc01c0
--- /dev/null
@@ -0,0 +1,34 @@
+# 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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+SLOT="0/${PV}"
+
+COMMON_DEPEND=">=dev-libs/openssl-1.1:0="
+DEPEND="${COMMON_DEPEND}
+       virtual/pkgconfig
+       test? (
+               dev-lang/perl
+       )"
+RDEPEND="${COMMON_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/e5cc3684f3b3ad40e186e23b00b253d234df92ab.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/engine-e5cc3684f3b3ad40e186e23b00b253d234df92ab"
+fi
index 424b0bc09f5644a274fc17d095a5fc5b1d87a824..60425b979899352bd48bdf95db94194c7c664ef6 100644 (file)
@@ -28,7 +28,7 @@ if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/gost-engine/engine.git"
        inherit git-r3
 else
-       KEYWORDS="amd64"
+       KEYWORDS="~amd64"
        SRC_URI="https://github.com/gost-engine/engine/archive/v${PV}.tar.gz -> ${P}.tar.gz"
        S="${WORKDIR}/engine-${PV}"
 fi