Skip to content

Commit

Permalink
[new release] dns, dns-stub, dns-certify, dns-mirage, dns-resolver, d…
Browse files Browse the repository at this point in the history
…ns-client, dns-server, dns-tsig and dns-cli (4.6.3)

CHANGES:

* dns-server: wildcard support (mirage/ocaml-dns#248 @hannesm)
* dns-certify: only dnskey needs to be a valid hostname (mirage/ocaml-dns#247 @hannesm),
  allow [`raw] Domain_name.t in signing requests (mirage/ocaml-dns#249 @hannesm)
* dns-client.resolvconf provides a parser for /etc/resolv.conf (mirage/ocaml-dns#240 @hannesm),
  used in dns-client.unix and dns-client.lwt (mirage/ocaml-dns#241 @hannesm)
* BUGFIX dns-cli notify keys are accepted in namekey_c (mirage/ocaml-dns#242 @hannesm)
* BUGFIX dns: revise TXT resource record encoding and storage (for DKIM usage)
  previously RR were cut at 255 characters (fixes mirage/ocaml-dns#244, mirage/ocaml-dns#245 @hannesm)
* BUGFIX dns: decoding of TSIG packets (mirage/ocaml-dns#250 @hannesm)
* BUGFIX ocertify: pem file may contain a certificate chain (mirage/ocaml-dns#246 @hannesm)
  • Loading branch information
hannesm committed Jan 11, 2021
1 parent 0187bf9 commit 07b1db6
Show file tree
Hide file tree
Showing 9 changed files with 424 additions and 0 deletions.
48 changes: 48 additions & 0 deletions packages/dns-certify/dns-certify.4.6.3/opam
@@ -0,0 +1,48 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.07.0"}
"dns" {= version}
"dns-tsig" {= version}
"dns-mirage" {= version}
"randomconv" {>= "0.1.2"}
"duration" {>= "0.1.2"}
"x509" {>= "0.10.0"}
"lwt" {>= "4.2.1"}
"tls" {>= "0.11.0"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-stack" {>= "2.0.0"}
"logs"
"mirage-crypto-pk" {>= "0.8.0"}
"mirage-crypto-rng" {>= "0.8.0"}
]

build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "MirageOS let's encrypt certificate retrieval"
description: """
A function to retrieve a certificate when providing a hostname, TSIG key, server
IP, and an optional key seed. Best used with an letsencrypt unikernel.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
58 changes: 58 additions & 0 deletions packages/dns-cli/dns-cli.4.6.3/opam
@@ -0,0 +1,58 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.08.0"}
"dns" {= version}
"dns-tsig" {= version}
"dns-client" {= version}
"dns-server" {= version}
"dns-certify" {= version}
"rresult" {>= "0.6.0"}
"bos" {>= "0.2.0"}
"cmdliner" {>= "1.0.0"}
"fpath" {>= "0.7.2"}
"x509" {>= "0.10.0"}
"mirage-crypto" {>= "0.8.0"}
"mirage-crypto-pk" {>= "0.8.0"}
"mirage-crypto-rng" {>= "0.8.0"}
"hex" {>= "1.4.0"}
"ptime" {>= "0.8.5"}
"mtime" {>= "1.2.0"}
"logs" {>= "0.6.3"}
"fmt" {>= "0.8.8"}
"ipaddr" {>= "4.0.0"}
"lwt" {>= "4.0.0"}
"randomconv"
"alcotest" {with-test}
]

build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "Unix command line utilities using uDNS"
description: """
'oupdate' sends a DNS update frome to a DNS server that sets 'hostname A ip'.
For authentication via TSIG, a hmac secret needs to be provided.

'ocertify' updates DNS with a certificate signing request, and polls a matching
certificate. Best used with an letsencrypt unikernel.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
46 changes: 46 additions & 0 deletions packages/dns-client/dns-client.4.6.3/opam
@@ -0,0 +1,46 @@
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"] {pinned}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]

depends: [
"dune" {>="1.2.0"}
"ocaml" {>= "4.07.0"}
"cstruct" {>= "4.0.0"}
"fmt" {>= "0.8.8"}
"logs" {>= "0.6.3"}
"dns" {= version}
"rresult" {>= "0.6.0"}
"randomconv" {>= "0.1.2"}
"domain-name" {>= "0.3.0"}
"ipaddr" {>= "4.0.0"}
"lwt" {>= "4.2.1"}
"mirage-stack" {>= "2.0.0"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mtime" {>= "1.2.0"}
"mirage-crypto-rng" {>= "0.8.0"}
"alcotest" {with-test}
]
synopsis: "Pure DNS resolver API"
description: """
A pure resolver implementation using uDNS.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
47 changes: 47 additions & 0 deletions packages/dns-mirage/dns-mirage.4.6.3/opam
@@ -0,0 +1,47 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.07.0"}
"dns" {= version}
"ipaddr" {>= "4.0.0"}
"lwt" {>= "4.2.1"}
"mirage-stack" {>= "2.0.0"}
]

build: [
["dune" "subst"] {pinned}
["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:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
45 changes: 45 additions & 0 deletions packages/dns-resolver/dns-resolver.4.6.3/opam
@@ -0,0 +1,45 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.07.0"}
"dns" {= version}
"dns-server" {= version}
"dns-mirage" {= 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"}
"mirage-stack" {>= "2.0.0"}
"alcotest" {with-test}
]

build: [
["dune" "subst"] {pinned}
["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:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
46 changes: 46 additions & 0 deletions packages/dns-server/dns-server.4.6.3/opam
@@ -0,0 +1,46 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.07.0"}
"dns" {= version}
"dns-mirage" {= version}
"randomconv" {>= "0.1.2"}
"duration" {>= "0.1.2"}
"lwt" {>= "4.2.1"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-stack" {>= "2.0.0"}
"mirage-crypto-rng" {with-test}
"alcotest" {with-test}
"dns-tsig" {with-test}
"base64" {with-test & >= "3.0.0"}
"metrics"
]

build: [
["dune" "subst"] {pinned}
["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:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
47 changes: 47 additions & 0 deletions packages/dns-stub/dns-stub.4.6.3/opam
@@ -0,0 +1,47 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.07.0"}
"dns" {= version}
"dns-client" {= 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"}
"mirage-stack" {>= "2.0.0"}
"metrics"
]

build: [
["dune" "subst"] {pinned}
["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:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}
36 changes: 36 additions & 0 deletions packages/dns-tsig/dns-tsig.4.6.3/opam
@@ -0,0 +1,36 @@
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" {>= "1.2.0"}
"ocaml" {>= "4.07.0"}
"dns" {= version}
"mirage-crypto"
"base64" {>= "3.0.0"}
"alcotest" {with-test}
]

build: [
["dune" "subst"] {pinned}
["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:
"https://github.com/mirage/ocaml-dns/releases/download/v4.6.3/dns-v4.6.3.tbz"
checksum: [
"sha256=be69bc317369409fc4dfbab1120ced7510313888105a4d13071b962a07e1fd3c"
"sha512=32082237c7ae922edc63822fe0f6447fb83b9fb40546a196cda4904078b4129e601b4413c95b7c51e012f27c654324e18619ab8aed53969ff07fded13378c2c6"
]
}

0 comments on commit 07b1db6

Please sign in to comment.