From 306d058cea4ff8f40c79e43d4df91f79e6056f3a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 03:14:11 +0000 Subject: [PATCH 01/32] add optint v0.3 --- .../optint-windows/optint-windows.0.3.0/opam | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/optint-windows/optint-windows.0.3.0/opam diff --git a/packages/optint-windows/optint-windows.0.3.0/opam b/packages/optint-windows/optint-windows.0.3.0/opam new file mode 100644 index 00000000..1a959791 --- /dev/null +++ b/packages/optint-windows/optint-windows.0.3.0/opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +maintainer: [ "romain.calascibetta@gmail.com" ] +authors: "Romain Calascibetta" +license: "ISC" +homepage: "https://github.com/mirage/optint" +bug-reports: "https://github.com/mirage/optint/issues" +dev-repo: "git+https://github.com/mirage/optint.git" +doc: "https://mirage.github.io/optint/" +synopsis: "Efficient integer types on 64-bit architectures" +description: """ +This library provides two new integer types, `Optint.t` and `Int63.t`, which +guarantee efficient representation on 64-bit architectures and provide a +best-effort boxed representation on 32-bit architectures. + +Implementation depends on target architecture. +""" + +build: ["dune" "build" "-p" "optint" "-j" jobs "-x" "windows"] + +depends: [ + "ocaml-windows" {>= "4.07.0"} + "dune" +] +url { + src: + "https://github.com/mirage/optint/releases/download/v0.3.0/optint-0.3.0.tbz" + checksum: [ + "sha256=295cff2c134b0385b13ba81d5005d9f841ba40d4a502aed10c997f239ef1147b" + "sha512=15ec97a076584e8ea28c589f1db3b9a0dd6fd5a7950528a1d136761cc13bca0e6e7bf6e0f87c73578a37393c213a7a0f3e7beaabd924e176459b29af52b8dd11" + ] +} +x-commit-hash: "66d321700e7c8c6cbcd3cd7c391e35d4943eac4b" From efcbaf5f9598a84e733e782f7436c86d9ed1c3a9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 03:26:19 +0000 Subject: [PATCH 02/32] update checkseum to 0.5.2 --- .../checkseum-windows.0.5.2/opam | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 packages/checkseum-windows/checkseum-windows.0.5.2/opam diff --git a/packages/checkseum-windows/checkseum-windows.0.5.2/opam b/packages/checkseum-windows/checkseum-windows.0.5.2/opam new file mode 100644 index 00000000..b3e4c20b --- /dev/null +++ b/packages/checkseum-windows/checkseum-windows.0.5.2/opam @@ -0,0 +1,41 @@ +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" "checkseum" "-j" jobs "-x" "windows" ] +] + +depends: [ + "ocaml-windows" {>= "4.07.0"} + "dune" {>= "2.6.0"} + "dune-configurator" + "optint-windows" {>= "0.3.0"} +] + +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" From c9f5ddf3a3597c43e14294deb5c434262b708c03 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 03:47:07 +0000 Subject: [PATCH 03/32] update cmdliner to 1.3.0 --- .../cmdliner-windows.1.3.0/opam | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 packages/cmdliner-windows/cmdliner-windows.1.3.0/opam diff --git a/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam b/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam new file mode 100644 index 00000000..65642001 --- /dev/null +++ b/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam @@ -0,0 +1,39 @@ +opam-version: "2.0" +synopsis: "Declarative definition of command line interfaces for OCaml" +description: """\ +Cmdliner allows the declarative definition of command line interfaces +for OCaml. + +It provides a simple and compositional mechanism to convert command +line arguments to OCaml values and pass them to your functions. The +module automatically handles syntax errors, help messages and UNIX man +page generation. It supports programs with single or multiple commands +and respects most of the [POSIX][1] and [GNU][2] conventions. + +Cmdliner has no dependencies and is distributed under the ISC license. + +[1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html +[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html + +Home page: http://erratique.ch/software/cmdliner""" +maintainer: "Daniel Bünzli " +authors: "The cmdliner programmers" +license: "ISC" +tags: ["cli" "system" "declarative" "org:erratique"] +homepage: "https://erratique.ch/software/cmdliner" +doc: "https://erratique.ch/software/cmdliner/doc" +bug-reports: "https://github.com/dbuenzli/cmdliner/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} +] +build: [make "all" "PREFIX=%{prefix}%"] +install: [ + [make "install" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"] + [make "install-doc" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"] +] +dev-repo: "git+https://erratique.ch/repos/cmdliner.git" +url { + src: "https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz" + checksum: + "sha512=4c46bc334444ff772637deae2f5ba03645d7a1b7db523470a1246acfce79b971c764d964cbb02388639b3161b279700d9ade95da550446fb32aa4849c8a8f283" +} From f4537f2ae017089eb2de6453a7940fb840c9f458 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 03:40:43 +0000 Subject: [PATCH 04/32] update decompress to 1.5.3 --- .../decompress-windows.1.5.3/opam | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/decompress-windows/decompress-windows.1.5.3/opam diff --git a/packages/decompress-windows/decompress-windows.1.5.3/opam b/packages/decompress-windows/decompress-windows.1.5.3/opam new file mode 100644 index 00000000..61f267eb --- /dev/null +++ b/packages/decompress-windows/decompress-windows.1.5.3/opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +maintainer: "Romain Calascibetta " +authors: "Romain Calascibetta " +homepage: "https://github.com/mirage/decompress" +bug-reports: "https://github.com/mirage/decompress/issues" +dev-repo: "git+https://github.com/mirage/decompress.git" +doc: "https://mirage.github.io/decompress/" +license: "MIT" +synopsis: "Implementation of Zlib and GZip in OCaml" +description: """Decompress is an implementation of Zlib and GZip in OCaml + +It provides a pure non-blocking interface to inflate and deflate data flow. +""" + +build: [ "dune" "build" "-p" "decompress" "-j" jobs "-x" "windows" ] + +depends: [ + "ocaml-windows" {>= "4.07.0"} + "dune" {>= "2.8.0"} + "cmdliner-windows" {>= "1.1.0"} + "optint-windows" {>= "0.1.0"} + "checkseum-windows" {>= "0.2.0"} +] +url { + src: + "https://github.com/mirage/decompress/releases/download/v1.5.3/decompress-1.5.3.tbz" + checksum: [ + "sha256=f91e6978beff3fcb61440d32f7c99c99f1e8654b4fb18408741d36035373ac60" + "sha512=c3f402404f76075e6f692ea36e701134a5d833824d5d1166365c6c81fb18b309270bf288ce4c118ac44fd0366d9b6eea0a6309255678d8e1bd2bbfa7ba843461" + ] +} +x-commit-hash: "52ff65a1c234a98d925ceaba8df7f08c1754e8e5" From 028cdf9fa8e4a2bf4095f3c6af93e2426004528f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 03:52:40 +0000 Subject: [PATCH 05/32] fix cmdliner --- packages/cmdliner-windows/cmdliner-windows.1.3.0/findlib | 1 + 1 file changed, 1 insertion(+) create mode 100644 packages/cmdliner-windows/cmdliner-windows.1.3.0/findlib diff --git a/packages/cmdliner-windows/cmdliner-windows.1.3.0/findlib b/packages/cmdliner-windows/cmdliner-windows.1.3.0/findlib new file mode 100644 index 00000000..3493ae40 --- /dev/null +++ b/packages/cmdliner-windows/cmdliner-windows.1.3.0/findlib @@ -0,0 +1 @@ +cmdliner From 39c40e0021cde9da0c362e684e96060d25783574 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 03:56:13 +0000 Subject: [PATCH 06/32] fix cmdliner --- .../cmdliner-windows.1.3.0/opam | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam b/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam index 65642001..6f888f7e 100644 --- a/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam +++ b/packages/cmdliner-windows/cmdliner-windows.1.3.0/opam @@ -1,8 +1,26 @@ opam-version: "2.0" +maintainer: "Daniel Bünzli " +authors: ["Daniel Bünzli "] +homepage: "http://erratique.ch/software/cmdliner" +doc: "http://erratique.ch/software/cmdliner/doc/Cmdliner" +dev-repo: "git+http://erratique.ch/repos/cmdliner.git" +bug-reports: "https://github.com/dbuenzli/cmdliner/issues" +tags: [ "cli" "system" "declarative" "org:erratique" ] +license: "ISC" +build: [["ocaml" "pkg/pkg.ml" "build" "--toolchain" "windows"]] +install: [["opam-installer" "--prefix=%{prefix}%/windows-sysroot" "cmdliner.install"]] +remove: [["ocamlfind" "-toolchain" "windows" "remove" "cmdliner"]] +depends: [ + "ocaml" {>= "4.01.0"} + "ocamlbuild" {build} + "topkg" {build} + "ocaml-windows" + "opam-installer" {build} +] synopsis: "Declarative definition of command line interfaces for OCaml" -description: """\ -Cmdliner allows the declarative definition of command line interfaces -for OCaml. +description: """ +Cmdliner is a module for the declarative definition of command line +interfaces. It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The @@ -10,28 +28,12 @@ module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands and respects most of the [POSIX][1] and [GNU][2] conventions. -Cmdliner has no dependencies and is distributed under the ISC license. +Cmdliner is made of a single independent module and distributed under +the BSD3 license. [1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html -[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html - -Home page: http://erratique.ch/software/cmdliner""" -maintainer: "Daniel Bünzli " -authors: "The cmdliner programmers" -license: "ISC" -tags: ["cli" "system" "declarative" "org:erratique"] -homepage: "https://erratique.ch/software/cmdliner" -doc: "https://erratique.ch/software/cmdliner/doc" -bug-reports: "https://github.com/dbuenzli/cmdliner/issues" -depends: [ - "ocaml-windows" {>= "4.08.0"} -] -build: [make "all" "PREFIX=%{prefix}%"] -install: [ - [make "install" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"] - [make "install-doc" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"] -] -dev-repo: "git+https://erratique.ch/repos/cmdliner.git" +[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html""" +flags: light-uninstall url { src: "https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz" checksum: From 3c24615db8e08ccc4101b13da0ed75cbce681b0c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:04:43 +0000 Subject: [PATCH 07/32] add cohttp-lwt-unix at version 5.3.0 --- .../cohttp-lwt-unix-windows.5.3.0/opam | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam diff --git a/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam b/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam new file mode 100644 index 00000000..64b09140 --- /dev/null +++ b/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam @@ -0,0 +1,53 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" + "Stefano Zacchiroli" + "David Sheets" + "Thomas Gazagnaire" + "David Scott" + "Rudi Grinberg" + "Andy Ray" +] +synopsis: "CoHTTP implementation for Unix and Windows using Lwt" +description: """ +An implementation of an HTTP client and server using the Lwt +concurrency library. See the `Cohttp_lwt_unix` module for information +on how to use this. The package also installs `cohttp-curl-lwt` +and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S) +client and server respectively. + +Although the name implies that this only works under Unix, it +should also be fine under Windows too.""" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-cohttp" +doc: "https://mirage.github.io/ocaml-cohttp/" +bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" +depends: [ + "ocaml-windows" {>= "4.08"} + "dune" {>= "2.0"} + "conduit-lwt-windows" {>= "5.0.0"} + "conduit-lwt-unix-windows" {>= "5.0.0"} + "cmdliner-windows" {>= "1.1.0"} + "magic-mime-windows" + "logs-windows" + "fmt-windows" {>= "0.8.2"} + "cohttp-lwt-windows" {>= "5.3.0" & <= "5.3.1"} + "ppx_sexp_conv-windows" {>= "v0.13.0"} + "lwt-windows" {>= "3.0.0"} + "base-unix-windows" +] +build: [ + ["dune" "build" "-p" "cohttp-lwt-unix" "-j" jobs "-x" "windows" ] +] +dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" +url { + src: + "https://github.com/mirage/ocaml-cohttp/releases/download/v5.3.0/cohttp-5.3.0.tbz" + checksum: [ + "sha256=b3bd91c704e5ea510e924b83ab2ede1fc46a2cce448b0f8cef4883b9a16eeddd" + "sha512=529930d9b1f38737d91f47cb94f8bae381df87ea941cb8e75ee798354763bdf5091f4f3be31d0ba14b9944dc68203a3d98e235c38c66e7e176a114be9ff4acf3" + ] +} +x-commit-hash: "74a6f8d1c9669397c83c75c130ef5cb4dd62326b" From e492123edc01ef9ba78ec7bd67c2c8d71bd7629f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:12:34 +0000 Subject: [PATCH 08/32] add cohttp-lwt at version 5.3.0 --- .../cohttp-lwt-windows.5.3.0/opam | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 packages/cohttp-lwt-windows/cohttp-lwt-windows.5.3.0/opam diff --git a/packages/cohttp-lwt-windows/cohttp-lwt-windows.5.3.0/opam b/packages/cohttp-lwt-windows/cohttp-lwt-windows.5.3.0/opam new file mode 100644 index 00000000..f13bad9e --- /dev/null +++ b/packages/cohttp-lwt-windows/cohttp-lwt-windows.5.3.0/opam @@ -0,0 +1,49 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" + "Stefano Zacchiroli" + "David Sheets" + "Thomas Gazagnaire" + "David Scott" + "Rudi Grinberg" + "Andy Ray" +] +synopsis: "CoHTTP implementation using the Lwt concurrency library" +description: """ +This is a portable implementation of HTTP that uses the Lwt +concurrency library to multiplex IO. It implements as much of the +logic in an OS-independent way as possible, so that more specialised +modules can be tailored for different targets. For example, you +can install `cohttp-lwt-unix` or `cohttp-lwt-jsoo` for a Unix or +JavaScript backend, or `cohttp-mirage` for the MirageOS unikernel +version of the library. All of these implementations share the same +IO logic from this module.""" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-cohttp" +doc: "https://mirage.github.io/ocaml-cohttp/" +bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" +depends: [ + "ocaml-windows" {>= "4.08"} + "dune" {>= "2.0"} + "cohttp-windows" {>= "5.3.0" & <= "5.3.1"} + "lwt-windows" {>= "2.5.0"} + "sexplib0-windows" + "ppx_sexp_conv-windows" {>= "v0.13.0"} + "logs-windows" + "uri-windows" {>= "2.0.0"} +] +build: [ + ["dune" "build" "-p" "cohttp-lwt" "-j" jobs "-x" "windows" ] +] +dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" +url { + src: + "https://github.com/mirage/ocaml-cohttp/releases/download/v5.3.0/cohttp-5.3.0.tbz" + checksum: [ + "sha256=b3bd91c704e5ea510e924b83ab2ede1fc46a2cce448b0f8cef4883b9a16eeddd" + "sha512=529930d9b1f38737d91f47cb94f8bae381df87ea941cb8e75ee798354763bdf5091f4f3be31d0ba14b9944dc68203a3d98e235c38c66e7e176a114be9ff4acf3" + ] +} +x-commit-hash: "74a6f8d1c9669397c83c75c130ef5cb4dd62326b" From 0a485cee28a13eb91ea2db0a6684eb8e00c90a79 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:15:25 +0000 Subject: [PATCH 09/32] add cohttp at version 5.3.0 --- .../cohttp-windows/cohttp-windows.5.3.0/opam | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 packages/cohttp-windows/cohttp-windows.5.3.0/opam diff --git a/packages/cohttp-windows/cohttp-windows.5.3.0/opam b/packages/cohttp-windows/cohttp-windows.5.3.0/opam new file mode 100644 index 00000000..18a85d6f --- /dev/null +++ b/packages/cohttp-windows/cohttp-windows.5.3.0/opam @@ -0,0 +1,57 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" + "Stefano Zacchiroli" + "David Sheets" + "Thomas Gazagnaire" + "David Scott" + "Rudi Grinberg" + "Andy Ray" +] +synopsis: "An OCaml library for HTTP clients and servers" +description: """ +Cohttp is an OCaml library for creating HTTP daemons. It has a portable +HTTP parser, and implementations using various asynchronous programming +libraries. + +See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and +cohttp-mirage libraries for concrete implementations for particular +targets. + +You can implement other targets using the parser very easily. Look at the `IO` +signature in `lib/s.mli` and implement that in the desired backend. + +You can activate some runtime debugging by setting `COHTTP_DEBUG` to any +value, and all requests and responses will be written to stderr. Further +debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG` +to any value.""" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-cohttp" +doc: "https://mirage.github.io/ocaml-cohttp/" +bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" +depends: [ + ("ocaml-windows" {>= "4.08" & < "5.0"} | ("ocaml" {>= "5.0"} & "base-bytes")) + "dune" {>= "2.0"} + "re-windows" {>= "1.9.0"} + "uri-windows" {>= "2.0.0"} + "uri-sexp-windows" + "sexplib0-windows" + "ppx_sexp_conv-windows" {>= "v0.13.0"} + "stringext-windows" + "base64-windows" {>= "3.1.0"} +] +build: [ + ["dune" "build" "-p" "cohttp" "-j" jobs "-x" "windows" ] +] +dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" +url { + src: + "https://github.com/mirage/ocaml-cohttp/releases/download/v5.3.0/cohttp-5.3.0.tbz" + checksum: [ + "sha256=b3bd91c704e5ea510e924b83ab2ede1fc46a2cce448b0f8cef4883b9a16eeddd" + "sha512=529930d9b1f38737d91f47cb94f8bae381df87ea941cb8e75ee798354763bdf5091f4f3be31d0ba14b9944dc68203a3d98e235c38c66e7e176a114be9ff4acf3" + ] +} +x-commit-hash: "74a6f8d1c9669397c83c75c130ef5cb4dd62326b" From c31ac67a9f138a98ad2756fe989fb76f20f0fc2c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:18:40 +0000 Subject: [PATCH 10/32] add uri-sexp at version 4.2.0 --- .../uri-sexp-windows.4.2.0/opam | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/uri-sexp-windows/uri-sexp-windows.4.2.0/opam diff --git a/packages/uri-sexp-windows/uri-sexp-windows.4.2.0/opam b/packages/uri-sexp-windows/uri-sexp-windows.4.2.0/opam new file mode 100644 index 00000000..3f63ce7c --- /dev/null +++ b/packages/uri-sexp-windows/uri-sexp-windows.4.2.0/opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "David Sheets" "Rudi Grinberg"] +license: "ISC" +tags: ["url" "uri" "org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-uri" +bug-reports: "https://github.com/mirage/ocaml-uri/issues" +dev-repo: "git+https://github.com/mirage/ocaml-uri.git" +doc: "https://mirage.github.io/ocaml-uri/" +synopsis: "An RFC3986 URI/URL parsing library" +description: """ +ocaml-uri with sexp support +""" +depends: [ + "ocaml-windows" + "uri-windows" {= version} + "dune" {>= "1.2.0"} + "ppx_sexp_conv-windows" {>= "v0.13.0"} + "sexplib0-windows" +] +build: [ + ["dune" "build" "-p" "uri-sexp" "-j" jobs "-x" "windows" ] +] +x-commit-hash: "0ff3efbbc235bef5a7d67cc01bc1dadbe2e859b9" +url { + src: + "https://github.com/mirage/ocaml-uri/releases/download/v4.2.0/uri-v4.2.0.tbz" + checksum: [ + "sha256=c5c013d940dbb6731ea2ee75c2bf991d3435149c3f3659ec2e55476f5473f16b" + "sha512=119e39bf53db9e94383a4e3a3df492b60b2db097266b3a8660de431ad85bc87997718305972fd2abbfb529973475ce6b210ba5e34d12e85a5dabbb0e24130aa1" + ] +} From d38cbf296f96e8e78a92b806f6701f0803be7718 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:27:06 +0000 Subject: [PATCH 11/32] update base64 to 3.5.1 --- .../base64-windows/base64-windows.3.5.1/opam | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/base64-windows/base64-windows.3.5.1/opam diff --git a/packages/base64-windows/base64-windows.3.5.1/opam b/packages/base64-windows/base64-windows.3.5.1/opam new file mode 100644 index 00000000..77393e1a --- /dev/null +++ b/packages/base64-windows/base64-windows.3.5.1/opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +maintainer: "mirageos-devel@lists.xenproject.org" +authors: [ "Thomas Gazagnaire" + "Anil Madhavapeddy" "Calascibetta Romain" + "Peter Zotov" ] +license: "ISC" +homepage: "https://github.com/mirage/ocaml-base64" +doc: "https://mirage.github.io/ocaml-base64/" +bug-reports: "https://github.com/mirage/ocaml-base64/issues" +dev-repo: "git+https://github.com/mirage/ocaml-base64.git" +synopsis: "Base64 encoding for OCaml" +description: """ +Base64 is a group of similar binary-to-text encoding schemes that represent +binary data in an ASCII string format by translating it into a radix-64 +representation. It is specified in RFC 4648. +""" +depends: [ + "ocaml-windows" {>= "4.03.0"} + "dune" {>= "2.3"} +] +build: [ + ["dune" "build" "-p" "base64" "-j" jobs "-x" "windows"] +] +url { + src: + "https://github.com/mirage/ocaml-base64/releases/download/v3.5.1/base64-3.5.1.tbz" + checksum: [ + "sha256=d8fedaa59bd12feae7acc08b5928dd478aac523f4ca8d240470d2500651c65ed" + "sha512=278bd2029800d90ed88ff59b9de723013e645523556a1667b64178d6b5058a7d6da91efffef3589c35569b5fa10ddee74c93f5a3d156b9146c8af5b7fe44aeaf" + ] +} +x-commit-hash: "084346f14ed1e6706d733402dd6ff65b0dc4f718" From e8029669968cd2014a2de1933669677e279f46ea Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:36:31 +0000 Subject: [PATCH 12/32] update lwt to 5.0.7 --- packages/lwt-windows/lwt-windows.5.0.7/opam | 55 +++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 packages/lwt-windows/lwt-windows.5.0.7/opam diff --git a/packages/lwt-windows/lwt-windows.5.0.7/opam b/packages/lwt-windows/lwt-windows.5.0.7/opam new file mode 100644 index 00000000..ee63cce2 --- /dev/null +++ b/packages/lwt-windows/lwt-windows.5.0.7/opam @@ -0,0 +1,55 @@ +opam-version: "2.0" + +synopsis: "Promises and event-driven I/O" +license: "MIT" +homepage: "https://github.com/ocsigen/lwt" +doc: "https://ocsigen.org/lwt" +bug-reports: "https://github.com/ocsigen/lwt/issues" + +authors: [ + "Jérôme Vouillon" + "Jérémie Dimino" +] +maintainer: [ + "Raphaël Proust " + "Anton Bachin " +] +dev-repo: "git+https://github.com/ocsigen/lwt.git" + +depends: [ + "cppo" {build & >= "1.1.0"} + "dune" {>= "1.8.0"} + "dune-configurator" + "ocaml-windows" {>= "4.08"} + "ocplib-endian-windows" + + # Until https://github.com/aantron/bisect_ppx/pull/327. + # "bisect_ppx" {dev & >= "2.0.0"} + "ocamlfind" {dev & >= "1.7.3-1"} +] + +depopts: [ + "base-threads" + "base-unix" + "conf-libev" +] + +build: [ + ["dune" "build" "-p" "lwt" "-j" jobs "-x" "windows"] +] + +description: "A promise is a value that may become determined in the future. + +Lwt provides typed, composable promises. Promises that are resolved by I/O are +resolved by Lwt in parallel. + +Meanwhile, OCaml code, including code creating and waiting on promises, runs in +a single thread by default. This reduces the need for locks or other +synchronization primitives. Code can be run in parallel on an opt-in basis." +url { + src: "https://github.com/ocsigen/lwt/archive/refs/tags/5.7.0.tar.gz" + checksum: [ + "md5=737039d29d45b2d2b35db6931c8d75c6" + "sha512=42e629920783428673b99c9d7a639237c9e6b35079b5d907bc67e7ea506acf9edadc48cec580bdcfd2410ed9412bf5e6bcc8b09de2fa7d35ce1490973d05ddd1" + ] +} From a9b265abf2d7d6c97ce172d350ccfeb250627421 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:49:32 +0000 Subject: [PATCH 13/32] add macaddr and ipaddr at version 5.6.0 --- .../ipaddr-windows/ipaddr-windows.5.6.0/opam | 39 +++++++++++++++++++ .../macaddr-windows.5.6.0/opam | 37 ++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 packages/ipaddr-windows/ipaddr-windows.5.6.0/opam create mode 100644 packages/macaddr-windows/macaddr-windows.5.6.0/opam diff --git a/packages/ipaddr-windows/ipaddr-windows.5.6.0/opam b/packages/ipaddr-windows/ipaddr-windows.5.6.0/opam new file mode 100644 index 00000000..a63f1f19 --- /dev/null +++ b/packages/ipaddr-windows/ipaddr-windows.5.6.0/opam @@ -0,0 +1,39 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"] +synopsis: "A library for manipulation of MAC address representations" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-ipaddr" +doc: "https://mirage.github.io/ocaml-ipaddr/" +bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "1.9.0"} + "macaddr-windows" {= version} + "domain-name-windows" {>= "0.3.0"} +] +conflicts: [ "ipaddr" {< "3.0.0"} ] +build: [ + ["dune" "build" "-p" "ipaddr" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git" +description: """ +A library for manipulation of MAC address representations. + +Features: + + * ounit2-based tests + * MAC-48 (Ethernet) address support + * `Macaddr` is a `Map.OrderedType` + * All types have sexplib serializers/deserializers optionally via the `Macaddr_sexp` library. + """ +url { + src: + "https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz" + checksum: [ + "sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133" + "sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34" + ] +} +x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4" diff --git a/packages/macaddr-windows/macaddr-windows.5.6.0/opam b/packages/macaddr-windows/macaddr-windows.5.6.0/opam new file mode 100644 index 00000000..505f26a8 --- /dev/null +++ b/packages/macaddr-windows/macaddr-windows.5.6.0/opam @@ -0,0 +1,37 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"] +synopsis: "A library for manipulation of MAC address representations" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-ipaddr" +doc: "https://mirage.github.io/ocaml-ipaddr/" +bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "1.9.0"} +] +conflicts: [ "ipaddr" {< "3.0.0"} ] +build: [ + ["dune" "build" "-p" "macaddr" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git" +description: """ +A library for manipulation of MAC address representations. + +Features: + + * ounit2-based tests + * MAC-48 (Ethernet) address support + * `Macaddr` is a `Map.OrderedType` + * All types have sexplib serializers/deserializers optionally via the `Macaddr_sexp` library. + """ +url { + src: + "https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz" + checksum: [ + "sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133" + "sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34" + ] +} +x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4" From a49775e9d77af45797d7ce7057bcab0bdef8df43 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:54:17 +0000 Subject: [PATCH 14/32] add domain-name at version 0.4.0 --- .../domain-name-windows.0.4.0/opam | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/domain-name-windows/domain-name-windows.0.4.0/opam diff --git a/packages/domain-name-windows/domain-name-windows.0.4.0/opam b/packages/domain-name-windows/domain-name-windows.0.4.0/opam new file mode 100644 index 00000000..574a8c76 --- /dev/null +++ b/packages/domain-name-windows/domain-name-windows.0.4.0/opam @@ -0,0 +1,33 @@ +opam-version: "2.0" +maintainer: "Hannes Mehnert " +authors: "Hannes Mehnert " +license: "ISC" +homepage: "https://github.com/hannesm/domain-name" +doc: "https://hannesm.github.io/domain-name/doc" +bug-reports: "https://github.com/hannesm/domain-name/issues" +depends: [ + "ocaml-windows" {>= "4.04.2"} + "dune" +] +build: [ + ["dune" "build" "-p" "domain-name" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/hannesm/domain-name.git" +synopsis: "RFC 1035 Internet domain names" +description: """ +A domain name is a sequence of labels separated by dots, such as `foo.example`. +Each label may contain any bytes. The length of each label may not exceed 63 +charactes. The total length of a domain name is limited to 253 (byte +representation is 255), but other protocols (such as SMTP) may apply even +smaller limits. A domain name label is case preserving, comparison is done in a +case insensitive manner. +""" +url { + src: + "https://github.com/hannesm/domain-name/releases/download/v0.4.0/domain-name-0.4.0.tbz" + checksum: [ + "sha256=a5c06e22845895201973e812fe3019274d1db81c0a7873da6c8007c4ad2108c5" + "sha512=f25aedb1ddf6ab8c49b1545cf88f4990114a9e7954d91cabf260e6ce470abd42dd135e8a55084262a77d4c9ee4bff6dc00c71307b23a48d82d50593b910ee173" + ] +} +x-commit-hash: "e9833486ee40ef2c49c43dd72976022a627b4a34" From 1939cd82df47f862a3de40d118eea952d247a4bd Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 04:55:55 +0000 Subject: [PATCH 15/32] add conduit and conduit-lwt at version 6.2.3 --- .../conduit-lwt-windows.6.2.3/opam | 32 +++++++++++ .../conduit-windows.6.2.3/opam | 56 +++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 packages/conduit-lwt-windows/conduit-lwt-windows.6.2.3/opam create mode 100644 packages/conduit-windows/conduit-windows.6.2.3/opam diff --git a/packages/conduit-lwt-windows/conduit-lwt-windows.6.2.3/opam b/packages/conduit-lwt-windows/conduit-lwt-windows.6.2.3/opam new file mode 100644 index 00000000..afe9613e --- /dev/null +++ b/packages/conduit-lwt-windows/conduit-lwt-windows.6.2.3/opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg" +] +license: "ISC" +tags: "org:mirage" +homepage: "https://github.com/mirage/ocaml-conduit" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "2.0"} + "base-unix" + "ppx_sexp_conv-windows" {>="v0.13.0"} + "sexplib-windows" + "conduit-windows" {=version} + "lwt-windows" {>= "3.0.0"} +] +build: [ + ["dune" "build" "-p" "conduit-lwt" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" +synopsis: "A portable network connection establishment library using Lwt" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v6.2.3/conduit-6.2.3.tbz" + checksum: [ + "sha256=3a4684bb1485b1f247d6084dd0a356e1027e92c2cd467b35cabd59a764423e79" + "sha512=9fdb07540ae495e820e454a81f333551c18d3207c974adf35719198b93ff3f3d368f6558af8a80b6bd2af720ec6cbd274e7eecb816ac87384bcf8ac0d87357d3" + ] +} +x-commit-hash: "81fe395407308b01f573b598e85be99fea1cdbef" diff --git a/packages/conduit-windows/conduit-windows.6.2.3/opam b/packages/conduit-windows/conduit-windows.6.2.3/opam new file mode 100644 index 00000000..39b1069a --- /dev/null +++ b/packages/conduit-windows/conduit-windows.6.2.3/opam @@ -0,0 +1,56 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg" +] +license: "ISC" +tags: "org:mirage" +homepage: "https://github.com/mirage/ocaml-conduit" +doc: "https://mirage.github.io/ocaml-conduit/" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "2.0"} + "ppx_sexp_conv-windows" {>="v0.13.0"} + "sexplib-windows" + "astring-windows" + "uri-windows" + "logs-windows" {>= "0.5.0"} + "ipaddr-windows" {>= "4.0.0"} + "ipaddr-sexp-windows" +] +build: [ + ["dune" "build" "-p" "conduit" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" +synopsis: "A network connection establishment library" +description: """ +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The useful opam packages available that extend this library are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `conduit-mirage`: the MirageOS compatible implementation +""" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v6.2.3/conduit-6.2.3.tbz" + checksum: [ + "sha256=3a4684bb1485b1f247d6084dd0a356e1027e92c2cd467b35cabd59a764423e79" + "sha512=9fdb07540ae495e820e454a81f333551c18d3207c974adf35719198b93ff3f3d368f6558af8a80b6bd2af720ec6cbd274e7eecb816ac87384bcf8ac0d87357d3" + ] +} +x-commit-hash: "81fe395407308b01f573b598e85be99fea1cdbef" From 3b93fe5c5900a45b9cd5a95176620e2085e717ce Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 05:00:56 +0000 Subject: [PATCH 16/32] add ipaddr-sexp at version 5.6.0 --- .../ipaddr-sexp-windows.5.6.0/opam | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam diff --git a/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam b/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam new file mode 100644 index 00000000..8ac4a8e6 --- /dev/null +++ b/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam @@ -0,0 +1,33 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"] +synopsis: "A library for manipulation of IP address representations using sexp" +description: """ +Sexp convertions for ipaddr +""" + +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-ipaddr" +doc: "https://mirage.github.io/ocaml-ipaddr/" +bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "1.9.0"} + "ipaddr-windows" {= version} + "ppx_sexp_conv-windows" {>= "v0.9.0"} + "sexplib0-windows" +] +build: [ + ["dune" "build" "-p" "ipaddr-sexp" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git" +url { + src: + "https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz" + checksum: [ + "sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133" + "sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34" + ] +} +x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4" From 623a5491670cf25929cd507603a9c8dce12367d4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 05:03:32 +0000 Subject: [PATCH 17/32] add conduit-lwt-unix at version 6.2.3 --- .../conduit-lwt-unix-windows.6.2.3/opam | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam diff --git a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam new file mode 100644 index 00000000..828c8fa8 --- /dev/null +++ b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam @@ -0,0 +1,33 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"] +synopsis: "A library for manipulation of IP address representations using sexp" +description: """ +Sexp convertions for ipaddr +""" + +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-ipaddr" +doc: "https://mirage.github.io/ocaml-ipaddr/" +bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "1.9.0"} + "ipaddr-windows" {= version} + "ppx_sexp_conv-windows" {>= "v0.9.0"} + "sexplib0-windows" +] +build: [ + ["dune" "build" "-p" "conduit-lwt-unix" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git" +url { + src: + "https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz" + checksum: [ + "sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133" + "sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34" + ] +} +x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4" From 9cb507194988e52e3412b99b1e6e34aedcee17e3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 05:04:58 +0000 Subject: [PATCH 18/32] fix cohttp-lwt-unix --- .../cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam b/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam index 64b09140..8799a8ce 100644 --- a/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam +++ b/packages/cohttp-lwt-unix-windows/cohttp-lwt-unix-windows.5.3.0/opam @@ -36,7 +36,7 @@ depends: [ "cohttp-lwt-windows" {>= "5.3.0" & <= "5.3.1"} "ppx_sexp_conv-windows" {>= "v0.13.0"} "lwt-windows" {>= "3.0.0"} - "base-unix-windows" + "base-unix" ] build: [ ["dune" "build" "-p" "cohttp-lwt-unix" "-j" jobs "-x" "windows" ] From 5dff8fac30829d04c22609de6715121e57b629fc Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 05:09:36 +0000 Subject: [PATCH 19/32] downgrade ipaddr version --- .../conduit-lwt-unix-windows.6.2.3/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam index 828c8fa8..28ef2069 100644 --- a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam +++ b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam @@ -14,7 +14,7 @@ bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" depends: [ "ocaml-windows" {>= "4.08.0"} "dune" {>= "1.9.0"} - "ipaddr-windows" {= version} + "ipaddr-windows" {>= "5.6.0"} "ppx_sexp_conv-windows" {>= "v0.9.0"} "sexplib0-windows" ] From 1294b561cb44ce05e374b0d2e64ea3229a631169 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 05:14:55 +0000 Subject: [PATCH 20/32] fix conduit-lwt-unix --- .../conduit-lwt-unix-windows.6.2.3/opam | 47 +++++++++++-------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam index 28ef2069..52616ce0 100644 --- a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam +++ b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam @@ -1,33 +1,42 @@ opam-version: "2.0" maintainer: "anil@recoil.org" -authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"] -synopsis: "A library for manipulation of IP address representations using sexp" -description: """ -Sexp convertions for ipaddr -""" - +authors: [ + "Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg" +] license: "ISC" -tags: ["org:mirage" "org:xapi-project"] -homepage: "https://github.com/mirage/ocaml-ipaddr" -doc: "https://mirage.github.io/ocaml-ipaddr/" -bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" +tags: "org:mirage" +homepage: "https://github.com/mirage/ocaml-conduit" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" depends: [ "ocaml-windows" {>= "4.08.0"} - "dune" {>= "1.9.0"} - "ipaddr-windows" {>= "5.6.0"} - "ppx_sexp_conv-windows" {>= "v0.9.0"} - "sexplib0-windows" + "dune" {>= "2.0"} + "base-unix" + "logs-windows" + "ppx_sexp_conv-windows" {>="v0.13.0"} + "conduit-lwt-windows" {=version} + "lwt-windows" {>= "3.0.0"} + "uri-windows" {>= "1.9.4"} + "ipaddr-windows" {>= "4.0.0"} + "ipaddr-sexp-windows" + "ca-certs" +] +depopts: ["tls-lwt" "lwt_ssl" "launchd"] +conflicts: [ + "tls-lwt" {< "0.16.0"} + "tls-lwt" {>= "1.0.0"} + "ssl" {< "0.5.12"} ] build: [ ["dune" "build" "-p" "conduit-lwt-unix" "-j" jobs "-x" "windows"] ] -dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git" +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" +synopsis: "A network connection establishment library for Lwt_unix" url { src: - "https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz" + "https://github.com/mirage/ocaml-conduit/releases/download/v6.2.3/conduit-6.2.3.tbz" checksum: [ - "sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133" - "sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34" + "sha256=3a4684bb1485b1f247d6084dd0a356e1027e92c2cd467b35cabd59a764423e79" + "sha512=9fdb07540ae495e820e454a81f333551c18d3207c974adf35719198b93ff3f3d368f6558af8a80b6bd2af720ec6cbd274e7eecb816ac87384bcf8ac0d87357d3" ] } -x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4" +x-commit-hash: "81fe395407308b01f573b598e85be99fea1cdbef" From 21e3e27e13e7977e4830ac9e9cbc04395315a3cc Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 06:23:30 +0000 Subject: [PATCH 21/32] add lwt ppx at version 2.1.0 --- .../lwt_ppx-windows.2.1.0/opam | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/lwt_ppx-windows/lwt_ppx-windows.2.1.0/opam diff --git a/packages/lwt_ppx-windows/lwt_ppx-windows.2.1.0/opam b/packages/lwt_ppx-windows/lwt_ppx-windows.2.1.0/opam new file mode 100644 index 00000000..ce8f9255 --- /dev/null +++ b/packages/lwt_ppx-windows/lwt_ppx-windows.2.1.0/opam @@ -0,0 +1,33 @@ +opam-version: "2.0" + +synopsis: "PPX syntax for Lwt, providing something similar to async/await from JavaScript" +license: "MIT" +homepage: "https://github.com/ocsigen/lwt" +doc: "https://ocsigen.org/lwt/dev/api/Ppx_lwt" +bug-reports: "https://github.com/ocsigen/lwt/issues" + +authors: [ + "Gabriel Radanne" +] +maintainer: [ + "Anton Bachin " +] +dev-repo: "git+https://github.com/ocsigen/lwt.git" + +depends: [ + "dune" {>= "1.8.0"} + "lwt-windows" + "ocaml-windows" {>= "4.08"} + "ppxlib-windows" {>= "0.16.0"} +] + +build: [ + ["dune" "build" "-p" "lwt_ppx" "-j" jobs "-x" "windows"] +] +url { + src: "https://github.com/ocsigen/lwt/archive/5.6.0.tar.gz" + checksum: [ + "md5=e63979ee40a80d5b9e9e5545f33323b4" + "sha512=d616389bc9e0da11f25843ab7541ac2d40c9543700a89455f14115b339bbe58cef2b8acf0ae97fd54e15a4cb93149cfe1ebfda301aa93933045f76b7d9344160" + ] +} From 7e433882cc7a208f68d0ed24d8a2b9023c5aaa7b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 07:20:33 +0000 Subject: [PATCH 22/32] test --- .../ipaddr-sexp-windows.5.6.0/opam | 2 +- .../moodle-client-windows.0.1.0/opam | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 packages/moodle-client-windows/moodle-client-windows.0.1.0/opam diff --git a/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam b/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam index 8ac4a8e6..6a0c4857 100644 --- a/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam +++ b/packages/ipaddr-sexp-windows/ipaddr-sexp-windows.5.6.0/opam @@ -15,7 +15,7 @@ depends: [ "ocaml-windows" {>= "4.08.0"} "dune" {>= "1.9.0"} "ipaddr-windows" {= version} - "ppx_sexp_conv-windows" {>= "v0.9.0"} + "ppx_sexp_conv" {>= "v0.9.0"} "sexplib0-windows" ] build: [ diff --git a/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam b/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam new file mode 100644 index 00000000..ff53a233 --- /dev/null +++ b/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam @@ -0,0 +1,27 @@ +opam-version: "2.0" + +synopsis: "A fuse filesystem for Toulouse-INP's moodle." +license: "MIT" +homepage: "https://github.com/pisentt/moodle_ocamlfuse" +doc: "https://url/to/documentation" +bug-reports: "https://github.com/pisentt/moodle_ocamlfuse/issues" +authors: ["Teo Pisenti"] +maintainer: ["Teo Pisenti"] +dev-repo: "git+https://github.com/pisentt/moodle_ocamlfuse.git" + +depends: [ + "ocaml-windows" {>= "4.14"} + "dune" {>= "3.10"} + "cohttp-lwt-unix-windows" + "lambdasoup-windows" + "decompress-windows" + "lwt_ppx" + "lwt_ssl-windows" +] + +build: [ + ["dune" "build" "-p" "moodle-client" "-j" jobs "-x" "windows"] +] +url { + src: "file:///mnt/moodle-ocamlfuse" +} From d2820282264ea3bf96ae3fd80bcd198848c557a6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Aug 2024 08:16:33 +0000 Subject: [PATCH 23/32] add lwt_ssl at version 1.2.0 --- .../lwt_ssl-windows.1.2.0/opam | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/lwt_ssl-windows/lwt_ssl-windows.1.2.0/opam diff --git a/packages/lwt_ssl-windows/lwt_ssl-windows.1.2.0/opam b/packages/lwt_ssl-windows/lwt_ssl-windows.1.2.0/opam new file mode 100644 index 00000000..e2aef9c1 --- /dev/null +++ b/packages/lwt_ssl-windows/lwt_ssl-windows.1.2.0/opam @@ -0,0 +1,35 @@ +opam-version: "2.0" + +synopsis: "OpenSSL binding with concurrent I/O" +license: "LGPL with OpenSSL linking exception" +homepage: "https://github.com/ocsigen/lwt_ssl" +doc: "https://github.com/ocsigen/lwt_ssl/blob/master/src/lwt_ssl.mli" +bug-reports: "https://github.com/ocsigen/lwt_ssl/issues" + +authors: [ + "Jérôme Vouillon" + "Jérémie Dimino" +] +maintainer: "Anton Bachin " +dev-repo: "git+https://github.com/ocsigen/lwt_ssl.git" + +depends: [ + "base-unix" + "dune" + "lwt-windows" {>= "3.0.0"} + "ocaml-windows" + "ssl-windows" {>= "0.5.13"} +] + +build: [ + ["dune" "build" "-p" "lwt_ssl" "-j" jobs "-x" "windows"] +] +url { + src: + "https://github.com/ocsigen/lwt_ssl/releases/download/1.2.0/lwt_ssl-1.2.0.tbz" + checksum: [ + "sha256=b3020ad27aecf377e1c3f2740a08b36dcbba991f843066511357410548889a77" + "sha512=cf2ef7d4db26e40c044e743ce85849a10eb57c916cbd7d6291bf4458291689098293bfb4cd7f1023f3ae8bc8e9a68cb2c7470669501a9b44695659405a75aa00" + ] +} +x-commit-hash: "d9ea0ab93da68f0d13ed710cc16f80983923f9ba" From ba42b4f8130a0eea36ea71fa48befe0a09b41b16 Mon Sep 17 00:00:00 2001 From: abc Date: Sun, 1 Sep 2024 07:20:53 +0000 Subject: [PATCH 24/32] fix moodle client ? --- packages/moodle-client-windows/moodle-client-windows.0.1.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam b/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam index ff53a233..c4b1e0e5 100644 --- a/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam +++ b/packages/moodle-client-windows/moodle-client-windows.0.1.0/opam @@ -15,7 +15,7 @@ depends: [ "cohttp-lwt-unix-windows" "lambdasoup-windows" "decompress-windows" - "lwt_ppx" + "lwt_ppx-windows" "lwt_ssl-windows" ] From c70cd3b078475703107984ac372831cd9d8e3dd6 Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:34:27 +0000 Subject: [PATCH 25/32] fix: use ca-certs-windows instead of linux one --- .../conduit-lwt-unix-windows.6.2.3/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam index 52616ce0..b74055a1 100644 --- a/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam +++ b/packages/conduit-lwt-unix-windows/conduit-lwt-unix-windows.6.2.3/opam @@ -18,7 +18,7 @@ depends: [ "uri-windows" {>= "1.9.4"} "ipaddr-windows" {>= "4.0.0"} "ipaddr-sexp-windows" - "ca-certs" + "ca-certs-windows" ] depopts: ["tls-lwt" "lwt_ssl" "launchd"] conflicts: [ From afa2c06056cf0e1601d684d45cb176b211b3b9c0 Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:34:44 +0000 Subject: [PATCH 26/32] add ca-certs-windows at version 1.0.0 --- .../ca-certs-windows.1.0.0/opam | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 packages/ca-certs-windows/ca-certs-windows.1.0.0/opam diff --git a/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam b/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam new file mode 100644 index 00000000..855fb12d --- /dev/null +++ b/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam @@ -0,0 +1,57 @@ +opam-version: "2.0" +synopsis: "Detect root CA certificates from the operating system" +description: """ +TLS requires a set of root anchors (Certificate Authorities) to +authenticate servers. This library exposes this list so that it can be +registered with ocaml-tls. +""" +maintainer: ["Etienne Millon "] +authors: [ + "Etienne Millon , Hannes Mehnert " +] +license: "ISC" +homepage: "https://github.com/mirage/ca-certs" +doc: "https://mirage.github.io/ca-certs/doc" +bug-reports: "https://github.com/mirage/ca-certs/issues" +depends: [ + "dune" {>= "2.0"} + "bos-windows" + "fpath-windows" + "ptime" + "logs-windows" + "digestif" {>= "1.2.0"} + "mirage-crypto" {>= "1.0.0"} + "x509" {>= "1.0.0"} + "ocaml-windows" {>= "4.13.0"} + "ohex" {>= "0.2.0"} +] +conflicts: [ + "result" {< "1.5"} +] +dev-repo: "git+https://github.com/mirage/ca-certs.git" +build: [ + [ + "dune" + "build" + "-p" + "ca-certs" + "-j" + jobs + "@install" + "-x" + "windows" + ] +] +tags: ["org:mirage"] +depexts: [ + ["ca_root_nss"] {os = "freebsd"} +] +url { + src: + "https://github.com/mirage/ca-certs/releases/download/v1.0.0/ca-certs-1.0.0.tbz" + checksum: [ + "sha256=8690f2312346724799f2d8a1b684ec16b627b027d4164803a0e2b7e2462c0a72" + "sha512=c710059766c0062f767d481f7fd97a693b34d3c83e6a53081dee2074b6b40dccbf9d13fcedf253f16ff2381f36da91f84f40749c68537c47abf619322d95d509" + ] +} +x-commit-hash: "2c5c0bcc2a336f77ec4bb843265334217996c559" From 315ac48a80d42feac7195b3796dc063ad6c2a0c1 Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:46:15 +0000 Subject: [PATCH 27/32] add ohex at version 0.2.0 --- packages/ohex-windows/ohex-windows.0.2.0/opam | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/ohex-windows/ohex-windows.0.2.0/opam diff --git a/packages/ohex-windows/ohex-windows.0.2.0/opam b/packages/ohex-windows/ohex-windows.0.2.0/opam new file mode 100644 index 00000000..f1556fc5 --- /dev/null +++ b/packages/ohex-windows/ohex-windows.0.2.0/opam @@ -0,0 +1,24 @@ +opam-version: "2.0" +synopsis: "Hexadecimal encoding and decoding" +description: "A library to encode and decode hexadecimal byte sequences." +maintainer: "Hannes Mehnert " +authors: "Hannes Mehnert " +license: "BSD-2-Clause" +homepage: "https://git.robur.coop/robur/ohex" +doc: "https://robur-coop.github.io/ohex/doc" +bug-reports: "https://git.robur.coop/robur/ohex/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "2.7"} +] +build: [ + ["dune" "build" "-p" "ohex" "-j" jobs "-x" "windows"] +] +dev-repo: "git+https://git.robur.coop/robur/ohex.git" +url { + src: "https://github.com/ocaml/opam-source-archives/raw/main/ohex-0.2.0.tar.gz" + checksum: [ + "md5=77f2cbe75b9efd528a2b3478a8d4f3d4" + "sha512=af72a9699f81878cc7d247a92a28332a8e34f247ad6bd477f8c7ae7f2970b73c4750a31eedf8eeb43ca8d19ae3c4c4f8a9d5421a40b73eb1f1711f44b14ff3e6" + ] +} From c9344734eeda7ffb74d33cdd4e5a0769e589b3d4 Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:47:20 +0000 Subject: [PATCH 28/32] fix ohex-windows dependency --- packages/ca-certs-windows/ca-certs-windows.1.0.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam b/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam index 855fb12d..5a597b35 100644 --- a/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam +++ b/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam @@ -23,7 +23,7 @@ depends: [ "mirage-crypto" {>= "1.0.0"} "x509" {>= "1.0.0"} "ocaml-windows" {>= "4.13.0"} - "ohex" {>= "0.2.0"} + "ohex-windows" {>= "0.2.0"} ] conflicts: [ "result" {< "1.5"} From 271e2f2190f24dda5682814977ddd2851b3b1470 Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:51:40 +0000 Subject: [PATCH 29/32] add digestif and eqaf --- .../digestif-windows.1.2.0/opam | 54 +++++++++++++++++++ packages/eqaf-windows/eqaf-windows.0.9/opam | 30 +++++++++++ 2 files changed, 84 insertions(+) create mode 100644 packages/digestif-windows/digestif-windows.1.2.0/opam create mode 100644 packages/eqaf-windows/eqaf-windows.0.9/opam diff --git a/packages/digestif-windows/digestif-windows.1.2.0/opam b/packages/digestif-windows/digestif-windows.1.2.0/opam new file mode 100644 index 00000000..a354f8f4 --- /dev/null +++ b/packages/digestif-windows/digestif-windows.1.2.0/opam @@ -0,0 +1,54 @@ +opam-version: "2.0" +maintainer: [ "Eyyüb Sari " + "Romain Calascibetta " ] +authors: [ "Eyyüb Sari " + "Romain Calascibetta " ] +homepage: "https://github.com/mirage/digestif" +bug-reports: "https://github.com/mirage/digestif/issues" +dev-repo: "git+https://github.com/mirage/digestif.git" +doc: "https://mirage.github.io/digestif/" +license: "MIT" +synopsis: "Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)" +description: """ +Digestif is a toolbox to provide hashes implementations in C and OCaml. + +It uses the linking trick and user can decide at the end to use the C implementation or the OCaml implementation. + +We provides implementation of: + * MD5 + * SHA1 + * SHA224 + * SHA256 + * SHA384 + * SHA512 + * SHA3 + * Keccak-256 + * WHIRLPOOL + * BLAKE2B + * BLAKE2S + * RIPEMD160 +""" + +build: [ + [ "dune" "build" "-p" "digestif" "-j" jobs "-x" "windows"] +] + +depends: [ + "ocaml-windows" {>= "4.08.0"} + "dune" {>= "2.6.0"} + "eqaf-windows" +] + +conflicts: [ + "mirage-xen" {< "6.0.0"} + "ocaml-freestanding" +] +url { + src: + "https://github.com/mirage/digestif/releases/download/v1.2.0/digestif-1.2.0.tbz" + checksum: [ + "sha256=c30168cafe279a665367806b3e5e6398fd7474f1e5260e76826d5ec9d3b2a508" + "sha512=1a4d6ff31fa59d99548cf21a3cedbb0cdb2000d890fcb1c4633eda2723ea6157b10b7dfd089411d51e2d6f653466875efa7aed9807055ecdd3df24ec8d72c234" + ] +} +x-commit-hash: "f8f383581fd2e29f873d2d699c4be58fcc341290" diff --git a/packages/eqaf-windows/eqaf-windows.0.9/opam b/packages/eqaf-windows/eqaf-windows.0.9/opam new file mode 100644 index 00000000..2ed2fa6d --- /dev/null +++ b/packages/eqaf-windows/eqaf-windows.0.9/opam @@ -0,0 +1,30 @@ +opam-version: "2.0" +maintainer: [ "Romain Calascibetta " ] +authors: [ "Romain Calascibetta " ] +homepage: "https://github.com/mirage/eqaf" +bug-reports: "https://github.com/mirage/eqaf/issues" +dev-repo: "git+https://github.com/mirage/eqaf.git" +doc: "https://mirage.github.io/eqaf/" +license: "MIT" +synopsis: "Constant-time equal function on string" +description: """ +This package provides an equal function on string in constant-time to avoid timing-attack with crypto stuff. +""" + +build: [ + [ "dune" "build" "-p" "eqaf" "-j" jobs "-x" "windows"] +] + +depends: [ + "ocaml-windows" {>= "4.07.0"} + "dune" {>= "2.0"} + "cstruct-windows" {>= "1.1.0"} +] +url { + src: "https://github.com/mirage/eqaf/releases/download/v0.9/eqaf-0.9.tbz" + checksum: [ + "sha256=ec0e28a946ac6817f95d5854f05a9961ae3a8408bb610e79cfad01b9b255dfe0" + "sha512=4df7fd3ea35156953a172c1a021aab05b8b122ee8d3cfdb34f96edb1b5133d1fe2721b90cb64287841d770b16c2ffe70559c66e90f8d61a92b73857da22548c4" + ] +} +x-commit-hash: "e878ed56e40ca05c851a0e3297ab00ab76b10e0e" From b17599796b9ac766d06c21e703e584c6c9d82f2d Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:52:27 +0000 Subject: [PATCH 30/32] fix digestif and ptime dependency --- packages/ca-certs-windows/ca-certs-windows.1.0.0/opam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam b/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam index 5a597b35..14a9bf88 100644 --- a/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam +++ b/packages/ca-certs-windows/ca-certs-windows.1.0.0/opam @@ -17,9 +17,9 @@ depends: [ "dune" {>= "2.0"} "bos-windows" "fpath-windows" - "ptime" + "ptime-windows" "logs-windows" - "digestif" {>= "1.2.0"} + "digestif-windows" {>= "1.2.0"} "mirage-crypto" {>= "1.0.0"} "x509" {>= "1.0.0"} "ocaml-windows" {>= "4.13.0"} From d3c5bde072dbc23bc08c263eb23b32a038114c2f Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 05:55:37 +0000 Subject: [PATCH 31/32] add ptime at version 1.1.0 --- .../ptime-windows.1.1.0/files/ptime-os.patch | 15 +++++++ .../files/ptime-win32.patch | 44 +++++++++++++++++++ .../ptime-windows/ptime-windows.1.1.0/opam | 38 ++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch create mode 100644 packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch create mode 100644 packages/ptime-windows/ptime-windows.1.1.0/opam diff --git a/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch b/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch new file mode 100644 index 00000000..7cd82cdd --- /dev/null +++ b/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch @@ -0,0 +1,15 @@ +--- a/myocamlbuild.ml 2018-03-04 11:03:00.253554294 +0000 ++++ b/myocamlbuild.ml 2018-03-04 11:03:25.285553267 +0000 +@@ -2,7 +2,11 @@ + open Ocamlbuild_plugin + open Command + +-let os = Ocamlbuild_pack.My_unix.run_and_read "uname -s" ++let os = ++ try ++ Sys.getenv "PTIME_OS" ++ with Not_found -> ++ Ocamlbuild_pack.My_unix.run_and_read "uname -s" + + let system_support_lib = match os with + | "Linux\n" -> [A "-cclib"; A "-lrt"] diff --git a/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch b/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch new file mode 100644 index 00000000..0cbc66fe --- /dev/null +++ b/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch @@ -0,0 +1,44 @@ +diff --git a/src-os/ptime_stubs.c b/src-os/ptime_stubs.c +index 35c1406..d79124f 100644 +--- a/src-os/ptime_clock_stubs.c ++++ b/src-os/ptime_clock_stubs.c +@@ -10,7 +10,10 @@ + + /* Detect platform */ + +-#if defined(__APPLE__) && defined(__MACH__) ++#if defined(_WIN32) ++ #define OCAML_MTIME_WIN32 ++ ++#elif defined(__APPLE__) && defined(__MACH__) + #define OCAML_MTIME_DARWIN + + #elif defined (__unix__) || defined(__unix) +@@ -63,6 +66,27 @@ CAMLprim value ocaml_ptime_elapsed_ns (value unit) + (uint64_t)(now.tv_nsec - start.tv_nsec)); + } + ++/* Windows */ ++ ++#elif defined(OCAML_MTIME_WIN32) ++ ++#include ++ ++CAMLprim value ocaml_ptime_elapsed_ns (value unit) ++{ ++ static ULONGLONG start = 0L; ++ if (start == 0L) ++ { ++ /* XXX: This provides ms granularity at best. ++ * Subtracting one to guarantee an initial value ++ * other than 0. */ ++ start = GetTickCount64 () - 1L; ++ } ++ ++ ULONGLONG now = GetTickCount64 (); ++ return caml_copy_int64 ((now - start) * (ULONGLONG)1000); ++} ++ + /* Unsupported */ + + #else diff --git a/packages/ptime-windows/ptime-windows.1.1.0/opam b/packages/ptime-windows/ptime-windows.1.1.0/opam new file mode 100644 index 00000000..168a6d98 --- /dev/null +++ b/packages/ptime-windows/ptime-windows.1.1.0/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +synopsis: "POSIX time for OCaml" +description: """\ +Ptime has platform independent POSIX time support in pure OCaml. It +provides a type to represent a well-defined range of POSIX timestamps +with picosecond precision, conversion with date-time values, +conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to +a human-readable, locale-independent representation. + +The additional Ptime_clock library provides access to a system POSIX +clock and to the system's current time zone offset. + +Ptime is not a calendar library. + +Ptime has no dependency. Ptime_clock depends on your system library or +JavaScript runtime system. Ptime and its libraries are distributed +under the ISC license. + +[rfc3339]: http://tools.ietf.org/html/rfc3339 + +Home page: """ +maintainer: "Daniel Bünzli " +authors: "The ptime programmers" +license: "ISC" +tags: ["time" "posix" "system" "org:erratique"] +homepage: "https://erratique.ch/software/ptime" +doc: "https://erratique.ch/software/ptime/doc/" +bug-reports: "https://github.com/dbuenzli/ptime/issues" +depends: [ + "ocaml-windows" {>= "4.08.0"} +] +build: ["env" "MTIME_OS=Win32" "ocaml" "pkg/pkg.ml" "build" "--toolchain" "windows" "--dev-pkg" "%{dev}%"] +dev-repo: "git+https://erratique.ch/repos/ptime.git" +url { + src: "https://erratique.ch/software/ptime/releases/ptime-1.1.0.tbz" + checksum: + "sha512=309b8383f61b58840e58a82802ec8fbc61b7cc95a4590d38ad427e484cbaaf66f03fa8e6484b5b6855468a87e745aed103bf6f1041ec05062230a9fa5fb86cc6" +} From 2d7eeb97ccd47475bf95110f1d5f8482de8e537b Mon Sep 17 00:00:00 2001 From: abc Date: Mon, 2 Sep 2024 08:07:26 +0000 Subject: [PATCH 32/32] try to use another ptime build --- .../ptime-windows.1.1.0/files/ptime-os.patch | 15 ----- .../files/ptime-win32.patch | 44 --------------- .../ptime-windows/ptime-windows.1.1.0/opam | 56 +++++++++---------- 3 files changed, 27 insertions(+), 88 deletions(-) delete mode 100644 packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch delete mode 100644 packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch diff --git a/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch b/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch deleted file mode 100644 index 7cd82cdd..00000000 --- a/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-os.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/myocamlbuild.ml 2018-03-04 11:03:00.253554294 +0000 -+++ b/myocamlbuild.ml 2018-03-04 11:03:25.285553267 +0000 -@@ -2,7 +2,11 @@ - open Ocamlbuild_plugin - open Command - --let os = Ocamlbuild_pack.My_unix.run_and_read "uname -s" -+let os = -+ try -+ Sys.getenv "PTIME_OS" -+ with Not_found -> -+ Ocamlbuild_pack.My_unix.run_and_read "uname -s" - - let system_support_lib = match os with - | "Linux\n" -> [A "-cclib"; A "-lrt"] diff --git a/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch b/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch deleted file mode 100644 index 0cbc66fe..00000000 --- a/packages/ptime-windows/ptime-windows.1.1.0/files/ptime-win32.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/src-os/ptime_stubs.c b/src-os/ptime_stubs.c -index 35c1406..d79124f 100644 ---- a/src-os/ptime_clock_stubs.c -+++ b/src-os/ptime_clock_stubs.c -@@ -10,7 +10,10 @@ - - /* Detect platform */ - --#if defined(__APPLE__) && defined(__MACH__) -+#if defined(_WIN32) -+ #define OCAML_MTIME_WIN32 -+ -+#elif defined(__APPLE__) && defined(__MACH__) - #define OCAML_MTIME_DARWIN - - #elif defined (__unix__) || defined(__unix) -@@ -63,6 +66,27 @@ CAMLprim value ocaml_ptime_elapsed_ns (value unit) - (uint64_t)(now.tv_nsec - start.tv_nsec)); - } - -+/* Windows */ -+ -+#elif defined(OCAML_MTIME_WIN32) -+ -+#include -+ -+CAMLprim value ocaml_ptime_elapsed_ns (value unit) -+{ -+ static ULONGLONG start = 0L; -+ if (start == 0L) -+ { -+ /* XXX: This provides ms granularity at best. -+ * Subtracting one to guarantee an initial value -+ * other than 0. */ -+ start = GetTickCount64 () - 1L; -+ } -+ -+ ULONGLONG now = GetTickCount64 (); -+ return caml_copy_int64 ((now - start) * (ULONGLONG)1000); -+} -+ - /* Unsupported */ - - #else diff --git a/packages/ptime-windows/ptime-windows.1.1.0/opam b/packages/ptime-windows/ptime-windows.1.1.0/opam index 168a6d98..0ef7350c 100644 --- a/packages/ptime-windows/ptime-windows.1.1.0/opam +++ b/packages/ptime-windows/ptime-windows.1.1.0/opam @@ -1,38 +1,36 @@ opam-version: "2.0" -synopsis: "POSIX time for OCaml" -description: """\ -Ptime has platform independent POSIX time support in pure OCaml. It -provides a type to represent a well-defined range of POSIX timestamps -with picosecond precision, conversion with date-time values, -conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to -a human-readable, locale-independent representation. -The additional Ptime_clock library provides access to a system POSIX -clock and to the system's current time zone offset. - -Ptime is not a calendar library. - -Ptime has no dependency. Ptime_clock depends on your system library or -JavaScript runtime system. Ptime and its libraries are distributed -under the ISC license. - -[rfc3339]: http://tools.ietf.org/html/rfc3339 - -Home page: """ -maintainer: "Daniel Bünzli " -authors: "The ptime programmers" +synopsis: "Platform independent POSIX time support in pure OCaml" +maintainer: ["Daniel Bünzli "] +authors: ["The ptime programmers"] license: "ISC" -tags: ["time" "posix" "system" "org:erratique"] homepage: "https://erratique.ch/software/ptime" -doc: "https://erratique.ch/software/ptime/doc/" bug-reports: "https://github.com/dbuenzli/ptime/issues" + depends: [ - "ocaml-windows" {>= "4.08.0"} + "dune" {>= "2.8"} + "ocaml-windows" {>= "4.03.0"} ] -build: ["env" "MTIME_OS=Win32" "ocaml" "pkg/pkg.ml" "build" "--toolchain" "windows" "--dev-pkg" "%{dev}%"] -dev-repo: "git+https://erratique.ch/repos/ptime.git" + +depopts: ["js_of_ocaml"] +conflicts: [ + "js_of_ocaml" {< "3.3.0"} +] +build: [ + [ + "dune" + "build" + "-p" + "ptime" + "-j" + jobs + "@install" + "-x" + "windows" + ] +] +dev-repo: "git+https://github.com/dbuenzli/ptime.git" + url { - src: "https://erratique.ch/software/ptime/releases/ptime-1.1.0.tbz" - checksum: - "sha512=309b8383f61b58840e58a82802ec8fbc61b7cc95a4590d38ad427e484cbaaf66f03fa8e6484b5b6855468a87e745aed103bf6f1041ec05062230a9fa5fb86cc6" + src: "file:///mnt/ptime" }