opam-version: "2.0"
homepage:     "https://github.com/hannesm/tlstunnel"
dev-repo: "git+https://github.com/hannesm/tlstunnel.git"
bug-reports:  "https://github.com/hannesm/tlstunnel/issues"
authors:      ["Hannes Mehnert <hannes@mehnert.org>"]
maintainer:   ["Hannes Mehnert <hannes@mehnert.org>"]
license:      "BSD-2-Clause"

build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "tls" {>= "0.5.0" & < "0.6.0"}
  "x509" {>= "0.3.0"}
  "nocrypto" {>= "0.4.0"}
  "lwt" {< "2.7.0"}
  "type_conv"
  "sexplib" {< "113.01.00"}
  "cmdliner"
  "ocamlbuild" {build}
]
synopsis: "A TLS proxy using OCaml-TLS"
description: """
The tlstunnel is a UNIX binary which provides a TLS listener socket,
and forwards each connection, after removing the TLS layer, to a
configurable TCP/IP host."""
url {
  src: "https://github.com/hannesm/tlstunnel/archive/0.1.0.tar.gz"
  checksum: "md5=f4bb89842dc5d64cea3d117bc00e5d2d"
}
