diff options
Diffstat (limited to 'dev-libs/gost-engine')
-rw-r--r-- | dev-libs/gost-engine/Manifest | 4 | ||||
-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, 45 insertions, 4 deletions
diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest index eb6bc98f10aa..7b23af3c2c20 100644 --- a/dev-libs/gost-engine/Manifest +++ b/dev-libs/gost-engine/Manifest @@ -1,6 +1,8 @@ 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 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 +EBUILD gost-engine-3.0.1.ebuild 895 BLAKE2B 2561f3d5e5ec58012f83e15a3157a616b994a7ea0449fbd9bc9c285a6a33d160aefdf0712895065575e6a87879ef30dcd0e090fb62e3623ac615bddec7a56f68 SHA512 fc9773a01c3d40e9ae796869906e6acfe09839e3636ec5815c72d04e23c0dcab55ea1d6a77c36b474d7cac3e0da6e3ce8964b13518c48d2f3c3df1ad830fbebc +EBUILD gost-engine-9999.ebuild 895 BLAKE2B 2561f3d5e5ec58012f83e15a3157a616b994a7ea0449fbd9bc9c285a6a33d160aefdf0712895065575e6a87879ef30dcd0e090fb62e3623ac615bddec7a56f68 SHA512 fc9773a01c3d40e9ae796869906e6acfe09839e3636ec5815c72d04e23c0dcab55ea1d6a77c36b474d7cac3e0da6e3ce8964b13518c48d2f3c3df1ad830fbebc MISC metadata.xml 342 BLAKE2B 3f19b05411fb2960f8218ebcce89e66eba7baabeac9a4a78ab2b7bea1657a082387ccd6fc50dd4a25f5d21d54be6e0c1cfe51cc9eff91cf426660be1041ef0a4 SHA512 4a73c89be75bf257bada6ff299eb6cb48b53b2b92dc9b9647d7345b699118ad4a2e5cfcbe61fc74dc624f6ab019bb21bffc5e1fa0005f761b6435b2badfcf4c4 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? ( |