Skip to content

Commit

Permalink
Update OPAM files according new conduit
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Apr 20, 2020
1 parent 1d86720 commit 11416db
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 32 deletions.
14 changes: 8 additions & 6 deletions conduit-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ opam-version: "2.0"
maintainer: "[email protected]"
authors: [
"Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"
"Romain Calascibetta"
]
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"}
"ocaml" {>= "4.07.0"}
"dune"
"base-unix"
"ppx_sexp_conv" {>="v0.12.0"}
"sexplib"
"conduit" {=version}
"lwt" {>= "3.0.0"}
"conduit"
"cstruct"
"lwt"
]
depopts: [
"conduit-tls"
]
build: [
["dune" "subst"] {pinned}
Expand Down
21 changes: 3 additions & 18 deletions conduit-mirage.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,12 @@ bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
depends: [
"ocaml" {>= "4.07.0"}
"dune"
"ppx_sexp_conv" {>="v0.12.0"}
"sexplib"
"cstruct" {>= "3.0.0"}
"mirage-stack" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-flow" {>= "2.0.0"}
"mirage-flow-combinators" {>= "2.0.0"}
"mirage-random" {>= "2.0.0"}
"dns-client" {>= "4.1.0"}
"conduit-lwt"
"vchan" {>= "5.0.0"}
"xenstore"
"tls" {>= "0.11.0"}
"tls-mirage" {>= "0.11.0"}
"ipaddr" {>= "3.0.0"}
"ipaddr-sexp"
]
conflicts: [
"mirage-conduit"
depopts: [
"conduit-tls"
"tcpip"
]

build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
Expand Down
47 changes: 47 additions & 0 deletions conduit-tls.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"
maintainer: "[email protected]"
authors: [
"Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"
"Romain Calascibetta"
]
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.07.0"}
"dune"
"conduit"
"ke"
"tls"
"logs"
"bigstringaf"
]
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
"""
12 changes: 4 additions & 8 deletions conduit.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,18 @@ opam-version: "2.0"
maintainer: "[email protected]"
authors: [
"Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"
"Romain Calascibetta"
]
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"}
"ocaml" {>= "4.07.0"}
"dune"
"ppx_sexp_conv" {>="v0.12.0"}
"sexplib"
"astring"
"uri"
"logs" {>= "0.5.0"}
"ipaddr" {>= "4.0.0"}
"ipaddr-sexp"
"domain-name"
"stdlib-shims"
]
build: [
["dune" "subst"] {pinned}
Expand Down

0 comments on commit 11416db

Please sign in to comment.