summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-09-20 08:57:42 -0400
committerCraig Andrews <candrews@gentoo.org>2021-09-20 08:58:16 -0400
commit00c37f094eef0872a9d9aaab643c5bf4824cdb08 (patch)
tree6c046965b6f6eafd8343ecde63009b94ffd15592
parentsys-fs/unionfs-fuse: 2.2 (diff)
downloadgentoo-00c37f094eef0872a9d9aaab643c5bf4824cdb08.tar.gz
gentoo-00c37f094eef0872a9d9aaab643c5bf4824cdb08.tar.bz2
gentoo-00c37f094eef0872a9d9aaab643c5bf4824cdb08.zip
dev-libs/gost-engine: 3.0.0 version bump
Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--dev-libs/gost-engine/Manifest1
-rw-r--r--dev-libs/gost-engine/gost-engine-3.0.0.ebuild39
-rw-r--r--profiles/package.mask5
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest
index 9bbc3fae649a..2ffd9edb4a36 100644
--- a/dev-libs/gost-engine/Manifest
+++ b/dev-libs/gost-engine/Manifest
@@ -1 +1,2 @@
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
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
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index 2ae4b65dd814..242530ccb0ae 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -188,6 +188,11 @@ dev-python/oauth2
# bug #797325.
=dev-libs/openssl-3.0*
+# Craig Andrews <candrews@gentoo.org> (2021-09-20)
+# Requires OpenSSL >= 3.0.0
+# Masked until dev-libs/openssl-3.0* is unmasked
+=dev-libs/gost-engine-3.0*
+
# Andreas Sturmlechner <asturm@gentoo.org> (2021-09-07)
# EAPI-5, dead upstream, last (and only) version added in 2011
# Bug 644344; Removal on 2021-10-07.