From 17a20ebf995639f79677f9c1a4186a07623a22c2 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Thu, 16 Feb 2023 15:27:37 +0100 Subject: [PATCH 1/2] [new release] dnssec, dns, dns-tsig, dns-stub, dns-server, dns-resolver, dns-mirage, dns-client, dns-client-mirage, dns-client-lwt, dns-cli and dns-certify (7.0.0) CHANGES: * BREAKING: dns-client is split into 3 packages: dns-client-lwt, dns-client-mirage. If your dune file contains dns-client.lwt, use dns-client-lwt now. If your dune file contains dns-client.mirage, use dns-client-mirage now (mirage/ocaml-dns#331 @hannesm) * update to mirage-crypto 0.11.0 API changes and tls 0.16.0 packaging changes (mirage/ocaml-dns#331 @hannesm) * dns-client.resolvconf: add line number to parser (mirage/ocaml-dns#334 @hannesm, inspired by mirage/ocaml-dns#328 @bikallem) * dns-client.resolvconf: allow zone idx (RFC 4007) for IPv6 entries (mirage/ocaml-dns#334 @hannesm, inspired by mirage/ocaml-dns#328 @bikallem) * dns-server.zone: allow zone files without final newline (add a newline to the buffer if the last character is not \n) (mirage/ocaml-dns#333 @hannesm) * dns-client-{lwt,mirage}: do not log when the resolver closed the connection, but there are no pending requests (mirage/ocaml-dns#332 @reynir) * dns-certify: in Dns_certify_mirage use X509.Private_key.of_string, the behaviour when both key_data and key_seed is provided changed, and leads to an exception now (mirage/ocaml-dns#330 @hannesm) --- packages/dns-certify/dns-certify.7.0.0/opam | 49 +++++++++++++++ packages/dns-cli/dns-cli.7.0.0/opam | 60 +++++++++++++++++++ .../dns-client-lwt/dns-client-lwt.7.0.0/opam | 40 +++++++++++++ .../dns-client-mirage.7.0.0/opam | 43 +++++++++++++ packages/dns-client/dns-client.7.0.0/opam | 37 ++++++++++++ packages/dns-mirage/dns-mirage.7.0.0/opam | 49 +++++++++++++++ packages/dns-resolver/dns-resolver.7.0.0/opam | 48 +++++++++++++++ packages/dns-server/dns-server.7.0.0/opam | 48 +++++++++++++++ packages/dns-stub/dns-stub.7.0.0/opam | 49 +++++++++++++++ packages/dns-tsig/dns-tsig.7.0.0/opam | 38 ++++++++++++ packages/dns/dns.7.0.0/opam | 55 +++++++++++++++++ packages/dnssec/dnssec.7.0.0/opam | 42 +++++++++++++ 12 files changed, 558 insertions(+) create mode 100644 packages/dns-certify/dns-certify.7.0.0/opam create mode 100644 packages/dns-cli/dns-cli.7.0.0/opam create mode 100644 packages/dns-client-lwt/dns-client-lwt.7.0.0/opam create mode 100644 packages/dns-client-mirage/dns-client-mirage.7.0.0/opam create mode 100644 packages/dns-client/dns-client.7.0.0/opam create mode 100644 packages/dns-mirage/dns-mirage.7.0.0/opam create mode 100644 packages/dns-resolver/dns-resolver.7.0.0/opam create mode 100644 packages/dns-server/dns-server.7.0.0/opam create mode 100644 packages/dns-stub/dns-stub.7.0.0/opam create mode 100644 packages/dns-tsig/dns-tsig.7.0.0/opam create mode 100644 packages/dns/dns.7.0.0/opam create mode 100644 packages/dnssec/dnssec.7.0.0/opam diff --git a/packages/dns-certify/dns-certify.7.0.0/opam b/packages/dns-certify/dns-certify.7.0.0/opam new file mode 100644 index 00000000000..a89a1498cef --- /dev/null +++ b/packages/dns-certify/dns-certify.7.0.0/opam @@ -0,0 +1,49 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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-tsig" {= version} + "dns-mirage" {= version} + "randomconv" {>= "0.1.2"} + "duration" {>= "0.1.2"} + "x509" {>= "0.15.2"} + "lwt" {>= "4.2.1"} + "mirage-random" {>= "2.0.0"} + "mirage-time" {>= "2.0.0"} + "mirage-clock" {>= "3.0.0"} + "tcpip" {>= "7.0.0"} + "logs" + "mirage-crypto-ec" + "mirage-crypto-pk" {>= "0.8.0"} + "mirage-crypto-rng" {>= "0.8.0"} +] + +build: [ + ["dune" "subst"] {dev} + ["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/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-cli/dns-cli.7.0.0/opam b/packages/dns-cli/dns-cli.7.0.0/opam new file mode 100644 index 00000000000..1a87f864d73 --- /dev/null +++ b/packages/dns-cli/dns-cli.7.0.0/opam @@ -0,0 +1,60 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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} + "dnssec" {= version} + "dns-tsig" {= version} + "dns-client-lwt" {= version} + "dns-server" {= version} + "dns-certify" {= version} + "bos" {>= "0.2.0"} + "cmdliner" {>= "1.1.0"} + "fpath" {>= "0.7.2"} + "x509" {>= "0.13.0"} + "mirage-crypto" {>= "0.8.0"} + "mirage-crypto-pk" {>= "0.8.0"} + "mirage-crypto-rng" {>= "0.11.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"] {dev} + ["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/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-client-lwt/dns-client-lwt.7.0.0/opam b/packages/dns-client-lwt/dns-client-lwt.7.0.0/opam new file mode 100644 index 00000000000..e238c64cf12 --- /dev/null +++ b/packages/dns-client-lwt/dns-client-lwt.7.0.0/opam @@ -0,0 +1,40 @@ +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-client-mirage/dns-client-mirage.7.0.0/opam b/packages/dns-client-mirage/dns-client-mirage.7.0.0/opam new file mode 100644 index 00000000000..fd0bb63954f --- /dev/null +++ b/packages/dns-client-mirage/dns-client-mirage.7.0.0/opam @@ -0,0 +1,43 @@ +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-client/dns-client.7.0.0/opam b/packages/dns-client/dns-client.7.0.0/opam new file mode 100644 index 00000000000..26d98462b8c --- /dev/null +++ b/packages/dns-client/dns-client.7.0.0/opam @@ -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" {= 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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-mirage/dns-mirage.7.0.0/opam b/packages/dns-mirage/dns-mirage.7.0.0/opam new file mode 100644 index 00000000000..7a57b86e90d --- /dev/null +++ b/packages/dns-mirage/dns-mirage.7.0.0/opam @@ -0,0 +1,49 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-resolver/dns-resolver.7.0.0/opam b/packages/dns-resolver/dns-resolver.7.0.0/opam new file mode 100644 index 00000000000..abf8ec84480 --- /dev/null +++ b/packages/dns-resolver/dns-resolver.7.0.0/opam @@ -0,0 +1,48 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-server/dns-server.7.0.0/opam b/packages/dns-server/dns-server.7.0.0/opam new file mode 100644 index 00000000000..3bd889cad4f --- /dev/null +++ b/packages/dns-server/dns-server.7.0.0/opam @@ -0,0 +1,48 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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"} + "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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-stub/dns-stub.7.0.0/opam b/packages/dns-stub/dns-stub.7.0.0/opam new file mode 100644 index 00000000000..7e954307552 --- /dev/null +++ b/packages/dns-stub/dns-stub.7.0.0/opam @@ -0,0 +1,49 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns-tsig/dns-tsig.7.0.0/opam b/packages/dns-tsig/dns-tsig.7.0.0/opam new file mode 100644 index 00000000000..9b5fdc38042 --- /dev/null +++ b/packages/dns-tsig/dns-tsig.7.0.0/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert "] +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dns/dns.7.0.0/opam b/packages/dns/dns.7.0.0/opam new file mode 100644 index 00000000000..27239c55e89 --- /dev/null +++ b/packages/dns/dns.7.0.0/opam @@ -0,0 +1,55 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert " "Reynir Björnsson "] +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" diff --git a/packages/dnssec/dnssec.7.0.0/opam b/packages/dnssec/dnssec.7.0.0/opam new file mode 100644 index 00000000000..1bf47fd8dce --- /dev/null +++ b/packages/dnssec/dnssec.7.0.0/opam @@ -0,0 +1,42 @@ +opam-version: "2.0" +maintainer: "team AT robur dot io" +authors: ["Hannes Mehnert " "Reynir Björnsson "] +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: + "https://github.com/mirage/ocaml-dns/releases/download/v7.0.0/dns-7.0.0.tbz" + checksum: [ + "sha256=cf28d345583b37b136361c920dd6d7557654db1f89ed11cfda1c3d3835f290bb" + "sha512=98f17a2ca3d9b0182008dc822f8caf2ab30a5d5b8d45ace2f20311a7a493fd64d36e455789cec04dc0175f42a74060d46cb791e6b7dc861e1995b6070dfff6aa" + ] +} +x-commit-hash: "3951b2b1d52cd66fbad1cc64adac5f304d51a9b6" From 0aa4727334e81ac2846e78a70b22ffe92b2fabbb Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Thu, 16 Feb 2023 15:29:00 +0100 Subject: [PATCH 2/2] add happy-eyeballs 0.5.0 --- .../happy-eyeballs-lwt.0.5.0/opam | 43 +++++++++++++++++ .../happy-eyeballs-mirage.0.5.0/opam | 46 +++++++++++++++++++ .../happy-eyeballs/happy-eyeballs.0.5.0/opam | 40 ++++++++++++++++ 3 files changed, 129 insertions(+) create mode 100644 packages/happy-eyeballs-lwt/happy-eyeballs-lwt.0.5.0/opam create mode 100644 packages/happy-eyeballs-mirage/happy-eyeballs-mirage.0.5.0/opam create mode 100644 packages/happy-eyeballs/happy-eyeballs.0.5.0/opam diff --git a/packages/happy-eyeballs-lwt/happy-eyeballs-lwt.0.5.0/opam b/packages/happy-eyeballs-lwt/happy-eyeballs-lwt.0.5.0/opam new file mode 100644 index 00000000000..78089b19709 --- /dev/null +++ b/packages/happy-eyeballs-lwt/happy-eyeballs-lwt.0.5.0/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +maintainer: "Robur " +authors: ["Robur "] +homepage: "https://github.com/roburio/happy-eyeballs" +dev-repo: "git+https://github.com/roburio/happy-eyeballs.git" +bug-reports: "https://github.com/roburio/happy-eyeballs/issues" +doc: "https://roburio.github.io/happy-eyeballs/" +license: "ISC" + +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "happy-eyeballs" {=version} + "cmdliner" {>= "1.1.0"} + "duration" + "dns-client-lwt" {>= "7.0.0"} + "domain-name" + "ipaddr" + "fmt" + "logs" + "lwt" + "mtime" {>= "1.0.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] + +synopsis: "Connecting to a remote host via IP version 4 or 6 using Lwt_unix" +description: """ +Happy eyeballs is an implementation of RFC 8305 which specifies how to connect +to a remote host using either IP protocol version 4 or IP protocol version 6. +This uses Lwt and Lwt_unix for side effects. +""" +url { + src: + "https://github.com/roburio/happy-eyeballs/releases/download/v0.5.0/happy-eyeballs-0.5.0.tbz" + checksum: [ + "sha256=4f804e1654a3df17d41613fdbfc51a08782686f1ab3327aa35441fefd6dd061e" + "sha512=06f74676c9369209ea445fa222da0b0d7d45a14adfc34c8869ebf1346ad52f53f404d6990ec9460723e01fb53337bd99c9d944fed919a7bdba4e78eb728df773" + ] +} +x-commit-hash: "732a23b12c8234f313285df489232c042338394a" diff --git a/packages/happy-eyeballs-mirage/happy-eyeballs-mirage.0.5.0/opam b/packages/happy-eyeballs-mirage/happy-eyeballs-mirage.0.5.0/opam new file mode 100644 index 00000000000..f19d7c6b2ff --- /dev/null +++ b/packages/happy-eyeballs-mirage/happy-eyeballs-mirage.0.5.0/opam @@ -0,0 +1,46 @@ +opam-version: "2.0" +maintainer: "Robur " +authors: ["Robur "] +homepage: "https://github.com/roburio/happy-eyeballs" +dev-repo: "git+https://github.com/roburio/happy-eyeballs.git" +bug-reports: "https://github.com/roburio/happy-eyeballs/issues" +doc: "https://roburio.github.io/happy-eyeballs/" +license: "ISC" + +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "happy-eyeballs" {=version} + "duration" + "dns-client" {>= "7.0.0"} + "dns-client-mirage" {>= "7.0.0"} + "domain-name" + "ipaddr" + "fmt" + "logs" + "lwt" + "mirage-clock" {>= "3.0.0"} + "tcpip" {>= "7.0.0"} + "mirage-random" {>= "2.0.0"} + "mirage-time" {>= "2.0.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] + +synopsis: "Connecting to a remote host via IP version 4 or 6 using Mirage" +description: """ +Happy eyeballs is an implementation of RFC 8305 which specifies how to connect +to a remote host using either IP protocol version 4 or IP protocol version 6. +This uses Lwt and Mirage for side effects. +""" +url { + src: + "https://github.com/roburio/happy-eyeballs/releases/download/v0.5.0/happy-eyeballs-0.5.0.tbz" + checksum: [ + "sha256=4f804e1654a3df17d41613fdbfc51a08782686f1ab3327aa35441fefd6dd061e" + "sha512=06f74676c9369209ea445fa222da0b0d7d45a14adfc34c8869ebf1346ad52f53f404d6990ec9460723e01fb53337bd99c9d944fed919a7bdba4e78eb728df773" + ] +} +x-commit-hash: "732a23b12c8234f313285df489232c042338394a" diff --git a/packages/happy-eyeballs/happy-eyeballs.0.5.0/opam b/packages/happy-eyeballs/happy-eyeballs.0.5.0/opam new file mode 100644 index 00000000000..79f1db8f717 --- /dev/null +++ b/packages/happy-eyeballs/happy-eyeballs.0.5.0/opam @@ -0,0 +1,40 @@ +opam-version: "2.0" +maintainer: "Robur " +authors: ["Robur "] +homepage: "https://github.com/roburio/happy-eyeballs" +dev-repo: "git+https://github.com/roburio/happy-eyeballs.git" +bug-reports: "https://github.com/roburio/happy-eyeballs/issues" +doc: "https://roburio.github.io/happy-eyeballs/" +license: "ISC" + +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "duration" + "domain-name" {>= "0.2.0"} + "ipaddr" {>= "5.2.0"} + "fmt" {>= "0.8.7"} + "logs" +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] + +synopsis: "Connecting to a remote host via IP version 4 or 6" +description: """ +Happy eyeballs is an implementation of +[RFC 8305](https://datatracker.ietf.org/doc/html/rfc8305) which specifies how +to connect to a remote host using either IP protocol version 4 or IP protocol +version 6. This is the core of the algorithm in value passing style, with a +slick dependency cone. +""" +url { + src: + "https://github.com/roburio/happy-eyeballs/releases/download/v0.5.0/happy-eyeballs-0.5.0.tbz" + checksum: [ + "sha256=4f804e1654a3df17d41613fdbfc51a08782686f1ab3327aa35441fefd6dd061e" + "sha512=06f74676c9369209ea445fa222da0b0d7d45a14adfc34c8869ebf1346ad52f53f404d6990ec9460723e01fb53337bd99c9d944fed919a7bdba4e78eb728df773" + ] +} +x-commit-hash: "732a23b12c8234f313285df489232c042338394a"