From 33e51c8fdb9acfede41dcca7e521782e96808cc1 Mon Sep 17 00:00:00 2001 From: Romain Calascibetta Date: Fri, 16 Apr 2021 14:14:07 +0200 Subject: [PATCH] [new release] conduit, conduit-async, conduit-lwt, conduit-lwt-unix and conduit-mirage (4.0.0) CHANGES: * conduit-mirage: replace the alias `X509_lwt.priv` by `Tls.Config.certchain` (@dinosaure, @samoht, mirage/ocaml-conduit#381) * conduit-mirage: Upgrade to dns.5.0.0 and use `Mirage_stack.V4V6` instead of `Mirage_stack.V4` - by this way, conduit-mirage supports IPv6 connection * conduit.3.0.0 will be unavailable with this release. The design discussion did not reach consensus and `conduit.3.0.0` is unmaintained. We advise use to use `conduit.2.*` or `conduit.4.*` then and discard the migration process between `conduit.2.*` and `conduit.3.*`. --- .../conduit-async/conduit-async.4.0.0/opam | 40 +++++++++++++ .../conduit-lwt-unix.4.0.0/opam | 45 +++++++++++++++ packages/conduit-lwt/conduit-lwt.4.0.0/opam | 33 +++++++++++ .../conduit-mirage/conduit-mirage.4.0.0/opam | 51 +++++++++++++++++ packages/conduit/conduit.4.0.0/opam | 57 +++++++++++++++++++ 5 files changed, 226 insertions(+) create mode 100644 packages/conduit-async/conduit-async.4.0.0/opam create mode 100644 packages/conduit-lwt-unix/conduit-lwt-unix.4.0.0/opam create mode 100644 packages/conduit-lwt/conduit-lwt.4.0.0/opam create mode 100644 packages/conduit-mirage/conduit-mirage.4.0.0/opam create mode 100644 packages/conduit/conduit.4.0.0/opam diff --git a/packages/conduit-async/conduit-async.4.0.0/opam b/packages/conduit-async/conduit-async.4.0.0/opam new file mode 100644 index 00000000000..08cb68bdd71 --- /dev/null +++ b/packages/conduit-async/conduit-async.4.0.0/opam @@ -0,0 +1,40 @@ +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" + "core" + "uri" {>= "4.0.0"} + "ppx_here" {>= "v0.9.0"} + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "conduit" {=version} + "async" {>= "v0.10.0"} + "ipaddr" {>= "3.0.0"} +] +depopts: ["async_ssl"] +conflicts: [ + "async_ssl" {< "v0.9.0"} +] +build: [ + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name "-j" jobs] +] +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" +synopsis: "A network connection establishment library for Async" +x-commit-hash: "e4b58b17a6cb1f8de7cce68246cc2f339e029ed3" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v4.0.0/conduit-v4.0.0.tbz" + checksum: [ + "sha256=74b29d72bf47adc5d5c4cae6130ad5a2a4923118b9c571331bd1cb3c56decd2a" + "sha512=5c60f19eb4d38ea358710bf402a535d610e68280ff4484c2dcad45c31c2dbc447aa3eadc2b7d5243bd65a97cde76b67ee1fd57bb34f8ef6a4ab10786f4bb0d5e" + ] +} diff --git a/packages/conduit-lwt-unix/conduit-lwt-unix.4.0.0/opam b/packages/conduit-lwt-unix/conduit-lwt-unix.4.0.0/opam new file mode 100644 index 00000000000..1f83ac6e714 --- /dev/null +++ b/packages/conduit-lwt-unix/conduit-lwt-unix.4.0.0/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" + "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.13.0"} + "ssl" {< "0.5.9"} +] +build: [ + ["dune" "subst"] {pinned} + ["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" +x-commit-hash: "e4b58b17a6cb1f8de7cce68246cc2f339e029ed3" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v4.0.0/conduit-v4.0.0.tbz" + checksum: [ + "sha256=74b29d72bf47adc5d5c4cae6130ad5a2a4923118b9c571331bd1cb3c56decd2a" + "sha512=5c60f19eb4d38ea358710bf402a535d610e68280ff4484c2dcad45c31c2dbc447aa3eadc2b7d5243bd65a97cde76b67ee1fd57bb34f8ef6a4ab10786f4bb0d5e" + ] +} diff --git a/packages/conduit-lwt/conduit-lwt.4.0.0/opam b/packages/conduit-lwt/conduit-lwt.4.0.0/opam new file mode 100644 index 00000000000..ad3af0b6b23 --- /dev/null +++ b/packages/conduit-lwt/conduit-lwt.4.0.0/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" + "base-unix" + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "conduit" {=version} + "lwt" {>= "3.0.0"} +] +build: [ + ["dune" "subst"] {pinned} + ["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" +x-commit-hash: "e4b58b17a6cb1f8de7cce68246cc2f339e029ed3" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v4.0.0/conduit-v4.0.0.tbz" + checksum: [ + "sha256=74b29d72bf47adc5d5c4cae6130ad5a2a4923118b9c571331bd1cb3c56decd2a" + "sha512=5c60f19eb4d38ea358710bf402a535d610e68280ff4484c2dcad45c31c2dbc447aa3eadc2b7d5243bd65a97cde76b67ee1fd57bb34f8ef6a4ab10786f4bb0d5e" + ] +} diff --git a/packages/conduit-mirage/conduit-mirage.4.0.0/opam b/packages/conduit-mirage/conduit-mirage.4.0.0/opam new file mode 100644 index 00000000000..e80179143d5 --- /dev/null +++ b/packages/conduit-mirage/conduit-mirage.4.0.0/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" + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "uri" {>= "4.0.0"} + "cstruct" {>= "3.0.0"} + "mirage-stack" {>= "2.2.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" {>= "5.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" {with-test} +] +conflicts: [ + "mirage-conduit" +] + +build: [ + ["dune" "subst"] {pinned} + ["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" +x-commit-hash: "e4b58b17a6cb1f8de7cce68246cc2f339e029ed3" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v4.0.0/conduit-v4.0.0.tbz" + checksum: [ + "sha256=74b29d72bf47adc5d5c4cae6130ad5a2a4923118b9c571331bd1cb3c56decd2a" + "sha512=5c60f19eb4d38ea358710bf402a535d610e68280ff4484c2dcad45c31c2dbc447aa3eadc2b7d5243bd65a97cde76b67ee1fd57bb34f8ef6a4ab10786f4bb0d5e" + ] +} diff --git a/packages/conduit/conduit.4.0.0/opam b/packages/conduit/conduit.4.0.0/opam new file mode 100644 index 00000000000..56d9246f028 --- /dev/null +++ b/packages/conduit/conduit.4.0.0/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" + "ppx_sexp_conv" {>="v0.13.0"} + "sexplib" + "astring" + "uri" + "logs" {>= "0.5.0"} + "ipaddr" {>= "4.0.0"} + "ipaddr-sexp" +] +build: [ + ["dune" "subst"] {pinned} + ["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 +""" +x-commit-hash: "e4b58b17a6cb1f8de7cce68246cc2f339e029ed3" +url { + src: + "https://github.com/mirage/ocaml-conduit/releases/download/v4.0.0/conduit-v4.0.0.tbz" + checksum: [ + "sha256=74b29d72bf47adc5d5c4cae6130ad5a2a4923118b9c571331bd1cb3c56decd2a" + "sha512=5c60f19eb4d38ea358710bf402a535d610e68280ff4484c2dcad45c31c2dbc447aa3eadc2b7d5243bd65a97cde76b67ee1fd57bb34f8ef6a4ab10786f4bb0d5e" + ] +}