notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
ocaml-cstruct OCaml library and syntax extension to access C-like structures
6.2.0_2 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.2.0Version of this port present on the latest quarterly branch.
Maintainer: freebsd@dev.thsi.be search for ports maintained by this maintainer
Port Added: 2024-05-22 17:18:07
Last Update: 2024-10-15 11:17:56
Commit Hash: fc92008
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: ISCL
WWW:
https://github.com/mirage/ocaml-cstruct
Description:
This library for OCaml contains functionnality to access datastructures using a determined byte-layouts such as networking datagrams or binay file formats (e.g.). A PPX syntax extension is provided to allow the definition of byte-layouts in the form of "cstruct" type definitions -- looking much alike the well-known structure declaration of the C programming language (hence the name of this library) --, and to generate accessor functions to manipule its members. In addition to those core features, the library contains accessory functions allowing: - The representation of "cstruct" as S-expression; - I/O operations over the Unix OCaml library and the Lwt cooperative threading library. The async integration is currently not provided by this port (patch welcome!).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (81 items)
Collapse this list.
  1. /usr/local/share/licenses/ocaml-cstruct-6.2.0_2/catalog.mk
  2. /usr/local/share/licenses/ocaml-cstruct-6.2.0_2/LICENSE
  3. /usr/local/share/licenses/ocaml-cstruct-6.2.0_2/ISCL
  4. lib/ocaml/site-lib/cstruct-lwt/META
  5. lib/ocaml/site-lib/cstruct-lwt/cstruct_lwt.a
  6. lib/ocaml/site-lib/cstruct-lwt/cstruct_lwt.cma
  7. lib/ocaml/site-lib/cstruct-lwt/cstruct_lwt.cmxa
  8. lib/ocaml/site-lib/cstruct-lwt/cstruct_lwt.cmxs
  9. lib/ocaml/site-lib/cstruct-lwt/dune-package
  10. lib/ocaml/site-lib/cstruct-lwt/lwt_cstruct.cmi
  11. lib/ocaml/site-lib/cstruct-lwt/lwt_cstruct.cmt
  12. lib/ocaml/site-lib/cstruct-lwt/lwt_cstruct.cmti
  13. lib/ocaml/site-lib/cstruct-lwt/lwt_cstruct.cmx
  14. lib/ocaml/site-lib/cstruct-lwt/lwt_cstruct.ml
  15. lib/ocaml/site-lib/cstruct-lwt/lwt_cstruct.mli
  16. lib/ocaml/site-lib/cstruct-lwt/opam
  17. lib/ocaml/site-lib/cstruct-sexp/META
  18. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.a
  19. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cma
  20. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cmi
  21. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cmt
  22. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cmti
  23. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cmx
  24. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cmxa
  25. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.cmxs
  26. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.ml
  27. lib/ocaml/site-lib/cstruct-sexp/cstruct_sexp.mli
  28. lib/ocaml/site-lib/cstruct-sexp/dune-package
  29. lib/ocaml/site-lib/cstruct-sexp/opam
  30. lib/ocaml/site-lib/cstruct-unix/META
  31. lib/ocaml/site-lib/cstruct-unix/cstruct_unix.a
  32. lib/ocaml/site-lib/cstruct-unix/cstruct_unix.cma
  33. lib/ocaml/site-lib/cstruct-unix/cstruct_unix.cmxa
  34. lib/ocaml/site-lib/cstruct-unix/cstruct_unix.cmxs
  35. lib/ocaml/site-lib/cstruct-unix/dune-package
  36. lib/ocaml/site-lib/cstruct-unix/opam
  37. lib/ocaml/site-lib/cstruct-unix/unix_cstruct.cmi
  38. lib/ocaml/site-lib/cstruct-unix/unix_cstruct.cmt
  39. lib/ocaml/site-lib/cstruct-unix/unix_cstruct.cmti
  40. lib/ocaml/site-lib/cstruct-unix/unix_cstruct.cmx
  41. lib/ocaml/site-lib/cstruct-unix/unix_cstruct.ml
  42. lib/ocaml/site-lib/cstruct-unix/unix_cstruct.mli
  43. lib/ocaml/site-lib/cstruct/META
  44. lib/ocaml/site-lib/cstruct/cstruct.a
  45. lib/ocaml/site-lib/cstruct/cstruct.cma
  46. lib/ocaml/site-lib/cstruct/cstruct.cmi
  47. lib/ocaml/site-lib/cstruct/cstruct.cmt
  48. lib/ocaml/site-lib/cstruct/cstruct.cmti
  49. lib/ocaml/site-lib/cstruct/cstruct.cmx
  50. lib/ocaml/site-lib/cstruct/cstruct.cmxa
  51. lib/ocaml/site-lib/cstruct/cstruct.cmxs
  52. lib/ocaml/site-lib/cstruct/cstruct.js
  53. lib/ocaml/site-lib/cstruct/cstruct.ml
  54. lib/ocaml/site-lib/cstruct/cstruct.mli
  55. lib/ocaml/site-lib/cstruct/cstruct_cap.cmi
  56. lib/ocaml/site-lib/cstruct/cstruct_cap.cmt
  57. lib/ocaml/site-lib/cstruct/cstruct_cap.cmti
  58. lib/ocaml/site-lib/cstruct/cstruct_cap.cmx
  59. lib/ocaml/site-lib/cstruct/cstruct_cap.ml
  60. lib/ocaml/site-lib/cstruct/cstruct_cap.mli
  61. lib/ocaml/site-lib/cstruct/dllcstruct_stubs.so
  62. lib/ocaml/site-lib/cstruct/dune-package
  63. lib/ocaml/site-lib/cstruct/libcstruct_stubs.a
  64. lib/ocaml/site-lib/cstruct/opam
  65. lib/ocaml/site-lib/ppx_cstruct/META
  66. lib/ocaml/site-lib/ppx_cstruct/dune-package
  67. lib/ocaml/site-lib/ppx_cstruct/opam
  68. lib/ocaml/site-lib/ppx_cstruct/ppx.exe
  69. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.a
  70. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cma
  71. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cmi
  72. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cmt
  73. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cmti
  74. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cmx
  75. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cmxa
  76. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.cmxs
  77. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.ml
  78. lib/ocaml/site-lib/ppx_cstruct/ppx_cstruct.mli
  79. @owner
  80. @group
  81. @mode
