smtp stack

This commit is contained in:
Hannes Mehnert 2022-01-25 17:04:46 +01:00
parent 4d90bcd2cc
commit ac6dfc4dd4
6 changed files with 232 additions and 2 deletions

View file

@ -0,0 +1,48 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-25 15:50:36-00:00).
opam-version: "2.0"
name: "mirage-unikernel-relay-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"dns-mirage"
"domain-name"
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"git-mirage"
"irmin" { >= "2.10.0"}
"irmin-git"
"irmin-mirage"
"irmin-mirage-git"
"lwt"
"mimic"
"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}
"ppx_irmin"
"ptt"
"randomconv"
"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 relay && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "SMTP relay unikernel"
install: [
[ "cp" "relay/relay.hvt" "%{bin}%/relay.hvt" ]
[ "strip" "%{bin}%/relay.hvt" ]
[ "cp" "relay/relay.hvt" "%{prefix}%/relay.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/tarides/unikernels.git" }

View file

@ -0,0 +1,45 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-25 15:52:59-00:00).
opam-version: "2.0"
name: "mirage-unikernel-signer-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"ca-certs-nss"
"dns"
"dns-client"
"dns-mirage"
"dns-tsig"
"domain-name"
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"lwt"
"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}
"ptt"
"randomconv"
"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 signer && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "DKIM Signer unikernel"
install: [
[ "cp" "signer/signer.hvt" "%{bin}%/signer.hvt" ]
[ "strip" "%{bin}%/signer.hvt" ]
[ "cp" "signer/signer.hvt" "%{prefix}%/signer.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/tarides/unikernels.git" }

View file

@ -0,0 +1,41 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-25 15:54:25-00:00).
opam-version: "2.0"
name: "mirage-unikernel-spamfilter-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"ca-certs-nss"
"dns"
"domain-name"
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"lwt"
"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}
"ptt"
"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 spamfilter && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "A spamfilter unikernel"
install: [
[ "cp" "spamfilter/spamfilter.hvt" "%{bin}%/spamfilter.hvt" ]
[ "strip" "%{bin}%/spamfilter.hvt" ]
[ "cp" "spamfilter/spamfilter.hvt" "%{prefix}%/spamfilter.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/tarides/unikernels.git" }

View file

@ -0,0 +1,54 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-25 15:55:30-00:00).
opam-version: "2.0"
name: "mirage-unikernel-submission-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"art"
"ca-certs-nss"
"dns-certify"
"dns-mirage"
"domain-name"
"emile"
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"git-mirage"
"irmin" { >= "2.10.0"}
"irmin-git"
"irmin-mirage"
"irmin-mirage-git"
"lwt"
"mimic"
"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}
"paf"
"paf-le" { >= "0.0.8"}
"ppx_irmin"
"ptt"
"randomconv"
"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 submission && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "SMTP submission unikernel"
install: [
[ "cp" "submission/submission.hvt" "%{bin}%/submission.hvt" ]
[ "strip" "%{bin}%/submission.hvt" ]
[ "cp" "submission/submission.hvt" "%{prefix}%/submission.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/tarides/unikernels.git" }

View file

@ -0,0 +1,44 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-25 15:58:19-00:00).
opam-version: "2.0"
name: "mirage-unikernel-verifier-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"ca-certs-nss"
"dns"
"dns-certify"
"dns-mirage"
"domain-name"
"ethernet" { >= "3.0.0" & < "4.0.0"}
"functoria-runtime"
"lwt"
"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}
"ptt"
"solo5-bindings-hvt" { >= "0.6.0" & < "0.7.0"}
"tcpip" { >= "7.0.0" & < "8.0.0"}
"uri"
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git+https://example.com/nonexistent"
build: [ "sh" "-exc" "cd verifier && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "SMTP receiver unikernel"
install: [
[ "cp" "verifier/verifier.hvt" "%{bin}%/verifier.hvt" ]
[ "strip" "%{bin}%/verifier.hvt" ]
[ "cp" "verifier/verifier.hvt" "%{prefix}%/verifier.hvt.debug" ]
# [ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/tarides/unikernels.git#main" }

View file

@ -41,8 +41,6 @@ depends: [
"mirage-time-unix" {>= "2.0.0"} "mirage-time-unix" {>= "2.0.0"}
"base-threads" {with-test} "base-threads" {with-test}
"alcotest" {with-test} "alcotest" {with-test}
"base-threads" {with-test}
"bos" {with-test}
"lwt" {>= "5.4.0"} "lwt" {>= "5.4.0"}
"mimic" {>= "0.0.1"} "mimic" {>= "0.0.1"}
"mirage-clock" {>= "3.1.0"} "mirage-clock" {>= "3.1.0"}