commit: 99da767e0c59cfdf42320c92fbf41a680dbb75cc Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Oct 22 13:02:03 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 22 13:02:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99da767e
dev-ml/cryptokit: require dev-ml/zarith[-mpir] mpir doesn't provide mpz_powm_sec for constant-time modular exponentation which rightly results in a test failure. Let's require -mpir in the latest version of cryptokit, as earlier versions don't work with earlier OCaml anyway. Closes: https://bugs.gentoo.org/750740 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{cryptokit-1.16.1.ebuild => cryptokit-1.16.1-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-ml/cryptokit/cryptokit-1.16.1.ebuild b/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild similarity index 94% rename from dev-ml/cryptokit/cryptokit-1.16.1.ebuild rename to dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild index d135e28601c..acac20768e5 100644 --- a/dev-ml/cryptokit/cryptokit-1.16.1.ebuild +++ b/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild @@ -18,9 +18,12 @@ IUSE="cpu_flags_x86_aes +ocamlopt test zlib" REQUIRED_USE="test? ( ocamlopt )" RESTRICT="!test? ( test )" +# We can't use mpir on zarith +# (until it gains mpz_powm_sec?) +# bug #750740 DEPEND=" dev-ml/dune-configurator - dev-ml/zarith:= + dev-ml/zarith:=[-mpir] zlib? ( >=sys-libs/zlib-1.1 ) " RDEPEND="${DEPEND}"
