From ff89db2ca498b79f8267fa5477f49d5215983a33 Mon Sep 17 00:00:00 2001 From: Calascibetta Romain Date: Mon, 18 Sep 2023 10:18:26 +0200 Subject: [PATCH] [new release] checkseum (0.5.2) CHANGES: - Fix `adler32` for OCaml implementation (integer overflow) (@dinosaure, mirage/checkseum#83) --- packages/checkseum/checkseum.0.5.2/opam | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 packages/checkseum/checkseum.0.5.2/opam diff --git a/packages/checkseum/checkseum.0.5.2/opam b/packages/checkseum/checkseum.0.5.2/opam new file mode 100644 index 00000000000..051026d81ab --- /dev/null +++ b/packages/checkseum/checkseum.0.5.2/opam @@ -0,0 +1,54 @@ +opam-version: "2.0" +maintainer: [ "Romain Calascibetta " ] +authors: [ "Romain Calascibetta " ] +homepage: "https://github.com/mirage/checkseum" +bug-reports: "https://github.com/mirage/checkseum/issues" +dev-repo: "git+https://github.com/mirage/checkseum.git" +doc: "https://mirage.github.io/checkseum/" +license: "MIT" +synopsis: "Adler-32, CRC32 and CRC32-C implementation in C and OCaml" +description: """ +Checkseum is a library to provide implementation of Adler-32, CRC32 and CRC32-C +in C and OCaml. + +This library use the linking trick to choose between the C implementation +(checkseum.c) or the OCaml implementation (checkseum.ocaml). This library is on +top of optint to get the best representation of an int32. """ + +build: [ + [ "dune" "build" "-p" name "-j" jobs ] + [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} +] + +install: [ + [ "dune" "install" "-p" name ] {with-test} + [ "ocaml" "./test/test_runes.ml" ] {with-test} +] + +depends: [ + "ocaml" {>= "4.07.0"} + "dune" {>= "2.6.0"} + "dune-configurator" + "optint" {>= "0.3.0"} + "alcotest" {with-test} + "bos" {with-test} + "astring" {with-test} + "fmt" {with-test} + "fpath" {with-test} + "rresult" {with-test} + "ocamlfind" {with-test} +] + +conflicts: [ + "mirage-xen" {< "6.0.0"} + "ocaml-freestanding" +] +url { + src: + "https://github.com/mirage/checkseum/releases/download/v0.5.2/checkseum-0.5.2.tbz" + checksum: [ + "sha256=9e5e4fd4405cb4a8b4df00877543251833e08a6499ef42ccb8dba582df0dafc8" + "sha512=b66261effaa561ce5cb8d92a3ec78565a5579bf3d3c4b7f08eba59998ac4d7f49ae9c240986c231b22b965c93a949a8a2e35edec42277ecb5602829945fba6db" + ] +} +x-commit-hash: "79867ddb97f347657ff2ec026da1d77ec7864db6"