forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[new release] conduit, conduit-lwt, conduit-async, conduit-mirage and…
… conduit-lwt-unix (2.0.0) CHANGES: * lwt-unix: obtain client IP correctly when using TLS connections (mirage/ocaml-conduit#277 @victorgomes) * lwt-unix: replace the dune/ocaml file with a `(select)` build form. This avoids invoking `ocamlfind` from the build, and fits in with the rest of dune builds much more naturally (@avsm). * lwt-unix: force callers to give a custom callback `on_exn` in case of exceptions to avoid random crashes (mirage/ocaml-conduit#261 @kit-ty-kate) * mirage: use `dns-client>=4.0.0` which is the `udns` implementation (mirage/ocaml-conduit#290 @hannesm) * mirage: rename `mirage-conduit` to `conduit-mirage` to fit the naming structure of this library suite more. All new users of Mirage should use `conduit-mirage`, and migrating should involve simply swapping the name in your `dune` and `opam` files (mirage/ocaml-conduit#302 @hannesm @avsm) * async: expose `verify_mode` correctly in `Conduit_async` (mirage/ocaml-conduit#298 @brendanlong)
- Loading branch information
Showing
5 changed files
with
213 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
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" | ||
"ppx_sexp_conv" {>="v0.9.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" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-conduit/releases/download/v2.0.0/conduit-v2.0.0.tbz" | ||
checksum: [ | ||
"sha256=d973a5c3b49b2529d50016daa9cc9c35413c75f1d9c62f363ae416e51e3a8aa5" | ||
"sha512=ae80a1f0593d8a8fef9c5f7d794f2312f9665459ebbc94f68c957cedaf93100320f9e8f373af95d4b9c34780b34744683ab08c5544f1f8efc355e557f6c9ad9d" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
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.9.0"} | ||
"conduit-lwt" {=version} | ||
"lwt" {>= "3.0.0"} | ||
"uri" {>= "1.9.4"} | ||
"ipaddr" {>= "4.0.0"} | ||
"ipaddr-sexp" | ||
] | ||
depopts: ["tls" "lwt_ssl" "launchd"] | ||
conflicts: [ | ||
"tls" {< "0.8.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" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-conduit/releases/download/v2.0.0/conduit-v2.0.0.tbz" | ||
checksum: [ | ||
"sha256=d973a5c3b49b2529d50016daa9cc9c35413c75f1d9c62f363ae416e51e3a8aa5" | ||
"sha512=ae80a1f0593d8a8fef9c5f7d794f2312f9665459ebbc94f68c957cedaf93100320f9e8f373af95d4b9c34780b34744683ab08c5544f1f8efc355e557f6c9ad9d" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
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.9.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" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-conduit/releases/download/v2.0.0/conduit-v2.0.0.tbz" | ||
checksum: [ | ||
"sha256=d973a5c3b49b2529d50016daa9cc9c35413c75f1d9c62f363ae416e51e3a8aa5" | ||
"sha512=ae80a1f0593d8a8fef9c5f7d794f2312f9665459ebbc94f68c957cedaf93100320f9e8f373af95d4b9c34780b34744683ab08c5544f1f8efc355e557f6c9ad9d" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
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.03.0"} | ||
"dune" | ||
"ppx_sexp_conv" {>="v0.9.0"} | ||
"sexplib" | ||
"cstruct" {>= "3.0.0"} | ||
"mirage-stack-lwt" {>= "1.3.0"} | ||
"mirage-time-lwt" {>= "1.1.0"} | ||
"mirage-flow-lwt" {>= "1.2.0"} | ||
"mirage-random" {>= "1.2.0"} | ||
"dns-client" {>= "4.0.0"} | ||
"conduit-lwt" | ||
"vchan" {>= "3.0.0"} | ||
"xenstore" | ||
"tls" {>= "0.8.0"} | ||
"ipaddr" {>= "3.0.0"} | ||
"ipaddr-sexp" | ||
|
||
#these are required for tls.mirage, which conduit-mirage depends on | ||
"mirage-kv-lwt" {>= "2.0.0"} | ||
"mirage-clock" {>= "2.0.0"} | ||
"ptime" | ||
] | ||
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" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-conduit/releases/download/v2.0.0/conduit-v2.0.0.tbz" | ||
checksum: [ | ||
"sha256=d973a5c3b49b2529d50016daa9cc9c35413c75f1d9c62f363ae416e51e3a8aa5" | ||
"sha512=ae80a1f0593d8a8fef9c5f7d794f2312f9665459ebbc94f68c957cedaf93100320f9e8f373af95d4b9c34780b34744683ab08c5544f1f8efc355e557f6c9ad9d" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
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.9.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 | ||
""" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-conduit/releases/download/v2.0.0/conduit-v2.0.0.tbz" | ||
checksum: [ | ||
"sha256=d973a5c3b49b2529d50016daa9cc9c35413c75f1d9c62f363ae416e51e3a8aa5" | ||
"sha512=ae80a1f0593d8a8fef9c5f7d794f2312f9665459ebbc94f68c957cedaf93100320f9e8f373af95d4b9c34780b34744683ab08c5544f1f8efc355e557f6c9ad9d" | ||
] | ||
} |