new dns packages

This commit is contained in:
Hannes Mehnert 2023-05-31 16:41:47 +02:00
parent 68d181f8e5
commit a0e9264c1e
10 changed files with 347 additions and 0 deletions

View file

@ -0,0 +1,34 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Joe Hill"]
homepage: "https://github.com/mirage/ocaml-dns"
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
license: "BSD-2-Clause"
build: [
[ "dune" "subst"] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]
depends: [
"dune" {>="2.0.0"}
"ocaml" {>= "4.08.0"}
"dns-client" {= version}
"dns" {= version}
"ipaddr" {>= "5.3.0"}
"lwt" {>= "4.2.1"}
"mtime" {>= "1.2.0"}
"mirage-crypto-rng-lwt" {>= "0.11.0"}
"happy-eyeballs" {>= "0.4.0"}
"tls-lwt" {>= "0.16.0"}
"ca-certs"
]
synopsis: "DNS client API using lwt"
description: """
A client implementation using uDNS and lwt for side effects.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,37 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Joe Hill"]
homepage: "https://github.com/mirage/ocaml-dns"
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
license: "BSD-2-Clause"
build: [
[ "dune" "subst"] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]
depends: [
"dune" {>="2.0.0"}
"ocaml" {>= "4.08.0"}
"dns-client" {= version}
"domain-name" {>= "0.4.0"}
"ipaddr" {>= "5.3.0"}
"lwt" {>= "4.2.1"}
"tcpip" {>= "7.0.0"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"happy-eyeballs" {>= "0.4.0"}
"tls-mirage" {>= "0.16.0"}
"x509" {>= "0.16.0"}
"ca-certs-nss"
]
synopsis: "DNS client API for MirageOS"
description: """
A client implementation using uDNS using MirageOS.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Joe Hill"]
homepage: "https://github.com/mirage/ocaml-dns"
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
license: "BSD-2-Clause"
build: [
[ "dune" "subst"] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]
depends: [
"dune" {>="2.0.0"}
"ocaml" {>= "4.08.0"}
"dns" {= version}
"randomconv" {>= "0.1.2"}
"domain-name" {>= "0.4.0"}
"mtime" {>= "1.2.0"}
"mirage-crypto-rng" {>= "0.11.0"}
"alcotest" {with-test}
]
synopsis: "DNS client API"
description: """
A client implementation using uDNS.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,43 @@
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}
"ipaddr" {>= "5.2.0"}
"lwt" {>= "4.2.1"}
"tcpip" {>= "7.0.0"}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "An opinionated Domain Name System (DNS) library"
description: """
µDNS supports most of the domain name system used in the wild. It adheres to
strict conventions. Failing early and hard. It is mostly implemented in the
pure fragment of OCaml (no mutation, isolated IO, no exceptions).
Legacy resource record types are not dealt with, and there is no plan to support
`ISDN`, `MAILA`, `MAILB`, `WKS`, `MB`, `NULL`, `HINFO`, ... . `AXFR` is only
handled via TCP connections. The only resource class supported is `IN` (the
Internet). Truncated hmac in `TSIG` are not supported (always the full length
of the hash algorithm is used).
Please read [the blog article](https://hannes.nqsb.io/Posts/DNS) for a more
detailed overview.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,42 @@
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"}
"dns" {= version}
"dns-server" {= version}
"dns-mirage" {= version}
"dnssec" {= version}
"lru" {>= "0.3.0"}
"duration" {>= "0.1.2"}
"randomconv" {>= "0.1.2"}
"lwt" {>= "4.2.1"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-random" {>= "2.0.0"}
"tcpip" {>= "7.0.0"}
"alcotest" {with-test}
"tls" "tls-mirage"
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "DNS resolver business logic"
description: """
Forwarding and recursive resolvers as value-passing functions. To be used with
an effectful layer.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,43 @@
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-client-mirage" {= version}
"dns-mirage" {= version}
"dns-resolver" {= version}
"dns-tsig" {= version}
"dns-server" {= version}
"duration" {>= "0.1.2"}
"randomconv" {>= "0.1.2"}
"lwt" {>= "4.2.1"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-random" {>= "2.0.0"}
"tcpip" {>= "7.0.0"}
"metrics"
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "DNS stub resolver"
description: """
Forwarding and recursive resolvers as value-passing functions. To be used with
an effectful layer.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,32 @@
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}
"mirage-crypto"
"base64" {>= "3.0.0"}
"alcotest" {with-test}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "TSIG support for DNS"
description: """
TSIG is used to authenticate nsupdate frames using a HMAC.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,49 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <hannes@mehnert.org>" "Reynir Björnsson <reynir@reynir.dk>"]
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"}
"logs" "ptime"
"fmt" {>= "0.8.8"}
"domain-name" {>= "0.4.0"}
"gmap" {>= "0.3.0"}
"cstruct" {>= "6.0.0"}
"ipaddr" {>= "5.2.0"}
"alcotest" {with-test}
"lru" {>= "0.3.0"}
"duration" {>= "0.1.2"}
"metrics"
"base64" {>= "3.3.0"}
]
conflicts: [ "result" {< "1.5"} ]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "An opinionated Domain Name System (DNS) library"
description: """
µDNS supports most of the domain name system used in the wild. It adheres to
strict conventions. Failing early and hard. It is mostly implemented in the
pure fragment of OCaml (no mutation, isolated IO, no exceptions).
Legacy resource record types are not dealt with, and there is no plan to support
`ISDN`, `MAILA`, `MAILB`, `WKS`, `MB`, `NULL`, `HINFO`, ... . `AXFR` is only
handled via TCP connections. The only resource class supported is `IN` (the
Internet). Truncated hmac in `TSIG` are not supported (always the full length
of the hash algorithm is used).
Please read [the blog article](https://hannes.nqsb.io/Posts/DNS) for a more
detailed overview.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}

View file

@ -0,0 +1,36 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <hannes@mehnert.org>" "Reynir Björnsson <reynir@reynir.dk>"]
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}
"alcotest" {with-test}
"mirage-crypto"
"mirage-crypto-pk"
"mirage-crypto-ec"
"domain-name" {>= "0.4.0"}
"base64" {with-test & >= "3.0.0"}
"logs" {>= "0.7.0"}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "DNSSec support for OCaml-DNS"
description: """
DNSSec (DNS security extensions) for OCaml-DNS, including
signing and verifying of RRSIG records.
"""
url {
src: "git+https://github.com/hannesm/ocaml-dns.git#fix-secondary"
}