From 4d90bcd2ccda07cca8e6f91bcda34fe940722494 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Tue, 25 Jan 2022 16:34:23 +0100 Subject: [PATCH] smtp helper packages --- packages/dmarc.0.0.1~dev/opam | 32 ++++++++++ packages/ptt.0.0.1~dev/opam | 69 ++++++++++++++++++++++ packages/public-suffix.0.0.1~dev/opam | 25 ++++++++ packages/spamtacus-bayesian.0.0.1~dev/opam | 25 ++++++++ packages/spamtacus-mirage.0.0.1~dev/opam | 24 ++++++++ packages/spamtacus.0.0.1~dev/opam | 27 +++++++++ 6 files changed, 202 insertions(+) create mode 100644 packages/dmarc.0.0.1~dev/opam create mode 100644 packages/ptt.0.0.1~dev/opam create mode 100644 packages/public-suffix.0.0.1~dev/opam create mode 100644 packages/spamtacus-bayesian.0.0.1~dev/opam create mode 100644 packages/spamtacus-mirage.0.0.1~dev/opam create mode 100644 packages/spamtacus.0.0.1~dev/opam diff --git a/packages/dmarc.0.0.1~dev/opam b/packages/dmarc.0.0.1~dev/opam new file mode 100644 index 0000000..5bd0ece --- /dev/null +++ b/packages/dmarc.0.0.1~dev/opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +name: "dmarc" +synopsis: "DMARC support in OCaml" +description: "DMARC implementation in OCaml" +maintainer: "Romain Calascibetta " +authors: "Romain Calascibetta " +license: "MIT" +homepage: "https://github.com/dinosaure/ocaml-dmarc" +doc: "https://dinosaure.github.io/ocaml-dmarc/" +bug-reports: "https://github.com/dinosaure/ocaml-dmarc/issues" +depends: [ + "ocaml" {>= "4.08.0"} + "mrmime" {>= "0.5.0"} + "uspf" {>= "0.0.2"} + "dkim" {>= "0.3.1"} + "public-suffix" + "logs" {>= "0.7.0"} + "dune" {>= "2.9.0"} + "lwt" {>= "5.4.2"} + "rresult" {>= "0.6.0"} + "uri" {>= "4.2.0"} + "alcotest" {>= "1.4.0" & with-test} + "dns" {>= "6.1.3"} +] +build: [ + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +dev-repo: "git+https://github.com/dinosaure/blaze.git" +url { + src: "git+https://github.com/dinosaure/ocaml-dmarc.git" +} diff --git a/packages/ptt.0.0.1~dev/opam b/packages/ptt.0.0.1~dev/opam new file mode 100644 index 0000000..bf5d6e7 --- /dev/null +++ b/packages/ptt.0.0.1~dev/opam @@ -0,0 +1,69 @@ +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 " +authors: "Romain Calascibetta " +license: "MIT" +homepage: "https://github.com/dinosaure/ptt" +doc: "https://dinosaure.github.io/ptt/" +bug-reports: "https://github.com/dinosaure/ptt/issues" +depends: [ + "ocaml" {>= "4.07.0"} + "dune" + "mrmime" + "digestif" + "colombe" {>= "0.6.0"} + "received" {>= "0.5.1"} + "sendmail" {>= "0.6.0"} + "sendmail-lwt" {>= "0.6.0"} + "domain-name" + "uspf" + "dns" + "logs" + "tls" {>= "0.15.0"} + "tcpip" {>= "7.0.0"} + "ke" + "bigstringaf" + "ocaml-syntax-shims" + "dkim-mirage" + "bos" + "irmin-unix" {>= "2.10.0"} + "ca-certs" + "cmdliner" + "irmin" {>= "2.10.0"} + "mirage-kv" + "dns-client" {>= "5.0.0"} + "mirage-clock-unix" {>= "3.1.0"} + "mirage-crypto-rng" + "mirage-time-unix" {>= "2.0.0"} + "base-threads" {with-test} + "alcotest" {with-test} + "base-threads" {with-test} + "bos" {with-test} + "lwt" {>= "5.4.0"} + "mimic" {>= "0.0.1"} + "mirage-clock" {>= "3.1.0"} + "mirage-flow" {>= "2.0.1"} + "mirage-random" {>= "2.0.0"} + "mirage-time" {>= "2.0.1"} + "tls-mirage" {>= "0.12.8"} + "dns-mirage" + "dns-tsig" + "uspf" + "ipaddr" + "dmarc" + "ptime" + "spamtacus-mirage" + "alcotest-lwt" {>= "1.2.3" & with-test} + "ipaddr" {>= "5.0.1" & with-test} + "mirage-crypto-rng" {>= "0.8.10" & with-test} +] +build: ["dune" "build" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] +dev-repo: "git+https://github.com/dinosaure/ptt.git" +url { + src: "git+https://github.com/dinosaure/ptt.git" +} diff --git a/packages/public-suffix.0.0.1~dev/opam b/packages/public-suffix.0.0.1~dev/opam new file mode 100644 index 0000000..a54f808 --- /dev/null +++ b/packages/public-suffix.0.0.1~dev/opam @@ -0,0 +1,25 @@ +opam-version: "2.0" +name: "public-suffix" +synopsis: "Public suffix of domain name suffixes in OCaml" +description: "Public suffix of domain name suffixes in OCaml" +maintainer: "Romain Calascibetta " +authors: "Romain Calascibetta " +license: "MIT" +homepage: "https://github.com/dinosaure/ocaml-dmarc" +doc: "https://dinosaure.github.io/ocaml-dmarc/" +bug-reports: "https://github.com/dinosaure/ocaml-dmarc/issues" +depends: [ + "ocaml" {>= "4.08.0"} + "domain-name" + "ocurl" + "dune" {>= "2.9.0"} + "alcotest" {>= "1.4.0" & with-test} +] +build: [ + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +dev-repo: "git+https://github.com/dinosaure/ocaml-dmarc.git" +url { + src: "git+https://github.com/dinosaure/ocaml-dmarc.git" +} diff --git a/packages/spamtacus-bayesian.0.0.1~dev/opam b/packages/spamtacus-bayesian.0.0.1~dev/opam new file mode 100644 index 0000000..85cd556 --- /dev/null +++ b/packages/spamtacus-bayesian.0.0.1~dev/opam @@ -0,0 +1,25 @@ +opam-version: "2.0" +name: "spamtacus" +maintainer: "Carine Morel " +authors: "Carine Morel " +homepage: "https://github.com/lyrm/spamtacus" +bug-reports: "https://github.com/lyrm/spamtacus/issues" +dev-repo: "git+https://github.com/lyrm/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" +} diff --git a/packages/spamtacus-mirage.0.0.1~dev/opam b/packages/spamtacus-mirage.0.0.1~dev/opam new file mode 100644 index 0000000..75d217c --- /dev/null +++ b/packages/spamtacus-mirage.0.0.1~dev/opam @@ -0,0 +1,24 @@ +opam-version: "2.0" +name: "spamtacus" +maintainer: "Carine Morel " +authors: "Carine Morel " +homepage: "https://github.com/lyrm/spamtacus" +bug-reports: "https://github.com/lyrm/spamtacus/issues" +dev-repo: "git+https://github.com/lyrm/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" +} diff --git a/packages/spamtacus.0.0.1~dev/opam b/packages/spamtacus.0.0.1~dev/opam new file mode 100644 index 0000000..887623c --- /dev/null +++ b/packages/spamtacus.0.0.1~dev/opam @@ -0,0 +1,27 @@ +opam-version: "2.0" +name: "spamtacus" +maintainer: "Carine Morel " +authors: "Carine Morel " +homepage: "https://github.com/lyrm/spamtacus" +bug-reports: "https://github.com/lyrm/spamtacus/issues" +dev-repo: "git+https://github.com/lyrm/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.5.0"} + "lwt" {>= "5.5.0"} + "fpath" {>= "0.7.3"} + "fmt" {with-test} + "logs" {with-test} +] +url { + src: "git+https://github.com/mirage/spamtacus.git" +}