Skip to content

Commit

Permalink
ocaml-checkseum: update to 0.3.2.
Browse files Browse the repository at this point in the history
### v0.3.2 2021-02-08 Arles (France)

- `freenstanding` support does not need `opam` (@sternenseemann, @dinosaure, #53)
- Fix big-endian support (@dinosaure, #56)
- Use `which` when `command -v` is not available (@dinosaure, @sternenseemann, @mseri, #56)
- Fix `esy` support and on its environment the MirageOS 3 support (@dinosaure, @mseri, #56)
- Upgrade to `ocamlformat.0.19.0` (@dinosaure, #57)

### v0.3.1 2021-23-02 Paris (France)

- Upgrade `checkseum` to `optint.0.0.5` (@dinosaure, #51)

### v0.3.0 2020-11-03 Paris (France)

- Upgrade C artifacts with MirageOS 3.9 (#50, @dinosaure, @hannesm)
- Fix `esy` installation (#49, @dinosaure, @jordwalke, reported by @Faliszek)

### v0.2.1 2020-06-15 Paris (France)

- Move to dune.2.6.0 (#47)

### v0.2.0 2020-06-03 Paris (France)

- fix cross-compilation with `dune -x windows` (#45, @dinosaure, @pirbo)
- add CRC-24 (#43, @dinosaure, @cfcs)
- factorize C stubs (as digestif)
- avoid clash of names when we use `checkseum.c`
  Any functions are prefixed by `checkseum_`
- fix META file (#39 & #41, @hannesm, @dinosaure)
  A test was added to see if runes (static C libraries) are available for
  MirageOS targets (freestanding & xen)
- provide a binary `checkseum` to _digest_ standard input or file
  `checkseum.checkseum` is available to compute check-sum of standard input
  or file. The tool is used only for debugging.
- clean distribution (#38, @dinosaure)
  `checkseum` depends only on `bigarray-compat`, `base-bytes` & `optint`
- `limits.h` is available on any targets (#37, @dinosaure, @pirbo)

### v0.1.1 2019-09-12 Paris (France)

- Compatibility with mirage+dune (#29, @dinosaure)
- Use `bigarray-compat` (#29, @TheLortex)
- Add constraints with < mirage-runtime.4.0.0

  `checkseum` (as some others packages) must be used with MirageOS 4
  where `checkseum.0.9.0` is a compatibility package with Mirage)S 3

- Replace `STDC` macro check by `STDDEF_H_` to be able to compile (#34, @dinosaure)
  checkseum with +32bit compiler variant (#34, @dinosaure)
- Use a much more simpler implementation of CRC32C to be compatible with large set of targets (#34, @dinosaure)
- Avoid fancy operators in OCaml implementation of CRC32 and CRC32C (#34, @dinosaure)
- Require `optint.0.0.3` at least (#34, @dinosaure)
  • Loading branch information
0-wiz-0 committed Feb 14, 2022
1 parent ffd1e85 commit 954b6dc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
14 changes: 9 additions & 5 deletions devel/ocaml-checkseum/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# $NetBSD: Makefile,v 1.3 2021/03/08 08:12:49 jaapb Exp $
# $NetBSD: Makefile,v 1.4 2022/02/14 09:09:29 wiz Exp $

GITHUB_PROJECT= checkseum
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-0.1.0
DISTNAME= checkseum-0.3.2
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
GITHUB_PROJECT= checkseum
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= [email protected]
HOMEPAGE= https://github.com/mirage/checkseum/
COMMENT= Library for Adler-32, CRC32 and CRC32-C algorithms
LICENSE= mit

DEPENDS+= ocaml-bigarray-compat-[0-9]*:../../devel/ocaml-bigarray-compat
DEPENDS+= ocaml-dune-configurator-[0-9]*:../../devel/ocaml-dune-configurator
DEPENDS+= ocaml-optint>=0.1.0:../../devel/ocaml-optint

USE_LANGUAGES= # none
USE_TOOLS+= gmake pkg-config
OCAML_USE_DUNE= yes

.include "../../mk/ocaml.mk"
Expand Down
23 changes: 9 additions & 14 deletions devel/ocaml-checkseum/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2019/07/01 12:32:56 jaapb Exp $
bin/adler32
bin/crc32
bin/crc32c
@comment $NetBSD: PLIST,v 1.3 2022/02/14 09:09:29 wiz Exp $
bin/checkseum.checkseum
${OCAML_SITELIB}/checkseum/META
${OCAML_SITELIB}/checkseum/c/checkseum.cmi
${OCAML_SITELIB}/checkseum/c/checkseum.cmt
Expand All @@ -11,20 +9,14 @@ ${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/c/checkseum_c.a
${OCAML_SITELIB}/checkseum/c/checkseum_c.cma
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/c/checkseum_c.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/c/checkseum_c.cmxs
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/c/libcheckseum_c_stubs.a
${OCAML_SITELIB}/checkseum/checkseum.cmi
${OCAML_SITELIB}/checkseum/checkseum.cmti
${OCAML_SITELIB}/checkseum/checkseum.mli
${OCAML_SITELIB}/checkseum/dune-package
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/laolao/laolao.a
${OCAML_SITELIB}/checkseum/laolao/laolao.cma
${OCAML_SITELIB}/checkseum/laolao/laolao.cmi
${OCAML_SITELIB}/checkseum/laolao/laolao.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/laolao/laolao.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/laolao/laolao.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/laolao/laolao.cmxs
${OCAML_SITELIB}/checkseum/laolao/laolao.ml
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/laolao/liblaolao_stubs.a
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/libcheckseum_freestanding_stubs.a
${OCAML_SITELIB}/checkseum/ocaml/.private/gin_adler32.cmi
${OCAML_SITELIB}/checkseum/ocaml/.private/gin_crc24.cmi
${OCAML_SITELIB}/checkseum/ocaml/.private/gin_crc32.cmi
${OCAML_SITELIB}/checkseum/ocaml/.private/gin_crc32c.cmi
${OCAML_SITELIB}/checkseum/ocaml/checkseum.cmi
Expand All @@ -38,14 +30,17 @@ ${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/ocaml/checkseum_ocaml.cmxs
${OCAML_SITELIB}/checkseum/ocaml/gin_adler32.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/ocaml/gin_adler32.cmx
${OCAML_SITELIB}/checkseum/ocaml/gin_adler32.ml
${OCAML_SITELIB}/checkseum/ocaml/gin_crc24.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/ocaml/gin_crc24.cmx
${OCAML_SITELIB}/checkseum/ocaml/gin_crc24.ml
${OCAML_SITELIB}/checkseum/ocaml/gin_crc32.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/ocaml/gin_crc32.cmx
${OCAML_SITELIB}/checkseum/ocaml/gin_crc32.ml
${OCAML_SITELIB}/checkseum/ocaml/gin_crc32c.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/checkseum/ocaml/gin_crc32c.cmx
${OCAML_SITELIB}/checkseum/ocaml/gin_crc32c.ml
${OCAML_SITELIB}/checkseum/opam
${OCAML_SITELIB}/stublibs/dlllaolao_stubs.so
${OCAML_SITELIB}/stublibs/dllcheckseum_c_stubs.so
share/doc/checkseum/CHANGES.md
share/doc/checkseum/LICENSE.md
share/doc/checkseum/README.md
8 changes: 4 additions & 4 deletions devel/ocaml-checkseum/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2021/10/26 10:15:47 nia Exp $
$NetBSD: distinfo,v 1.5 2022/02/14 09:09:29 wiz Exp $

BLAKE2s (checkseum-0.1.0.tar.gz) = 3241a642c86c678625011ca9ff7344c586db4a06f7930751b5760b14d5cffe92
SHA512 (checkseum-0.1.0.tar.gz) = 6c10fb0ce649c0e603a5d75f580894e8b2fb5540575cb49c3eb42ac5ca7bc1f4eaa52c735e4f91688fdb5c3ec11c94f97663603fb880e84fdcec67ec7a3fb6cb
Size (checkseum-0.1.0.tar.gz) = 32124 bytes
BLAKE2s (checkseum-0.3.2.tar.gz) = 60fa9e8b84522a57559d157e8420b6334ee186c4b9a55c2a33a5cb1bb79bb029
SHA512 (checkseum-0.3.2.tar.gz) = 08de1ebbc83fb7edb6c1148b4793473a5b254d14a9d50818748fbfeea6e14977bd9399d62458f95949a60dcab10240ff299060af9159bffc3cc28708b7e92d63
Size (checkseum-0.3.2.tar.gz) = 35826 bytes

0 comments on commit 954b6dc

Please sign in to comment.