diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-19 08:46:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-19 08:46:18 +0100 |
commit | 9e65a38a260a44292ceb8a0bf4fea5f0b5666826 (patch) | |
tree | 40c907f5d72cda463e42d2ee5d5434b3790e06df /dev-ml/cryptokit | |
parent | cf1a411e806b434c96329401a6ff0901ec7f0d5c (diff) |
gentoo auto-resync : 19:04:2025 - 08:46:17edge
Diffstat (limited to 'dev-ml/cryptokit')
-rw-r--r-- | dev-ml/cryptokit/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/cryptokit/cryptokit-1.20.1.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-ml/cryptokit/Manifest b/dev-ml/cryptokit/Manifest index b754f4f84088..082ae33838e9 100644 --- a/dev-ml/cryptokit/Manifest +++ b/dev-ml/cryptokit/Manifest @@ -1,5 +1,7 @@ DIST cryptokit-1.16.1.tar.gz 120607 BLAKE2B fbb89c4dabef8f09614003acc2b8173fdfdacb36793fd20f4415ebec04f3759537739eccd7b9d143df0163816b9db65c221c2b83408c9ac3aa7f9bf7b63876c6 SHA512 28913a7c35ae951a4c464287acc511ee1bdc9d03b5928e2243c5ae5cbb8b10afe8e84d7a73ba6478ed62657d01fdb6f02472739255c33de3671c4130b659da52 DIST cryptokit-1.19.tar.gz 162353 BLAKE2B cded152e90c140801fba6730837c8aa6b2755613a0f75d97ae91d7b04f76af7962de00a413cd950d5187efa2e67b98904b161e8ba2d89567ec447ed09a3e8671 SHA512 11c942d561e9808b8811400fa1b4b738ded2e3f7b4e3d886c00b97a6cd7c726ff384962aee821885e06bcf6bbe3a34d3157a4a4c89defb5b474c01165085d08b +DIST cryptokit-1.20.1.tar.gz 162579 BLAKE2B e9a59d492ee3cf7c4a393f1115b327f40be6a3e3f4c0753f1dc35f106840b08881ea4d13b4ed2b41b5d741eac188ea8f44ea7f7087030eae34bfecefaab0e39c SHA512 7b1e2ba8b99b11a04522ffe4b6b92278bc772d9888967757ab013151211fc85d29847af566677f2b9c3200e45b857600a70356ca6ed80ca299508808057358b1 EBUILD cryptokit-1.16.1-r2.ebuild 1743 BLAKE2B 556d3df74f2f7a94f31e354eedf5e9c3e8123670796c5c28d710dfde9a57a0e9de1d33236911b1c8302af335f4e7f3f762b62d8fbbac5bca3880a6a22bb8ced5 SHA512 f83aa827401e6386fcde04cea91af1d3e65b923a0bff56c5573d561b9b1c46a6e8ddba1eb64e9e45f52967b96128775e73dc19a03ea19b65d1f78d58c3a2ff0f EBUILD cryptokit-1.19.ebuild 1745 BLAKE2B 323873947afc2afa53139104b16d3f6d17859561fd2bc889a5233117b950aa36ca867d52654f06f93ea75b55f0b162e5008c7d705fc005cac9c3660b5df38834 SHA512 384e67a7a390cdee1dab9674e2cce9decbc11b632740723bb2e792ab828720cfd4b2190328d3ae6ac553039e91ae4772090dca4436575ac955beeaf9f6509561 +EBUILD cryptokit-1.20.1.ebuild 1745 BLAKE2B 2cfede4fe412a48ba2efbe6bc97fa2ac16e9c5050b28cdb2fee66161f99378cd61aac2dcbc06b621bda074041fd70413f27367e40d1fb4f5440cb21413c524b8 SHA512 018d0ba4a11573bafe1a09d94824cd544847e93417c33eabd0c7a57657321df56501b86e8f670cc00d3f496f66fd04706d6ad70a05c349f80187b1be3e0a2597 MISC metadata.xml 319 BLAKE2B 0e859b7dd1c7a9523d11a8367e4d6f7202f201c171e347f1e31918ca3d728d007fe121107b22a37193cee3b6a321a969e6b4cc9467a3f7192c44091fb6fdbbd3 SHA512 0ef709e3ad7943732fbe5cdc6a451c100512d73e07771981cd25706fde1bb7a52aedd8b8493a4b54f6605f63123eca6e63e600f3b20a61b594832f060cea6a71 diff --git a/dev-ml/cryptokit/cryptokit-1.20.1.ebuild b/dev-ml/cryptokit/cryptokit-1.20.1.ebuild new file mode 100644 index 000000000000..35e961f8c1aa --- /dev/null +++ b/dev-ml/cryptokit/cryptokit-1.20.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_PV="$(ver_rs 1- '')" +DESCRIPTION="Cryptographic primitives library for Objective Caml" +HOMEPAGE="https://github.com/xavierleroy/cryptokit" +SRC_URI="https://github.com/xavierleroy/cryptokit/archive/release${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-release${MY_PV}" + +LICENSE="LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +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:=[-mpir(-)] + zlib? ( >=sys-libs/zlib-1.1 ) +" +RDEPEND="${DEPEND}" + +DOCS=( "Changes" "README.txt" "AUTHORS.txt" ) + +src_configure() { + # Don't build in src_configure + sed -i -e 's:exit (Sys.command "dune build @configure --release")::' configure || die + + # It's not autotools (or even close), it's a Dune wrapper. + ./configure \ + $(use_enable cpu_flags_x86_aes hardwaresupport) \ + $(use_enable zlib) \ + || die +} + +pkg_postinst() { + elog "" + elog "This library uses the /dev/random device to generate " + elog "random data and RSA keys. The device should either be" + elog "built into the kernel or provided as a module. An" + elog "alternative is to use the Entropy Gathering Daemon" + elog "(http://egd.sourceforge.net). Please note that the" + elog "remainder of the library will still work even in the" + elog "absence of a one of these sources of randomness." + elog "" +} + +src_test() { + echo "" + einfo "You must have either /dev/random or the Entropy Gathering" + einfo "Daemon (EGD) for this test to succeed!" + echo "" + + dune_src_test +} |