pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-checkseum ocaml-checkseum: update to 0.3.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a11f43e89c3
branches:  trunk
changeset: 373849:1a11f43e89c3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 14 09:09:29 2022 +0000

description:
ocaml-checkseum: update to 0.3.2.

### 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)

diffstat:

 devel/ocaml-checkseum/Makefile |  16 ++++++++++------
 devel/ocaml-checkseum/PLIST    |  23 +++++++++--------------
 devel/ocaml-checkseum/distinfo |   8 ++++----
 3 files changed, 23 insertions(+), 24 deletions(-)

diffs (102 lines):

diff -r 038e98faf264 -r 1a11f43e89c3 devel/ocaml-checkseum/Makefile
--- a/devel/ocaml-checkseum/Makefile    Mon Feb 14 09:07:13 2022 +0000
+++ b/devel/ocaml-checkseum/Makefile    Mon Feb 14 09:09:29 2022 +0000
@@ -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 $
 
+DISTNAME=      checkseum-0.3.2
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mirage/}
 GITHUB_PROJECT=        checkseum
 GITHUB_TAG=    v${PKGVERSION_NOREV}
-DISTNAME=      ${GITHUB_PROJECT}-0.1.0
-PKGNAME=       ocaml-${DISTNAME}
-PKGREVISION=   1
-CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=mirage/}
 
 MAINTAINER=    jaapb%NetBSD.org@localhost
 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"
diff -r 038e98faf264 -r 1a11f43e89c3 devel/ocaml-checkseum/PLIST
--- a/devel/ocaml-checkseum/PLIST       Mon Feb 14 09:07:13 2022 +0000
+++ b/devel/ocaml-checkseum/PLIST       Mon Feb 14 09:09:29 2022 +0000
@@ -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
@@ -11,20 +9,14 @@
 ${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
@@ -38,6 +30,9 @@
 ${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
@@ -45,7 +40,7 @@
 ${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
diff -r 038e98faf264 -r 1a11f43e89c3 devel/ocaml-checkseum/distinfo
--- a/devel/ocaml-checkseum/distinfo    Mon Feb 14 09:07:13 2022 +0000
+++ b/devel/ocaml-checkseum/distinfo    Mon Feb 14 09:09:29 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index