From 5badf9b9a20208a6f0d814d7907a56c30aa595a3 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sun, 25 Sep 2022 17:32:08 +0200 Subject: [PATCH] tlstunnel goes mirage4 --- .../mirage-unikernel-tlstunnel-hvt.0.0.1/opam | 41 ------------- .../mirage-unikernel-tlstunnel-hvt.0.0.2/opam | 59 +++++++++++++++++++ 2 files changed, 59 insertions(+), 41 deletions(-) delete mode 100644 packages/mirage-unikernel-tlstunnel-hvt.0.0.1/opam create mode 100644 packages/mirage-unikernel-tlstunnel-hvt.0.0.2/opam diff --git a/packages/mirage-unikernel-tlstunnel-hvt.0.0.1/opam b/packages/mirage-unikernel-tlstunnel-hvt.0.0.1/opam deleted file mode 100644 index d485aff..0000000 --- a/packages/mirage-unikernel-tlstunnel-hvt.0.0.1/opam +++ /dev/null @@ -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" } diff --git a/packages/mirage-unikernel-tlstunnel-hvt.0.0.2/opam b/packages/mirage-unikernel-tlstunnel-hvt.0.0.2/opam new file mode 100644 index 0000000..a0c6741 --- /dev/null +++ b/packages/mirage-unikernel-tlstunnel-hvt.0.0.2/opam @@ -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" }