summaryrefslogtreecommitdiff
path: root/dev-libs/gost-engine
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/gost-engine')
-rw-r--r--dev-libs/gost-engine/Manifest2
-rw-r--r--dev-libs/gost-engine/gost-engine-3.0.0.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest
index 16bf3dbd1b89..eb6bc98f10aa 100644
--- a/dev-libs/gost-engine/Manifest
+++ b/dev-libs/gost-engine/Manifest
@@ -1,4 +1,6 @@
DIST gost-engine-1.1.0.3_p20181031.tar.gz 473151 BLAKE2B fb8dc737c3bda181de168d918744d6e036886753e70cfcd0516499dd5d9a1ba3af0d44d26fc50570318375a142adfec532327dc57fac5996266b12551631b5fd SHA512 9f0df3c48191aea75d3fee5b5886ba32451889bdbb97c5e540f14a57d8d41606d858769a70b51c0c2c958565b347c5a613004e7c3f81658281d6a3eecd030707
+DIST gost-engine-3.0.0.tar.gz 1634392 BLAKE2B a97150e8d3d30df487d63e0b1016e21b719f951c37646239492a89462169f8712bc5ffb335653b26778104644bb1175f5e17afffd8ba0422d8ec748ea59e3f0d SHA512 180cfbd013bf9959659744c49c886afa67911e1722db1dc3189f94f5320a51fc3b48ed937e57cdfe33f0e63cbf3597a41483fbda534fb8932997f21bebb1bb73
EBUILD gost-engine-1.1.0.3_p20181031-r2.ebuild 964 BLAKE2B a32ed49aaa867cd99d0bdc4225c46f9758929fa8ddb272e06ff86a37fe45974102d8eabad35b71b5b6e1dd71efa7d6d27c231682b2c2e77e1b48565f7fbc72d6 SHA512 58f8c3db060fe5ce68a438ee79fd998c2daa62aa93c1d32125cb3f0d824d95afe1e3c38dd7875146cb0aacfcc113e0dd278873a89d60a2ce1c1dd79480c8f697
+EBUILD gost-engine-3.0.0.ebuild 895 BLAKE2B cb9ea973b726205453b328598543655d38446aec3154e3e6237628fed07a758556218d9aee0a8b847f601d63f5f528b1bf8d7586cbe9706905a3d2b567f6b725 SHA512 03fc4a15a44bf6fe6f3fac3c0491ba51c3f71d15478d9a59e3545201ddf6d2334fdd4b7dd197ab36e1372a24b34a6226cb4db1e0dff1226a2df75967a73e8c26
EBUILD gost-engine-9999.ebuild 895 BLAKE2B d51d424428ac6262094f8c543e1c3a51e98215aa9a4960d06f0e3431c82d90dd35cffcb853215dea36209aa70269e01b14fda10ac268430a22baec2457e883a2 SHA512 213acb55ea3fd6b253e1ca24683be82b17db3b8b639dc07f8f450f4941377380cdd6f68c51a86100c624beeb5424af8934e72a4bb3b274c26b09d2b27b00d8f2
MISC metadata.xml 342 BLAKE2B 3f19b05411fb2960f8218ebcce89e66eba7baabeac9a4a78ab2b7bea1657a082387ccd6fc50dd4a25f5d21d54be6e0c1cfe51cc9eff91cf426660be1041ef0a4 SHA512 4a73c89be75bf257bada6ff299eb6cb48b53b2b92dc9b9647d7345b699118ad4a2e5cfcbe61fc74dc624f6ab019bb21bffc5e1fa0005f761b6435b2badfcf4c4
diff --git a/dev-libs/gost-engine/gost-engine-3.0.0.ebuild b/dev-libs/gost-engine/gost-engine-3.0.0.ebuild
new file mode 100644
index 000000000000..806e85ca5b2d
--- /dev/null
+++ b/dev-libs/gost-engine/gost-engine-3.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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-3.0.0: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 ~hppa"
+ SRC_URI="https://github.com/gost-engine/engine/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/engine-${PV}"
+fi
+
+src_prepare() {
+ cmake_src_prepare
+ sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die
+}