Skip to content

Commit

Permalink
tls is multi-packages now
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Aug 15, 2019
1 parent afacd81 commit bf64252
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conduit-lwt-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ depends: [
"ipaddr" {>= "4.0.0"}
"ipaddr-sexp"
]
depopts: ["tls" "lwt_ssl" "launchd"]
depopts: ["tls-lwt" "lwt_ssl" "launchd"]
conflicts: [
"tls" {< "0.8.0"}
"ssl" {< "0.5.9"}
Expand Down
1 change: 1 addition & 0 deletions conduit-mirage.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ depends: [
"vchan" {>= "3.0.0"}
"xenstore"
"tls" {>= "0.8.0"}
"tls-mirage"
"ipaddr" {>= "3.0.0"}
"ipaddr-sexp"
"awa-mirage"
Expand Down
4 changes: 2 additions & 2 deletions lwt-unix/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let v ~launchd ~ssl ~tls () =
else "conduit_lwt_unix_ssl_dummy", ""
in
let tls, tls_d =
if tls then "conduit_lwt_tls_real", "tls.lwt "
if tls then "conduit_lwt_tls_real", "tls-lwt "
else "conduit_lwt_tls_dummy", ""
in
Printf.sprintf {|
Expand All @@ -34,7 +34,7 @@ let main () =
let is_installed s = Printf.kprintf Sys.command "ocamlfind query %s" s = 0 in
let launchd = is_installed "launchd.lwt" in
let ssl = is_installed "lwt_ssl" in
let tls = Sys.unix && is_installed "tls.lwt" in
let tls = Sys.unix && is_installed "tls-lwt" in
Printf.printf
"Configuration\n\
\ launchd: %b\n\
Expand Down
2 changes: 1 addition & 1 deletion mirage/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
(wrapped false)
(libraries conduit conduit-lwt mirage-stack-lwt mirage-time-lwt
mirage-random mirage-flow-lwt dns-client.mirage ipaddr-sexp
vchan tls tls.mirage xenstore.client uri.services
vchan tls tls-mirage xenstore.client uri.services
awa-mirage mirage-clock))

0 comments on commit bf64252

Please sign in to comment.