diff options
author | Craig Andrews <candrews@gentoo.org> | 2022-05-23 09:21:19 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2022-05-23 09:23:32 -0400 |
commit | 6382ff9fb2dd0f38b2e0b538fbfed33c60799361 (patch) | |
tree | c32d0a06490d780099e0df9e0209d49b8f894f98 /dev-libs/gost-engine | |
parent | dev-lang/spidermonkey: Stabilize 91.9.1 arm64, #847028 (diff) | |
download | gentoo-6382ff9fb2dd0f38b2e0b538fbfed33c60799361.tar.gz gentoo-6382ff9fb2dd0f38b2e0b538fbfed33c60799361.tar.bz2 gentoo-6382ff9fb2dd0f38b2e0b538fbfed33c60799361.zip |
dev-libs/gost-engine: 3.0.1 version bump, EAPI=8
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/gost-engine')
-rw-r--r-- | dev-libs/gost-engine/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gost-engine/gost-engine-3.0.1.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/gost-engine/gost-engine-9999.ebuild | 6 |
3 files changed, 43 insertions, 3 deletions
diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest index 2ffd9edb4a36..2dfaa392a43e 100644 --- a/dev-libs/gost-engine/Manifest +++ b/dev-libs/gost-engine/Manifest @@ -1,2 +1,3 @@ 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 +DIST gost-engine-3.0.1.tar.gz 1645245 BLAKE2B 713a7343f9c11feec361dd2828b00dd7d47518f5a1b047a6e11f8d8eea206ce9058ace1bd70e12b4cb2200789eb8209de671cb5e2692e95391b4e7a82d0badc2 SHA512 eb9fb126393cfe23bcef0f45c05b38d39aadd8909419ebcf6dab4800bd7372b63891e9061f8e70686f8ba5cd58669681895b36320ed6a8cc0ca1ff037aa73b85 diff --git a/dev-libs/gost-engine/gost-engine-3.0.1.ebuild b/dev-libs/gost-engine/gost-engine-3.0.1.ebuild new file mode 100644 index 000000000000..b9fc8e721abe --- /dev/null +++ b/dev-libs/gost-engine/gost-engine-3.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/dev-libs/gost-engine/gost-engine-9999.ebuild b/dev-libs/gost-engine/gost-engine-9999.ebuild index fd08e96d4a63..b9fc8e721abe 100644 --- a/dev-libs/gost-engine/gost-engine-9999.ebuild +++ b/dev-libs/gost-engine/gost-engine-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake @@ -11,7 +11,7 @@ IUSE="test" RESTRICT="!test? ( test )" SLOT="0/${PV}" -COMMON_DEPEND=">=dev-libs/openssl-1.1.1:0=" +COMMON_DEPEND=">=dev-libs/openssl-3.0.0:0=" DEPEND="${COMMON_DEPEND} virtual/pkgconfig test? ( |