Collapse this list.
Dependency lines:
  • ocaml-cstruct>0:devel/ocaml-cstruct
To install the port:
cd /usr/ports/devel/ocaml-cstruct/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ocaml-cstruct
  • pkg install ocaml-cstruct
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ocaml-cstruct
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1710533677 SHA256 (mirage-ocaml-cstruct-v6.2.0_GH0.tar.gz) = 629a4bf17893c48c2f7b951eddc875a61de18bf190bb5a096976837198349cd4 SIZE (mirage-ocaml-cstruct-v6.2.0_GH0.tar.gz) = 244005

Packages (timestamps in pop-ups are UTC):
ocaml-cstruct
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.2.06.2.0_1-6.2.06.2.0_1---
FreeBSD:13:quarterly6.2.06.2.0-6.2.06.2.0---
FreeBSD:14:latest6.2.06.2.0_2-6.2.06.2.0_2---
FreeBSD:14:quarterly6.2.06.2.0-6.2.06.2.0---
FreeBSD:15:latest6.2.06.2.0_1n/a6.2.0n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. META : devel/ocaml-fmt
  2. META : devel/ocaml-lwt
  3. META : devel/ocaml-ppxlib
  4. META : devel/ocaml-sexplib
  5. ocamlc : lang/ocaml
  6. ocaml-dune>=3.7.1_2 : devel/ocaml-dune
Runtime dependencies:
  1. META : devel/ocaml-fmt
  2. META : devel/ocaml-lwt
  3. META : devel/ocaml-ppxlib
  4. META : devel/ocaml-sexplib
  5. ocamlc : lang/ocaml
Patch dependencies:
  1. ocamlc : lang/ocaml
Extract dependencies:
  1. ocamlc : lang/ocaml
This port is required by:
for Build
  1. devel/ocaml-ipaddr
for Run
  1. devel/ocaml-ipaddr

Configuration Options:
===> The following configuration options are available for ocaml-cstruct-6.2.0_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_ocaml-cstruct
USES:
ocaml:dune
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/mirage/ocaml-cstruct/tar.gz/v6.2.0?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.2.0_2
15 Oct 2024 11:17:56
commit hash: fc9200867e270303c170dd81260957cb00fb0092commit hash: fc9200867e270303c170dd81260957cb00fb0092commit hash: fc9200867e270303c170dd81260957cb00fb0092commit hash: fc9200867e270303c170dd81260957cb00fb0092 files touched by this commit
Guido Falsi (madpilot) search for other commits by this committer
devel/ocaml-sexplib0: Bump revisions after dependency update

PR:		282086
6.2.0_1
09 Oct 2024 05:28:31
commit hash: 9133b766df7c5f71d498d5c5ebe8a3b7e00fdf77commit hash: 9133b766df7c5f71d498d5c5ebe8a3b7e00fdf77commit hash: 9133b766df7c5f71d498d5c5ebe8a3b7e00fdf77commit hash: 9133b766df7c5f71d498d5c5ebe8a3b7e00fdf77 files touched by this commit
Zsolt Udvari (uzsolt) search for other commits by this committer
Author: Benjamin Jacobs
*/*: Bump PORTREVISIONS after ocaml-ppxlib update

Commit ID: 25d9e3539b7ff862de62ea62a5044fc6e5faf953

PR:		279337
6.2.0
22 May 2024 17:16:28
commit hash: bb2bea65dbac365184f0efd68e9b79201fe5c533commit hash: bb2bea65dbac365184f0efd68e9b79201fe5c533commit hash: bb2bea65dbac365184f0efd68e9b79201fe5c533commit hash: bb2bea65dbac365184f0efd68e9b79201fe5c533 files touched by this commit
Guido Falsi (madpilot) search for other commits by this committer
Author: Benjamin Jacobs
ocaml: Updates to ocaml compiler and several ocaml ports

- Update devel/ocaml to 4.14.2 [1]
- Specify runtime dependency on GNU AS as full path, this fixes
  build on armv6 - armv7 [1] [2]
- converters/ocaml-base64: Update to 3.5.1, add LICENSE, other
  improvements
- converters/ocaml-jsonm: Strip shared objects [3]
- databases/ocaml-dbm: Update to 1.3, move to gitlub, other
  improvements
- devel/menhir: Update to 20231231
- devel/ocaml-base: Unbreak non-x86 [2]
- devel/ocaml-camlp-streams: Silence patch and strip commands
- devel/ocaml-ipaddr: Update to 5.5.0
- devel/ocaml-lwt: Update to 5.7.0 [4]
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 3