dns-stub and dnsvizor go mirageos4

This commit is contained in:
Hannes Mehnert 2022-08-29 19:34:15 +02:00
parent 18d052443b
commit 14c8bb4f81
4 changed files with 134 additions and 96 deletions

View file

@ -1,47 +0,0 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-09 14:40:32-00:00).
opam-version: "2.0"
name: "mirage-unikernel-dns_stub-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"ca-certs-nss"
"dns"
"dns-client"
"dns-mirage"
"dns-resolver"
"dns-server"
"dns-stub" { >= "6.0.0"}
"dns-tsig"
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"hex"
"logs"
"lwt"
"metrics"
"mirage" {build & >= "3.10.0" & < "3.11.0"}
"mirage-bootvar-solo5" { >= "0.6.0" & < "0.7.0"}
"mirage-clock-freestanding" { >= "3.0.0" & < "5.0.0"}
"mirage-crypto-rng-mirage" { >= "0.8.0" & < "0.11.0"}
"mirage-logs" { >= "1.2.0" & < "2.0.0"}
"mirage-net-solo5" { >= "0.6.1" & < "0.7.0"}
"mirage-runtime" { >= "3.10.0" & < "3.11.0"}
"mirage-solo5" { >= "0.6.1" & < "0.7.0"}
"mirage-types" { >= "3.10.0" & < "3.11.0"}
"mirage-types-lwt" { >= "3.10.0" & < "3.11.0"}
"ocaml" {build & >= "4.08.0"}
"ocamlbuild" {build}
"ocamlfind" {build}
"solo5-bindings-hvt" { >= "0.6.0" & < "0.7.0"}
"tcpip" { >= "7.0.0" & < "8.0.0"}
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git+https://example.com/nonexistent"
build: [ "sh" "-exc" "cd dns-only && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "A DNS stub resolver"
install: [
[ "cp" "dns-only/dns_stub.hvt" "%{bin}%/dns_stub.hvt" ]
[ "strip" "%{bin}%/dns_stub.hvt" ]
[ "cp" "dns-only/dns_stub.hvt" "%{prefix}%/dns_stub.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dnsvizor.git" }

View file

@ -0,0 +1,66 @@
# Generated by mirage.v4.2.1
opam-version: "2.0"
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git://dummy"
synopsis: "A DNS stub resolver"
build: ["sh" "-exc" "cd dns-only/ && mirage build"]
install: [
[ "cp" "dns-only/dist/dns-stub.hvt" "%{bin}%/dns-stub.hvt" ]
[ "strip" "%{bin}%/dns_stub.hvt" ]
[ "cp" "dns-only/dist/dns_stub.hvt" "%{prefix}%/dns_stub.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
depends: [
"arp" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"ca-certs-nss" { ?monorepo }
"dns" { ?monorepo }
"dns-client" { ?monorepo }
"dns-mirage" { ?monorepo }
"dns-resolver" { ?monorepo }
"dns-server" { ?monorepo }
"dns-stub" { ?monorepo & >= "6.0.0" }
"dns-tsig" { ?monorepo }
"ethernet" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"hex" { ?monorepo }
"logs" { ?monorepo }
"lwt" { ?monorepo }
"metrics" { ?monorepo }
"mirage" { build & >= "4.2.0" & < "4.3.0" }
"mirage-bootvar-solo5" { ?monorepo & >= "0.6.0" & < "0.7.0" }
"mirage-clock-solo5" { ?monorepo & >= "4.2.0" & < "5.0.0" }
"mirage-crypto-rng-mirage" { ?monorepo & >= "0.8.0" & < "0.11.0" }
"mirage-logs" { ?monorepo & >= "1.2.0" & < "2.0.0" }
"mirage-net-solo5" { ?monorepo & >= "0.8.0" & < "0.9.0" }
"mirage-random" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"mirage-runtime" { ?monorepo & >= "4.2.0" & < "4.3.0" }
"mirage-solo5" { ?monorepo & >= "0.9.0" & < "0.10.0" }
"mirage-time" { ?monorepo }
"ocaml" { build & >= "4.08.0" }
"ocaml-solo5" { build & >= "0.8.1" & < "0.9.0" }
"opam-monorepo" { build & >= "0.3.2" }
"tcpip" { ?monorepo & >= "7.0.0" & < "8.0.0" }
]
x-mirage-opam-lock-location: "dns-only/mirage/dns-stub-hvt.opam.locked"
x-mirage-configure: ["sh" "-exc" "cd dns-only/ && mirage configure -t hvt --allocation-policy=best-fit --context ./mirage/context --no-extra-repo"]
x-mirage-pre-build: [make "-Cdns-only/" "lock" "depext-lockfile" "pull"]
x-mirage-extra-repo: [
["opam-overlays" "https://github.com/dune-universe/opam-overlays.git"]
["mirage-overlays" "https://github.com/dune-universe/mirage-opam-overlays.git"]]
x-opam-monorepo-opam-provided: ["mirage"
"ocaml""ocaml-solo5"
"opam-monorepo"]
url { src: "git+https://github.com/roburio/dnsvizor.git" }

View file

@ -1,49 +0,0 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-09 14:41:46-00:00).
opam-version: "2.0"
name: "mirage-unikernel-dnsvizor-hvt"
depends: [ "arp" { >= "3.0.0"}
"ca-certs-nss"
"charrua"
"charrua-server"
"dns"
"dns-client"
"dns-mirage"
"dns-resolver"
"dns-server"
"dns-stub" { >= "6.0.0"}
"dns-tsig"
"ethernet" { >= "3.0.0"}
"functoria-runtime"
"hex"
"logs"
"lwt"
"metrics"
"mirage" {build & >= "3.10.0" & < "3.11.0"}
"mirage-bootvar-solo5" { >= "0.6.0" & < "0.7.0"}
"mirage-clock-freestanding" { >= "3.0.0" & < "5.0.0"}
"mirage-crypto-rng-mirage" { >= "0.8.0" & < "0.11.0"}
"mirage-logs" { >= "1.2.0" & < "2.0.0"}
"mirage-net-solo5" { >= "0.6.1" & < "0.7.0"}
"mirage-runtime" { >= "3.10.0" & < "3.11.0"}
"mirage-solo5" { >= "0.6.1" & < "0.7.0"}
"mirage-types" { >= "3.10.0" & < "3.11.0"}
"mirage-types-lwt" { >= "3.10.0" & < "3.11.0"}
"ocaml" {build & >= "4.08.0"}
"ocamlbuild" {build}
"ocamlfind" {build}
"solo5-bindings-hvt" { >= "0.6.0" & < "0.7.0"}
"tcpip" { >= "7.0.0"}
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git+https://example.com/nonexistent"
build: [ "sh" "-exc" "cd dns-and-dhcp && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "A DNS resolver and DHCP server"
install: [
[ "cp" "dns-and-dhcp/dnsvizor.hvt" "%{bin}%/dnsvizor.hvt" ]
[ "strip" "%{bin}%/dnsvizor.hvt" ]
[ "cp" "dns-and-dhcp/dnsvizor.hvt" "%{prefix}%/dnsvizor.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dnsvizor.git" }

View file

@ -0,0 +1,68 @@
# Generated by mirage.v4.2.1
opam-version: "2.0"
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git://dummy"
synopsis: "A DNS resolver and DHCP server"
build: ["sh" "-exc" "cd dns-and-dhcp/ && mirage build"]
install: [
[ "cp" "dns-and-dhcp/dist/dnsvizor.hvt" "%{bin}%/dnsvizor.hvt" ]
[ "strip" "%{bin}%/dnsvizor.hvt" ]
[ "cp" "dns-and-dhcp/dist/dnsvizor.hvt" "%{prefix}%/dnsvizor.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
depends: [
"arp" { ?monorepo & >= "3.0.0" }
"ca-certs-nss" { ?monorepo }
"charrua" { ?monorepo }
"charrua-server" { ?monorepo }
"dns" { ?monorepo }
"dns-client" { ?monorepo }
"dns-mirage" { ?monorepo }
"dns-resolver" { ?monorepo }
"dns-server" { ?monorepo }
"dns-stub" { ?monorepo & >= "6.0.0" }
"dns-tsig" { ?monorepo }
"ethernet" { ?monorepo & >= "3.0.0" }
"hex" { ?monorepo }
"logs" { ?monorepo }
"lwt" { ?monorepo }
"metrics" { ?monorepo }
"mirage" { build & >= "4.2.0" & < "4.3.0" }
"mirage-bootvar-solo5" { ?monorepo & >= "0.6.0" & < "0.7.0" }
"mirage-clock-solo5" { ?monorepo & >= "4.2.0" & < "5.0.0" }
"mirage-crypto-rng-mirage" { ?monorepo & >= "0.8.0" & < "0.11.0" }
"mirage-logs" { ?monorepo & >= "1.2.0" & < "2.0.0" }
"mirage-net-solo5" { ?monorepo & >= "0.8.0" & < "0.9.0" }
"mirage-random" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"mirage-runtime" { ?monorepo & >= "4.2.0" & < "4.3.0" }
"mirage-solo5" { ?monorepo & >= "0.9.0" & < "0.10.0" }
"mirage-time" { ?monorepo }
"ocaml" { build & >= "4.08.0" }
"ocaml-solo5" { build & >= "0.8.1" & < "0.9.0" }
"opam-monorepo" { build & >= "0.3.2" }
"tcpip" { ?monorepo & >= "7.0.0" }
]
x-mirage-opam-lock-location: "dns-and-dhcp/mirage/dnsvizor-hvt.opam.locked"
x-mirage-configure: ["sh" "-exc" "cd dns-and-dhcp/ && mirage configure -t hvt --allocation-policy=best-fit --context ./mirage/context --no-extra-repo"]
x-mirage-pre-build: [make "-Cdns-and-dhcp/" "lock" "depext-lockfile" "pull"]
x-mirage-extra-repo: [
["opam-overlays" "https://github.com/dune-universe/opam-overlays.git"]
["mirage-overlays" "https://github.com/dune-universe/mirage-opam-overlays.git"]]
x-opam-monorepo-opam-provided: ["mirage"
"ocaml""ocaml-solo5"
"opam-monorepo"]
url { src: "git+https://github.com/roburio/dnsvizor.git" }