add smtp stack, signer

This commit is contained in:
Hannes Mehnert 2024-02-27 19:04:06 +01:00
parent 44ffd65e41
commit b723dadfff
5 changed files with 199 additions and 0 deletions

View file

@ -0,0 +1,68 @@
# Generated by mirage.v4.4.2
opam-version: "2.0"
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git://dummy"
synopsis: "Unikernel signer - switch dependencies"
description: """
It assumes that local dependencies are already
fetched.
"""
build: ["sh" "-exc" "cd unikernel/signer/ && mirage build"]
install: [
[ "cp" "unikernel/signer/dist/signer.hvt" "%{bin}%/signer.hvt" ]
[ "strip" "%{bin}%/signer.hvt" ]
[ "cp" "unikernel/signer/dist/signer.hvt" "%{prefix}%/signer.hvt.debug" ]
[ "cp" "README.md" "%{prefix}%/README.md" ]
]
depends: [
"arp" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"ca-certs-nss" { ?monorepo }
"dns" { ?monorepo }
"dns-client" { ?monorepo }
"dns-mirage" { ?monorepo }
"dns-tsig" { ?monorepo }
"domain-name" { ?monorepo }
"duration" { ?monorepo & < "1.0.0" }
"ethernet" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"lwt" { ?monorepo }
"mirage" { build & >= "4.4.1" & < "4.5.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.12.0" }
"mirage-logs" { ?monorepo & >= "2.0.0" & < "3.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.4.1" & < "4.5.0" }
"mirage-solo5" { ?monorepo & >= "0.9.0" & < "0.10.0" }
"mirage-time" { ?monorepo }
"ocaml-solo5" { build & >= "0.8.1" & < "0.9.0" }
"opam-monorepo" { build & >= "0.3.2" }
"ptt" { ?monorepo }
"randomconv" { ?monorepo }
"solo5" { build & >= "0.7.5" & < "0.9.0" }
"tcpip" { ?monorepo & >= "7.0.0" & < "9.0.0" }
]
x-mirage-opam-lock-location: "unikernel/signer/mirage/signer-hvt.opam.locked"
x-mirage-configure: ["sh" "-exc" "cd unikernel/signer/ && mirage configure -t hvt --context ./mirage/context --no-extra-repo"]
x-mirage-pre-build: [make "-Cunikernel/signer/" "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-solo5""opam-monorepo"
"solo5"]
url { src: "git+https://github.com/mirage/ptt.git" }

54
packages/ptt.0.1~dev/opam Normal file
View file

@ -0,0 +1,54 @@
opam-version: "2.0"
name: "ptt"
synopsis: "Postes, Télégraphes et Téléphones, SMTP servers"
description: """\
PTT aggregate some SMTP servers like a relay or
a submission server. It can be use as an UNIX service or an MirageOS unikernel."""
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors: "Romain Calascibetta <romain.calascibetta@gmail.com>"
license: "MIT"
homepage: "https://github.com/mirage/ptt"
doc: "https://mirage.github.io/ptt/"
bug-reports: "https://github.com/mirage/ptt/issues"
depends: [
"ocaml" {>= "4.07.0"}
"dune"
"mrmime"
"digestif"
"colombe" {>= "0.7.0"}
"received" {>= "0.5.1"}
"sendmail" {>= "0.7.0"}
"sendmail-lwt" {>= "0.6.0"}
"mimic"
"domain-name"
"dns"
"logs"
"tls" {>= "0.15.4"}
"tls-mirage" {>= "0.15.4"}
"tcpip" {>= "7.1.0"}
"ke" {>= "0.6"}
"hxd"
"bigstringaf"
"ocaml-syntax-shims"
"dkim-mirage" {>= "0.4.0"}
"mirage-kv" {>= "4.0.1"}
"dns-client" {>= "6.4.0"}
"dns-mirage"
"dns-tsig"
"lwt" {>= "5.4.0"}
"mirage-clock" {>= "3.1.0"}
"mirage-flow" {>= "2.0.1"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.1"}
"uspf"
"data-encoding" {>= "0.7"}
"ptime"
"spamtacus-mirage"
"ipaddr" {>= "5.0.1"}
]
build: ["dune" "build" "-p" name "-j" jobs]
run-test: ["dune" "runtest" "-p" name "-j" jobs]
dev-repo: "git+https://github.com/mirage/ptt.git"
url {
src: "git+https://github.com/mirage/ptt.git"
}

View file

@ -0,0 +1,25 @@
opam-version: "2.0"
name: "spamtacus-bayesian"
maintainer: "Carine Morel <carine@tarides.com>"
authors: "Carine Morel <carine@tarides.com>"
homepage: "https://github.com/mirage/spamtacus"
bug-reports: "https://github.com/mirage/spamtacus/issues"
dev-repo: "git+https://github.com/mirage/spamtacus.git"
license: "MIT"
synopsis: "Spam filter in OCaml"
description: """Naive bayesian spam filter implementation."""
build: [
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"lwt" {>= "5.5.0"}
"fpath" {>= "0.7.3"}
"spamtacus" {= version}
]
url {
src: "git+https://github.com/mirage/spamtacus.git"
}

View file

@ -0,0 +1,24 @@
opam-version: "2.0"
name: "spamtacus-mirage"
maintainer: "Carine Morel <carine@tarides.com>"
authors: "Carine Morel <carine@tarides.com>"
homepage: "https://github.com/mirage/spamtacus"
bug-reports: "https://github.com/mirage/spamtacus/issues"
dev-repo: "git+https://github.com/mirage/spamtacus.git"
license: "MIT"
synopsis: "Spam filter in OCaml for MirageOS"
description: """Naive bayesian spam filter for mirageOS unikernel."""
build: [
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml" {>= "4.08.0"}
"lwt" {>= "5.5.0"}
"dune" {>= "2.0.0"}
"spamtacus-bayesian" {= version}
]
url {
src: "git+https://github.com/mirage/spamtacus.git"
}

View file

@ -0,0 +1,28 @@
opam-version: "2.0"
name: "spamtacus"
maintainer: "Carine Morel <carine@tarides.com>"
authors: "Carine Morel <carine@tarides.com>"
homepage: "https://github.com/mirage/spamtacus"
bug-reports: "https://github.com/mirage/spamtacus/issues"
dev-repo: "git+https://github.com/mirage/spamtacus.git"
license: "MIT"
synopsis: "Spam filter abstraction in OCaml"
description: """Spam filter with a personnalizable features vector."""
build: [
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"mrmime" {>= "0.6.0"}
"lwt" {>= "5.5.0"}
"fpath" {>= "0.7.3"}
"cmdliner" {>= "1.1.0"}
"fmt" {with-test}
"logs" {with-test}
]
url {
src: "git+https://github.com/mirage/spamtacus.git"
}