tlstunnel goes mirage4

This commit is contained in:
Hannes Mehnert 2022-09-25 17:32:08 +02:00
parent 9af38175d0
commit 5badf9b9a2
2 changed files with 59 additions and 41 deletions

View file

@ -1,41 +0,0 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-09 13:57:03-00:00).
opam-version: "2.0"
name: "mirage-unikernel-tlstunnel-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"cstruct" { >= "6.0.0"}
"dns-certify" { >= "5.0.1"}
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"lwt"
"mirage" {build & >= "3.10.0" & < "3.11.0"}
"mirage-block-solo5" { >= "0.6.1" & < "0.7.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"}
"tls-mirage" { >= "0.14.0"}
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git+https://example.com/nonexistent"
build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "A TLS reverse proxy unikernel"
install: [
[ "cp" "tlstunnel.hvt" "%{bin}%/tlstunnel.hvt" ]
[ "strip" "%{bin}%/tlstunnel.hvt" ]
[ "cp" "tlstunnel.hvt" "%{prefix}%/tlstunnel.hvt.debug" ]
[ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/roburio/tlstunnel.git" }

View file

@ -0,0 +1,59 @@
# 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 TLS reverse proxy unikernel"
build: ["sh" "-exc" "cd unikernel/ && mirage build"]
install: [
[ "cp" "unikernel/dist/tlstunnel.hvt" "%{bin}%/tlstunnel.hvt" ]
[ "strip" "%{bin}%/tlstunnel.hvt" ]
[ "cp" "unikernel/dist/tlstunnel.hvt" "%{prefix}%/tlstunnel.hvt.debug" ]
[ "cp" "README.md" "%{prefix}%/README.md" ]
]
depends: [
"arp" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"cstruct" { ?monorepo & >= "6.0.0" }
"dns-certify" { ?monorepo & >= "5.0.1" }
"ethernet" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"lwt" { ?monorepo }
"mirage" { build & >= "4.2.0" & < "4.3.0" }
"mirage-block-solo5" { ?monorepo & >= "0.8.0" & < "0.9.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" }
"tls-mirage" { ?monorepo & >= "0.14.0" }
]
x-mirage-opam-lock-location: "unikernel/mirage/tlstunnel-hvt.opam.locked"
x-mirage-configure: ["sh" "-exc" "cd unikernel/ && mirage configure -t hvt --allocation-policy=best-fit --context ./mirage/context --no-extra-repo"]
x-mirage-pre-build: [make "-Cunikernel/" "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/tlstunnel.git" }