diff options
Diffstat (limited to 'dev-libs/gost-engine')
-rw-r--r-- | dev-libs/gost-engine/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/gost-engine/gost-engine-3.0.2.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/gost-engine/Manifest b/dev-libs/gost-engine/Manifest index 358f6f0b199d..2172b26d6e08 100644 --- a/dev-libs/gost-engine/Manifest +++ b/dev-libs/gost-engine/Manifest @@ -1,7 +1,9 @@ AUX gost-engine-3.0.1-fix-cmake-path.patch 1279 BLAKE2B 40896fe0942e3de64a32e6c46405390b206c5b3cbf88a6561eeef8f804eb8a300862fa1fbecbc6942c4688640c4d3af30ae22646510b7489135a3440309bf8b3 SHA512 0ee8fd3e8d322b6cb169215e1c7600caafc4c987c356499013855a712996ed7a11d03f1007bafac5548bce291535e5187d0afded0d991d17a0e9840d47ef4645 DIST gost-engine-3.0.1.tar.gz 1645245 BLAKE2B 713a7343f9c11feec361dd2828b00dd7d47518f5a1b047a6e11f8d8eea206ce9058ace1bd70e12b4cb2200789eb8209de671cb5e2692e95391b4e7a82d0badc2 SHA512 eb9fb126393cfe23bcef0f45c05b38d39aadd8909419ebcf6dab4800bd7372b63891e9061f8e70686f8ba5cd58669681895b36320ed6a8cc0ca1ff037aa73b85 +DIST gost-engine-3.0.2.tar.gz 1654695 BLAKE2B 76a14b6a33e7457dc879f45e5f8c1a0db633561269ba156ea1cad9d00dd082196382fb952706ced736ca7da6cfd698533b3f5483ad09f3b93748acd03c4a15ac SHA512 f8e7709df806e5d0a715e3f4f97644f7db4612a868201e730ab2ec62a3099f5c9136af6e4cc4ed5c69fe4ed25ce72b50d29fcf8c961cb3a9e9fa2e1fa8242c9b DIST libprov-8a126e09547630ef900177625626b6156052f0ee.tar.gz 5693 BLAKE2B e2c9c1a6c31532ea830c94bca9a7e2f0c0d0688c628ba0851ff541a0d9fd9aa727c5ed9b78901032e928ea8cfb63483d3bfeadac40c61ddd990df00e2c7d3cd9 SHA512 4633ca9ad21585483dbaf28e416f0f3416c814bb41b0ccf036e438275d83393e70ed1c2cd0298fc87d8e928074a7afcf3971a0d790014cc0d200c92bb2defe4d EBUILD gost-engine-3.0.1-r1.ebuild 1191 BLAKE2B b0e57ec1b1107d9948f91af2b05a3ed79989363c18defb6ead0de8c42c8eb721ca0a26246b48f18887530201d92cd2c6a5446b322694873f5910d83ffcb5426e SHA512 6e5456c037870f9dedb12ac149b3a1db573792421b0c851ee46fd0502b498d75eac4bbe315a6ef26d504e66113456a902ed726ce0e7a2574e7336838bce0f4b5 EBUILD gost-engine-3.0.1.ebuild 1137 BLAKE2B 1837b5c9851e8b3a642fa0f7dac180e93fe7e555f75c47647eb34ddedec43124ae48033462b7d2c3eec583a1e6bdf667d96562514189bff49c1230b9b583e2f8 SHA512 0760134d371252b94a0f28b677c56eaba590c01f08be73fc3e8881e56d315546756459c2d96132f4af6a4c76c439034d2ba80e4cd19850cf695e581d5e3bcc01 +EBUILD gost-engine-3.0.2.ebuild 1137 BLAKE2B 1837b5c9851e8b3a642fa0f7dac180e93fe7e555f75c47647eb34ddedec43124ae48033462b7d2c3eec583a1e6bdf667d96562514189bff49c1230b9b583e2f8 SHA512 0760134d371252b94a0f28b677c56eaba590c01f08be73fc3e8881e56d315546756459c2d96132f4af6a4c76c439034d2ba80e4cd19850cf695e581d5e3bcc01 EBUILD gost-engine-9999.ebuild 1137 BLAKE2B 1837b5c9851e8b3a642fa0f7dac180e93fe7e555f75c47647eb34ddedec43124ae48033462b7d2c3eec583a1e6bdf667d96562514189bff49c1230b9b583e2f8 SHA512 0760134d371252b94a0f28b677c56eaba590c01f08be73fc3e8881e56d315546756459c2d96132f4af6a4c76c439034d2ba80e4cd19850cf695e581d5e3bcc01 MISC metadata.xml 342 BLAKE2B 3f19b05411fb2960f8218ebcce89e66eba7baabeac9a4a78ab2b7bea1657a082387ccd6fc50dd4a25f5d21d54be6e0c1cfe51cc9eff91cf426660be1041ef0a4 SHA512 4a73c89be75bf257bada6ff299eb6cb48b53b2b92dc9b9647d7345b699118ad4a2e5cfcbe61fc74dc624f6ab019bb21bffc5e1fa0005f761b6435b2badfcf4c4 diff --git a/dev-libs/gost-engine/gost-engine-3.0.2.ebuild b/dev-libs/gost-engine/gost-engine-3.0.2.ebuild new file mode 100644 index 000000000000..a66a0b40c861 --- /dev/null +++ b/dev-libs/gost-engine/gost-engine-3.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 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 ) + +LIBPROV_COMMIT="8a126e09547630ef900177625626b6156052f0ee" +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 + https://github.com/provider-corner/libprov/archive/${LIBPROV_COMMIT}.tar.gz -> libprov-${LIBPROV_COMMIT}.tar.gz" + S="${WORKDIR}/engine-${PV}" +fi + +src_prepare() { + cp -R "${WORKDIR}/libprov-${LIBPROV_COMMIT}/." "${S}/libprov" || die + cmake_src_prepare + sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die +} |