public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-cryptokit] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-09 18:24 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-09 18:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-cryptokit
Branch : rawhide
Commit : b5ef9dc7deb0b48847e35284410daaa4613028ed
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-09T12:24:15-06:00
Stats : +28/-32 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-cryptokit/c/b5ef9dc7deb0b48847e35284410daaa4613028ed?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Version 1.21.1
- Use the dune declarative buildsystem
---
diff --git a/.gitignore b/.gitignore
index abeb54b..627d06f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ cryptokit-1.3.tar.gz
/cryptokit-1.16.1.tar.gz
/cryptokit-1.18.tar.gz
/cryptokit-1.20.1.tar.gz
+/cryptokit-1.21.1.tar.gz
diff --git a/ocaml-cryptokit.spec b/ocaml-cryptokit.spec
index 315b235..e9bc9ec 100644
--- a/ocaml-cryptokit.spec
+++ b/ocaml-cryptokit.spec
@@ -2,8 +2,8 @@
ExcludeArch: %{ix86}
Name: ocaml-cryptokit
-Version: 1.20.1
-Release: 9%{?dist}
+Version: 1.21.1
+Release: 1%{?dist}
Summary: OCaml library of cryptographic and hash functions
%global upver %(tr -d . <<< %{version})
@@ -17,37 +17,39 @@ Source0: %{url}/archive/release%{upver}/cryptokit-%{version}.tar.gz
# Use zlib-ng directly instead of via the zlib compatibility API
Patch: %{name}-zlib-ng.patch
-BuildRequires: ocaml >= 4.08.0
+BuildSystem: dune
+BuildRequires: ocaml >= 4.13.0
BuildRequires: ocaml-dune >= 2.5
BuildRequires: ocaml-dune-configurator-devel
-BuildRequires: ocaml-zarith-devel >= 1.4
+BuildRequires: ocaml-zarith-devel >= 1.13
BuildRequires: pkgconfig(gmp)
BuildRequires: pkgconfig(zlib-ng)
%description
-The Cryptokit library for Objective Caml provides a variety of
-cryptographic primitives that can be used to implement cryptographic
-protocols in security-sensitive applications. The primitives provided
-include:
+The Cryptokit library for Objective Caml provides a variety of cryptographic
+primitives that can be used to implement cryptographic protocols in
+security-sensitive applications. The primitives provided include:
* Symmetric-key cryptography: AES, Chacha20, DES, Triple-DES, Blowfish,
ARCfour, in ECB, CBC, CFB, OFB and counter modes.
* Authenticated encryption: AES-GCM, Chacha20-Poly1305.
-* Public-key cryptography: RSA encryption and signature; Diffie-Hellman
- key agreement.
-* Hash functions and MACs: SHA-3, SHA-2, BLAKE2, BLAKE3, RIPEMD-160;
- MACs based on AES and DES; SipHash. (SHA-1 and MD5, despite being
- broken, are also provided for historical value.)
+* Public-key cryptography: RSA encryption and signature, ECDSA signature,
+ Diffie-Hellman key agreement.
+* Hash functions and MACs: SHA-3, SHA-2, BLAKE2, BLAKE3, RIPEMD-160; MACs
+ based on AES and DES; SipHash. (SHA-1 and MD5, despite being broken, are
+ also provided for historical value.)
+* Key derivation: KDF1, KDF2, KDF3, PBKDF2.
* Random number generation.
* Encodings and compression: base 64, hexadecimal, Zlib compression.
+* Elliptic curves (only in Weierstrass form at this point).
-Additional ciphers and hashes can easily be used in conjunction with
-the library. In particular, basic mechanisms such as chaining modes,
-output buffering, and padding are provided by generic classes that can
-easily be composed with user-provided ciphers. More generally, the
-library promotes a "Lego"-like style of constructing and composing
-transformations over character streams.
+Additional ciphers and hashes can easily be used in conjunction with the
+library. In particular, basic mechanisms such as chaining modes, output
+buffering, and padding are provided by generic classes that can easily be
+composed with user-provided ciphers. More generally, the library promotes a
+"Lego"-like style of constructing and composing transformations over character
+streams.
%package devel
@@ -64,23 +66,11 @@ developing applications that use %{name}.
%prep
%autosetup -n cryptokit-release%{upver} -p1
-
-%build
# On x86 and x86_64, the configure script finds support for the -maes flag in
# the compiler, and uses it to compile src/aesni.{c,h}. This is okay because
# use of the compiled code is conditional. The function aesni_check_available()
# is called first, which checks the CPUID to verify that the instructions exist
# on the CPU. Therefore, older CPUs can still run the compiled code.
-%dune_build
-
-
-%check
-# This opens /dev/random but never reads from it.
-%dune_check
-
-
-%install
-%dune_install
%files -f .ofiles
@@ -92,6 +82,11 @@ developing applications that use %{name}.
%changelog
+* Mon Jul 06 2026 Jerry James <loganjerry@gmail.com> - 1.21.1-1
+- OCaml 5.5.0 rebuild
+- Version 1.21.1
+- Use the dune declarative buildsystem
+
* Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 1.20.1-9
- OCaml 5.4.1 rebuild
diff --git a/sources b/sources
index 9373858..7fcc0a4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cryptokit-1.20.1.tar.gz) = 7b1e2ba8b99b11a04522ffe4b6b92278bc772d9888967757ab013151211fc85d29847af566677f2b9c3200e45b857600a70356ca6ed80ca299508808057358b1
+SHA512 (cryptokit-1.21.1.tar.gz) = 9bbe610b226d719f2b1a478e1584adbd2d12515190ebea6d88259772df6b66f7184914efe5baf43b9074bb1f0424224c6d8cf890e126cacf6f94744c78d83636
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 18:24 [rpms/ocaml-cryptokit] rawhide: OCaml 5.5.0 rebuild Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox