summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-11-02 11:06:30 -0400
committerCraig Andrews <candrews@gentoo.org>2018-11-06 13:13:56 -0500
commit79e83926de22049882f15cd6f42006717137fbf3 (patch)
treef69d902923d45f198cc85d924c4d6c0d3de1684e /dev-libs/gost-engine
parentpackage.mask: mask dev-libs/gost-engine (diff)
downloadgentoo-79e83926de22049882f15cd6f42006717137fbf3.tar.gz
gentoo-79e83926de22049882f15cd6f42006717137fbf3.tar.bz2
gentoo-79e83926de22049882f15cd6f42006717137fbf3.zip
dev-libs/gost-engine: Version 1.1.0.3_p20181031
Signed-off-by: Craig Andrews <candrews@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-libs/gost-engine')
-rw-r--r--dev-libs/gost-engine/Manifest1
-rw-r--r--dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031.ebuild34
-rw-r--r--dev-libs/gost-engine/gost-engine-9999.ebuild2
3 files changed, 36 insertions, 1 deletions
diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest
new file mode 100644
index 000000000000..9bbc3fae649a
--- /dev/null
+++ b/dev-libs/gost-engine/Manifest
@@ -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
index 000000000000..bcc01c052ff0
--- /dev/null
+++ b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031.ebuild
@@ -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
diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild b/dev-libs/gost-engine/gost-engine-9999.ebuild
index 424b0bc09f56..60425b979899 100644
--- a/dev-libs/gost-engine/gost-engine-9999.ebuild
+++ b/dev-libs/gost-engine/gost-engine-9999.ebuild
@@ -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