2023-02-24 17:25:22 +00:00
|
|
|
# Generated by mirage.v4.3.4
|
2022-08-29 18:07:22 +00:00
|
|
|
|
|
|
|
opam-version: "2.0"
|
|
|
|
maintainer: "dummy"
|
|
|
|
authors: "dummy"
|
|
|
|
homepage: "dummy"
|
|
|
|
bug-reports: "dummy"
|
|
|
|
dev-repo: "git://dummy"
|
2023-03-19 15:57:09 +00:00
|
|
|
synopsis: "An OpenVPN-compatible router unikernel, the configuration is stored on a block device, reports metrics to influx"
|
2022-08-29 18:07:22 +00:00
|
|
|
|
|
|
|
build: ["sh" "-exc" "cd mirage-router/ && mirage build"]
|
|
|
|
|
|
|
|
install: [
|
|
|
|
[ "cp" "mirage-router/dist/ovpn-router.hvt" "%{bin}%/ovpn-router.hvt" ]
|
2022-08-29 18:18:28 +00:00
|
|
|
[ "strip" "%{bin}%/ovpn-router.hvt" ]
|
|
|
|
[ "cp" "mirage-router/dist/ovpn-router.hvt" "%{prefix}%/ovpn-router.hvt.debug" ]
|
|
|
|
# [ "cp" "README.md" "%{prefix}%/README.md" ]
|
2022-08-29 18:07:22 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
depends: [
|
|
|
|
"arp" { ?monorepo & >= "3.0.0" & < "4.0.0" }
|
|
|
|
"ethernet" { ?monorepo & >= "3.0.0" & < "4.0.0" }
|
|
|
|
"logs" { ?monorepo }
|
2023-06-04 16:02:12 +00:00
|
|
|
"logs-syslog" { ?monorepo & >= "0.4.0" }
|
2022-08-29 18:07:22 +00:00
|
|
|
"lwt" { ?monorepo }
|
2023-06-21 17:16:32 +00:00
|
|
|
"mirage" { build & >= "4.4.0" & < "4.5.0" }
|
2022-08-29 18:07:22 +00:00
|
|
|
"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" }
|
2023-02-24 17:25:22 +00:00
|
|
|
"mirage-crypto-rng-mirage" { ?monorepo & >= "0.8.0" & < "0.12.0" }
|
2022-08-29 18:07:22 +00:00
|
|
|
"mirage-kv" { ?monorepo }
|
|
|
|
"mirage-logs" { ?monorepo & >= "1.2.0" & < "2.0.0" }
|
|
|
|
"mirage-monitoring" { ?monorepo }
|
|
|
|
"mirage-net-solo5" { ?monorepo & >= "0.8.0" & < "0.9.0" }
|
|
|
|
"mirage-random" { ?monorepo & >= "3.0.0" & < "4.0.0" }
|
2023-06-21 17:16:32 +00:00
|
|
|
"mirage-runtime" { ?monorepo & >= "4.4.0" & < "4.5.0" }
|
2022-08-29 18:07:22 +00:00
|
|
|
"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" }
|
2023-03-19 15:57:09 +00:00
|
|
|
"miragevpn" { ?monorepo }
|
2023-02-24 17:25:22 +00:00
|
|
|
"solo5" { build & >= "0.7.5" & < "0.8.0" }
|
2023-03-17 22:15:41 +00:00
|
|
|
"tcpip" { ?monorepo & >= "7.0.0" & < "9.0.0" }
|
2022-08-29 18:07:22 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
x-mirage-opam-lock-location: "mirage-router/mirage/ovpn-router-hvt.opam.locked"
|
|
|
|
|
2023-03-02 22:25:27 +00:00
|
|
|
x-mirage-configure: ["sh" "-exc" "cd mirage-router/ && mirage configure -t hvt --allocation-policy=best-fit --enable-monitoring --context ./mirage/context --no-extra-repo"]
|
2022-08-29 18:07:22 +00:00
|
|
|
|
|
|
|
x-mirage-pre-build: [make "-Cmirage-router/" "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"
|
2023-02-24 17:25:22 +00:00
|
|
|
"ocaml""ocaml-solo5""opam-monorepo"
|
|
|
|
"solo5"]
|
2022-08-29 18:07:22 +00:00
|
|
|
|
2023-09-09 12:19:41 +00:00
|
|
|
url { src: "git+https://github.com/robur-coop/miragevpn.git" }
|