42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
opam-version: "2.0"
|
|
maintainer: "team AT robur dot io"
|
|
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
|
|
homepage: "https://github.com/mirage/ocaml-dns"
|
|
doc: "https://mirage.github.io/ocaml-dns/"
|
|
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
|
|
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
|
|
license: "BSD-2-Clause"
|
|
|
|
depends: [
|
|
"dune" {>= "2.0.0"}
|
|
"ocaml" {>= "4.08.0"}
|
|
"cstruct" {>= "6.0.0"}
|
|
"dns" {= version}
|
|
"dns-mirage" {= version}
|
|
"randomconv" {>= "0.1.2" & < "0.2.0"}
|
|
"duration" {>= "0.1.2"}
|
|
"lwt" {>= "4.2.1"}
|
|
"mirage-time" {>= "2.0.0"}
|
|
"mirage-clock" {>= "3.0.0"}
|
|
"tcpip" {>= "7.0.0"}
|
|
"mirage-crypto-rng" {with-test & >= "0.11.0"}
|
|
"alcotest" {with-test}
|
|
"dns-tsig" {with-test}
|
|
"base64" {with-test & >= "3.0.0"}
|
|
"metrics"
|
|
]
|
|
|
|
build: [
|
|
["dune" "subst"] {dev}
|
|
["dune" "build" "-p" name "-j" jobs]
|
|
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
]
|
|
|
|
synopsis: "DNS server, primary and secondary"
|
|
description: """
|
|
Primary and secondary DNS server implemented in value-passing style. Needs an
|
|
effectful layer to be useful.
|
|
"""
|
|
url {
|
|
src: "git+https://github.com/hannesm/ocaml-dns.git#secondary-avoid-synflood"
|
|
}
|