update openvpn-router to use a block device for storage
This commit is contained in:
parent
8c3b3c48c6
commit
8bbf1aba8f
4 changed files with 3 additions and 127 deletions
|
@ -1,34 +0,0 @@
|
||||||
opam-version: "2.0"
|
|
||||||
name: "provision"
|
|
||||||
maintainer: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
|
|
||||||
authors: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
|
|
||||||
homepage: "https://github.com/dinosaure/caravan"
|
|
||||||
bug-reports: "https://github.com/dinosaure/caravan/issues"
|
|
||||||
dev-repo: "git+https://github.com/dinosaure/caravan.git"
|
|
||||||
doc: "https://dinosaure.github.io/caravan/"
|
|
||||||
license: "MIT"
|
|
||||||
synopsis: "Section injection into ELF binary file"
|
|
||||||
description: """
|
|
||||||
Tool to inject new <.provision> section into given ELF binary file.
|
|
||||||
"""
|
|
||||||
|
|
||||||
build: [ ["dune" "subst"] {dev}
|
|
||||||
["dune" "build" "-p" name "-j" jobs ]
|
|
||||||
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
|
|
||||||
|
|
||||||
depends: [
|
|
||||||
"ocaml" {>= "4.07.0"}
|
|
||||||
"dune" {>= "1.9.2"}
|
|
||||||
"base-bytes"
|
|
||||||
"base-unix"
|
|
||||||
"bigstringaf"
|
|
||||||
"fmt"
|
|
||||||
"bos"
|
|
||||||
"logs"
|
|
||||||
"rresult"
|
|
||||||
"mmap"
|
|
||||||
"cmdliner"
|
|
||||||
]
|
|
||||||
url {
|
|
||||||
src: "git+https://github.com/hannesm/caravan.git#next"
|
|
||||||
}
|
|
|
@ -8,6 +8,7 @@ depends: [ "arp" { >= "2.3.0" & < "3.0.0"}
|
||||||
"logs-syslog" { >= "0.3.0" & < "0.4"}
|
"logs-syslog" { >= "0.3.0" & < "0.4"}
|
||||||
"lwt"
|
"lwt"
|
||||||
"mirage" {build & >= "3.10.0" & < "3.11.0"}
|
"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-bootvar-solo5" { >= "0.6.0" & < "0.7.0"}
|
||||||
"mirage-clock-freestanding" { >= "3.0.0" & < "4.0.0"}
|
"mirage-clock-freestanding" { >= "3.0.0" & < "4.0.0"}
|
||||||
"mirage-console-solo5" { >= "0.6.1" & < "0.7.0"}
|
"mirage-console-solo5" { >= "0.6.1" & < "0.7.0"}
|
||||||
|
@ -24,8 +25,7 @@ depends: [ "arp" { >= "2.3.0" & < "3.0.0"}
|
||||||
"ocamlbuild" {build}
|
"ocamlbuild" {build}
|
||||||
"ocamlfind" {build}
|
"ocamlfind" {build}
|
||||||
"openvpn"
|
"openvpn"
|
||||||
"provision"
|
"solo5-bindings-hvt" { >= "0.6.0" & < "0.7.0"}
|
||||||
"solo5-bindings-hvt" { = "0.6.8~caravan"}
|
|
||||||
"tcpip" { >= "6.1.0" & < "7.0.0"}
|
"tcpip" { >= "6.1.0" & < "7.0.0"}
|
||||||
]
|
]
|
||||||
maintainer: "dummy"
|
maintainer: "dummy"
|
||||||
|
@ -34,7 +34,7 @@ homepage: "dummy"
|
||||||
bug-reports: "dummy"
|
bug-reports: "dummy"
|
||||||
dev-repo: "git+https://example.com/nonexistent"
|
dev-repo: "git+https://example.com/nonexistent"
|
||||||
build: [ "sh" "-exc" "cd mirage-router && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
|
build: [ "sh" "-exc" "cd mirage-router && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
|
||||||
synopsis: "An OpenVPN router unikernel, the configuration is embedded via caravan, reports metrics to influx"
|
synopsis: "An OpenVPN router unikernel, the configuration is stored on a block device, reports metrics to influx"
|
||||||
install: [
|
install: [
|
||||||
[ "cp" "mirage-router/ovpn_router.hvt" "%{bin}%/ovpn_router.hvt" ]
|
[ "cp" "mirage-router/ovpn_router.hvt" "%{bin}%/ovpn_router.hvt" ]
|
||||||
[ "strip" "%{bin}%/ovpn_router.hvt" ]
|
[ "strip" "%{bin}%/ovpn_router.hvt" ]
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
opam-version: "2.0"
|
|
||||||
name: "provision"
|
|
||||||
maintainer: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
|
|
||||||
authors: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
|
|
||||||
homepage: "https://github.com/dinosaure/caravan"
|
|
||||||
bug-reports: "https://github.com/dinosaure/caravan/issues"
|
|
||||||
dev-repo: "git+https://github.com/dinosaure/caravan.git"
|
|
||||||
doc: "https://dinosaure.github.io/caravan/"
|
|
||||||
license: "MIT"
|
|
||||||
synopsis: "Section injection into ELF binary file"
|
|
||||||
description: """
|
|
||||||
Tool to inject new <.provision> section into given ELF binary file.
|
|
||||||
"""
|
|
||||||
|
|
||||||
build: [ ["dune" "subst"] {dev}
|
|
||||||
["dune" "build" "-p" name "-j" jobs ]
|
|
||||||
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
|
|
||||||
|
|
||||||
depends: [
|
|
||||||
"ocaml" {>= "4.07.0"}
|
|
||||||
"dune" {>= "1.9.2"}
|
|
||||||
"base-bytes"
|
|
||||||
"bigstringaf"
|
|
||||||
"fmt"
|
|
||||||
]
|
|
||||||
|
|
||||||
depopts: [
|
|
||||||
"ocaml-freestanding"
|
|
||||||
]
|
|
||||||
|
|
||||||
conflicts: [
|
|
||||||
"ocaml-freestanding" {< "0.6.0"}
|
|
||||||
]
|
|
||||||
url {
|
|
||||||
src: "git+https://github.com/hannesm/caravan.git#next"
|
|
||||||
}
|
|
|
@ -1,54 +0,0 @@
|
||||||
opam-version: "2.0"
|
|
||||||
maintainer: "martin@lucina.net"
|
|
||||||
authors: [
|
|
||||||
"Dan Williams <djwillia@us.ibm.com>"
|
|
||||||
"Martin Lucina <martin@lucina.net>"
|
|
||||||
"Ricardo Koller <kollerr@us.ibm.com>"
|
|
||||||
]
|
|
||||||
homepage: "https://github.com/solo5/solo5"
|
|
||||||
bug-reports: "https://github.com/solo5/solo5/issues"
|
|
||||||
license: "ISC"
|
|
||||||
dev-repo: "git+https://github.com/solo5/solo5.git"
|
|
||||||
build: [
|
|
||||||
["./configure.sh"]
|
|
||||||
[make "V=1" "CONFIG_SPT=" "CONFIG_VIRTIO=" "CONFIG_MUEN=" "CONFIG_GENODE=" "CONFIG_XEN="]
|
|
||||||
]
|
|
||||||
install: [make "V=1" "CONFIG_SPT=" "CONFIG_VIRTIO=" "CONFIG_MUEN=" "CONFIG_GENODE=" "CONFIG_XEN=" "install-opam-hvt" "PREFIX=%{prefix}%"]
|
|
||||||
depends: [
|
|
||||||
"conf-pkg-config"
|
|
||||||
"conf-libseccomp" {build & os = "linux"}
|
|
||||||
]
|
|
||||||
depexts: [
|
|
||||||
["linux-headers"] {os-distribution = "alpine"}
|
|
||||||
["kernel-headers"] {os-distribution = "fedora"}
|
|
||||||
["kernel-headers"] {os-distribution = "rhel"}
|
|
||||||
["linux-libc-dev"] {os-family = "debian"}
|
|
||||||
]
|
|
||||||
conflicts: [
|
|
||||||
"ocaml-freestanding" {< "0.6.0"}
|
|
||||||
"solo5-bindings-spt"
|
|
||||||
"solo5-bindings-virtio"
|
|
||||||
"solo5-bindings-muen"
|
|
||||||
"solo5-bindings-genode"
|
|
||||||
"solo5-bindings-xen"
|
|
||||||
]
|
|
||||||
available: [
|
|
||||||
(arch = "x86_64" | arch = "arm64") &
|
|
||||||
(os = "linux" | os = "freebsd" | os = "openbsd")
|
|
||||||
]
|
|
||||||
synopsis: "Solo5 sandboxed execution environment (hvt target)"
|
|
||||||
description: """
|
|
||||||
Solo5 is a sandboxed execution environment primarily intended
|
|
||||||
for, but not limited to, running applications built using various
|
|
||||||
unikernels (a.k.a. library operating systems).
|
|
||||||
|
|
||||||
This package provides the Solo5 components needed to build and
|
|
||||||
run MirageOS unikernels on the "hvt" target, including the
|
|
||||||
"solo5-hvt" tender source code, and "solo5-hvt-configure" script
|
|
||||||
used to specialize the tender at MirageOS unikernel build time.
|
|
||||||
|
|
||||||
The "hvt" target is supported on 64-bit Linux, FreeBSD and
|
|
||||||
OpenBSD systems with hardware virtualization."""
|
|
||||||
url {
|
|
||||||
src: "git+https://github.com/hannesm/solo5.git#0.6.8-caravan"
|
|
||||||
}
|
|
Loading…
Reference in a new issue