From 50b3a8b74e9540b074bcfa0bc250ff61668e69c9 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Mon, 4 Jul 2022 21:14:27 +0200 Subject: [PATCH] [new release] conduit, conduit-mirage, conduit-lwt, conduit-lwt-unix and conduit-async (5.1.1) CHANGES: * conduit-mirage: pass peer name to Tls.Config.client, fixes mirleft/ocaml-tls#474 reported by @palainp (mirage/ocaml-conduit#414 @hannesm) * conduit-async: update to jane street v0.15 (mirage/ocaml-conduit#414 @hannesm) --- .../conduit-async/conduit-async.5.1.1/opam | 41 +++++++++++++ .../conduit-lwt-unix.5.1.1/opam | 45 +++++++++++++++ packages/conduit-lwt/conduit-lwt.5.1.1/opam | 33 +++++++++++ .../conduit-mirage/conduit-mirage.5.1.1/opam | 51 +++++++++++++++++ packages/conduit/conduit.5.1.1/opam | 57 +++++++++++++++++++ 5 files changed, 227 insertions(+) create mode 100644 packages/conduit-async/conduit-async.5.1.1/opam create mode 100644 packages/conduit-lwt-unix/conduit-lwt-unix.5.1.1/opam create mode 100644 packages/conduit-lwt/conduit-lwt.5.1.1/opam create mode 100644 packages/conduit-mirage/conduit-mirage.5.1.1/opam create mode 100644 packages/conduit/conduit.5.1.1/opam diff --git a/packages/conduit-async/conduit-async.5.1.1/opam b/packages/conduit-async/conduit-async.5.1.1/opam new file mode 100644 index 00000000000..3e683bcb76c --- /dev/null +++ b/packages/conduit-async/conduit-async.5.1.1/opam @@ -0,0 +1,41 @@ +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" {>= "4.03.0"} + "dune" {>= "2.0"} + "core" {>= "v0.15.0"} + "uri" {>= "4.0.0"} + "ppx_here" {>= "v0.9.0"} + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "conduit" {=version} + "async" {>= "v0.15.0"} + "ipaddr" {>= "3.0.0"} + "ipaddr-sexp" {>= "4.0.0"} +] +depopts: ["async_ssl"] +conflicts: [ + "async_ssl" {< "v0.9.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" +synopsis: "A network connection establishment library for Async" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v5.1.1/conduit-5.1.1.tbz" + checksum: [ + "sha256=89edc2d27f5f8fea44b1f8f9939bd792164eeba2e59744968479df9149de71be" + "sha512=7ae788320411c23e163fb13ed23235df923eeada15edf696e6c5ddc71eb28ea18d127f398ff90977a8cf232dd68436e2a69bae8569f2b042fb3047ef10630a96" + ] +} +x-commit-hash: "5c10995df6732509b2af2b173b336c6fe2082845" diff --git a/packages/conduit-lwt-unix/conduit-lwt-unix.5.1.1/opam b/packages/conduit-lwt-unix/conduit-lwt-unix.5.1.1/opam new file mode 100644 index 00000000000..f2dccdab5ee --- /dev/null +++ b/packages/conduit-lwt-unix/conduit-lwt-unix.5.1.1/opam @@ -0,0 +1,45 @@ +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" {>= "4.07.0"} + "dune" {>= "2.0"} + "base-unix" + "logs" + "ppx_sexp_conv" {>="v0.13.0"} + "conduit-lwt" {=version} + "lwt" {>= "3.0.0"} + "uri" {>= "1.9.4"} + "ipaddr" {>= "4.0.0"} + "ipaddr-sexp" + "ca-certs" + "lwt_log" {with-test} + "ssl" {with-test} + "lwt_ssl" {with-test} +] +depopts: ["tls" "lwt_ssl" "launchd"] +conflicts: [ + "tls" {< "0.14.0"} + "ssl" {< "0.5.9"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +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-conduit/releases/download/v5.1.1/conduit-5.1.1.tbz" + checksum: [ + "sha256=89edc2d27f5f8fea44b1f8f9939bd792164eeba2e59744968479df9149de71be" + "sha512=7ae788320411c23e163fb13ed23235df923eeada15edf696e6c5ddc71eb28ea18d127f398ff90977a8cf232dd68436e2a69bae8569f2b042fb3047ef10630a96" + ] +} +x-commit-hash: "5c10995df6732509b2af2b173b336c6fe2082845" diff --git a/packages/conduit-lwt/conduit-lwt.5.1.1/opam b/packages/conduit-lwt/conduit-lwt.5.1.1/opam new file mode 100644 index 00000000000..58de1e92f8a --- /dev/null +++ b/packages/conduit-lwt/conduit-lwt.5.1.1/opam @@ -0,0 +1,33 @@ +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" {>= "4.03.0"} + "dune" {>= "2.0"} + "base-unix" + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "conduit" {=version} + "lwt" {>= "3.0.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +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/v5.1.1/conduit-5.1.1.tbz" + checksum: [ + "sha256=89edc2d27f5f8fea44b1f8f9939bd792164eeba2e59744968479df9149de71be" + "sha512=7ae788320411c23e163fb13ed23235df923eeada15edf696e6c5ddc71eb28ea18d127f398ff90977a8cf232dd68436e2a69bae8569f2b042fb3047ef10630a96" + ] +} +x-commit-hash: "5c10995df6732509b2af2b173b336c6fe2082845" diff --git a/packages/conduit-mirage/conduit-mirage.5.1.1/opam b/packages/conduit-mirage/conduit-mirage.5.1.1/opam new file mode 100644 index 00000000000..4bd92f8019b --- /dev/null +++ b/packages/conduit-mirage/conduit-mirage.5.1.1/opam @@ -0,0 +1,51 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire"] +license: "ISC" +tags: "org:mirage" +homepage: "https://github.com/mirage/ocaml-conduit" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +depends: [ + "ocaml" {>= "4.07.0"} + "dune" {>= "2.0"} + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "uri" {>= "4.0.0"} + "cstruct" {>= "3.0.0"} + "mirage-clock" {>= "3.0.0"} + "mirage-flow" {>= "2.0.0"} + "mirage-flow-combinators" {>= "2.0.0"} + "mirage-random" {>= "2.0.0"} + "mirage-time" {>= "2.0.0"} + "dns-client" {>= "6.0.0"} + "conduit-lwt" {=version} + "vchan" {>= "5.0.0"} + "xenstore" + "tls" {>= "0.11.0"} + "tls-mirage" {>= "0.11.0"} + "ca-certs-nss" + "ipaddr" {>= "3.0.0"} + "ipaddr-sexp" + "tcpip" {>= "7.0.0"} + "fmt" {>= "0.8.7"} +] +conflicts: [ + "mirage-conduit" +] + +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name] {with-test} +] +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" +synopsis: "A network connection establishment library for MirageOS" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v5.1.1/conduit-5.1.1.tbz" + checksum: [ + "sha256=89edc2d27f5f8fea44b1f8f9939bd792164eeba2e59744968479df9149de71be" + "sha512=7ae788320411c23e163fb13ed23235df923eeada15edf696e6c5ddc71eb28ea18d127f398ff90977a8cf232dd68436e2a69bae8569f2b042fb3047ef10630a96" + ] +} +x-commit-hash: "5c10995df6732509b2af2b173b336c6fe2082845" diff --git a/packages/conduit/conduit.5.1.1/opam b/packages/conduit/conduit.5.1.1/opam new file mode 100644 index 00000000000..e7f1ff23a98 --- /dev/null +++ b/packages/conduit/conduit.5.1.1/opam @@ -0,0 +1,57 @@ +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" {>= "4.03.0"} + "dune" {>= "2.0"} + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "astring" + "uri" + "logs" {>= "0.5.0"} + "ipaddr" {>= "4.0.0"} + "ipaddr-sexp" +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +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/v5.1.1/conduit-5.1.1.tbz" + checksum: [ + "sha256=89edc2d27f5f8fea44b1f8f9939bd792164eeba2e59744968479df9149de71be" + "sha512=7ae788320411c23e163fb13ed23235df923eeada15edf696e6c5ddc71eb28ea18d127f398ff90977a8cf232dd68436e2a69bae8569f2b042fb3047ef10630a96" + ] +} +x-commit-hash: "5c10995df6732509b2af2b173b336c6fe2082845"