summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/Manifest.gzbin39741 -> 39745 bytes
-rw-r--r--dev-ml/core_unix/Manifest2
-rw-r--r--dev-ml/core_unix/core_unix-0.17.1.ebuild46
-rw-r--r--dev-ml/cryptokit/Manifest2
-rw-r--r--dev-ml/cryptokit/cryptokit-1.20.1.ebuild63
5 files changed, 113 insertions, 0 deletions
diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz
index 383e253b6f5e..25ecd860faed 100644
--- a/dev-ml/Manifest.gz
+++ b/dev-ml/Manifest.gz
Binary files differ
diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest
index 32791a211f61..c3a158854dfd 100644
--- a/dev-ml/core_unix/Manifest
+++ b/dev-ml/core_unix/Manifest
@@ -5,7 +5,9 @@ AUX core_unix-0.17.0-musl.patch 510 BLAKE2B f134f1ce3520862b1421cdb424f06546eae4
DIST core_unix-0.15.2.tar.gz 377836 BLAKE2B 56551ab1509bfecc59ae4b45aaaa4d336415cffe9339932239c884bc86207bdb4066aace35144618509b78b461164bdfaaaa04030ecb1b3619de6f8fe5c3a7b9 SHA512 6d59c52111235f952f3052fb86af1d7380ff3d8d89b5c8d59a66d530a14d462fa4b06cdf29f2ee2b4356a574dbefef33b82f60f9fba512942bc0e6aad07f2b6f
DIST core_unix-0.16.0.tar.gz 391719 BLAKE2B 29105ee1b8342241dbea136207d221af04d9412a74412fb4fd532f08b22b842125a72e69a47d36129a99c04cd3a83e605bc42b970d79a52420b3e273bd9915d5 SHA512 e38a126af832360f0e0079919b930f3fa99b02935c35372b1ed8c7e174af335de2f4dcb8da90be8f9f524542752dd5c62ec6192eb327d7cc6313b7402b0f7f65
DIST core_unix-0.17.0.tar.gz 403348 BLAKE2B 9afc07343427e84dc71df23b2d3a4e02780dcb75b4969d06a7d06d47b7dfe17e464223258733673265491cecfbea07f92f429167b81ead226319c452e4b895db SHA512 15472af90b0dda207eec57701f7e4f796b3aa35ae81491ffaff5611e3e5ff0532c80464c92528d970b5d651774d4a89fd3ab619b53f4871cf1ffd7741625f6e3
+DIST core_unix-0.17.1.tar.gz 403373 BLAKE2B 384bc85e12362e7ec02c9e2e1e38f6350d8c9db682e4e8a23184487a0261b45373460d3f22d7a87856d88bfc1176a1ea5d7d5fa0d88979b81c8250e546c9ea7a SHA512 c4e8ce9d5885ac8fa8d554a97e1857f3a1c933e0eb5dfd4fe874412b9d09e6d0a2973b644733855553f33f5c859719228f0e6aaf3a2b7eb5befb46fc513750de
EBUILD core_unix-0.15.2-r1.ebuild 816 BLAKE2B 375a2b52b415d107c97ea6cae04594747ecaf6eea7c08e94de8ca8debc33bb7d9f91ed723bdbc57c8c09b13a2c6315ece82af9690aaf4a64872d8a26324734c6 SHA512 6499e9c897b923200a23ca9eb642b618d69b4236f41c128bf63abc4e768364c7d121e502daed2282b470be32c2b4bbd8d9e3a6358a8179a60eb76f74efb2aa27
EBUILD core_unix-0.16.0-r1.ebuild 831 BLAKE2B fd3d24c7d260cc8edea06a8d778ac5993a9bed8ad486195f6b548a968e2822e1b81a4e79de736da713eb55cb1719f0db905c31d878cfeb25085b922ccc88988a SHA512 948aea8a5ad80a6beac82ac46576cb2fc402dcd32abc6a52debe713e1413a45b2d46c16d36bce76609fdfda735a31dde7ec6bd82a0bf48c6ed339e3fc56bd655
EBUILD core_unix-0.17.0.ebuild 1121 BLAKE2B 42ea0f78d21348e741851c7f7d1b1acd2a3b8b025882600227d0ec51c07eef66736f08cc8922d54a88edf33096b9019661dd2b528d4bb550de7f0a33fbb50b4d SHA512 d54a2f41eff944ac27b6d134590df939f9c6cef2f8ebd72fbfb2cc81e28a0dda82064439ff8fd585b80fc7d82976abfcc00705a1567951486ce3d1a6e4161b32
+EBUILD core_unix-0.17.1.ebuild 1112 BLAKE2B 6c9acfd3afa139be83f236fab537aeb620058541adc946cb50c3f90b29cb9ccd5860fc0a87b85d86e4d093ce7bb18e791e52443f05703bb8d40693682564dee7 SHA512 6107104df512fa257f4807fae1d7fde3e6a1c4220dd9f4cc58c14326064bef566a09c4fd5a138ed3dc4ad8c4cef5eb95743301fc0c539d66b6e3993054803f9f
MISC metadata.xml 318 BLAKE2B 2179bfab915d936189f80d0c10ee6367fe5ad711df66647da644fa05d8b1b9778d83d2862228955fc11621368a523fa904b639c47a4d8843b42e561127f94baf SHA512 66ae67f04d4f63ed5940c7164f0bfb27097e066c30d07a01c3d773b8b40a7ff6c8f0632e1103b952d310120cc0111690b93495fd0ac6c582652c627006e24bae
diff --git a/dev-ml/core_unix/core_unix-0.17.1.ebuild b/dev-ml/core_unix/core_unix-0.17.1.ebuild
new file mode 100644
index 000000000000..5cf57a86ca53
--- /dev/null
+++ b/dev-ml/core_unix/core_unix-0.17.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit dune toolchain-funcs
+
+DESCRIPTION="Unix-specific portions of Core"
+HOMEPAGE="https://github.com/janestreet/core_unix"
+SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
+IUSE="+ocamlopt"
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-lang/ocaml-5
+ dev-ml/core:${SLOT}[ocamlopt?]
+ dev-ml/core_kernel:${SLOT}[ocamlopt?]
+ dev-ml/expect_test_helpers_core:${SLOT}[ocamlopt?]
+ dev-ml/jane-street-headers:${SLOT}[ocamlopt?]
+ dev-ml/jst-config:${SLOT}[ocamlopt?]
+ dev-ml/ppx_jane:${SLOT}[ocamlopt?]
+ dev-ml/ppx_optcomp:${SLOT}[ocamlopt?]
+ dev-ml/sexplib:${SLOT}[ocamlopt?]
+ >=dev-ml/spawn-0.15:=[ocamlopt?]
+ dev-ml/timezone:${SLOT}[ocamlopt?]
+ dev-ml/uopt:${SLOT}[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-ml/dune-3.11"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.17.0-musl.patch
+)
+
+src_prepare() {
+ sed -i \
+ -e "s:gcc:$(tc-getCC):" \
+ unix_pseudo_terminal/src/discover.sh \
+ || die
+
+ default
+}
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
+}