|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "DHCP server" |
| 3 | +description: """\ |
| 4 | +Charrua-server consists of a single `Dhcp_server` module used for constructing DHCP |
| 5 | +servers. |
| 6 | + |
| 7 | +[dhcp](https://github.com/mirage/mirage-skeleton/tree/master/applications/dhcp) |
| 8 | +is a Mirage DHCP unikernel server based on charrua, included as a part of the MirageOS unikernel example and starting-point repository. |
| 9 | + |
| 10 | +#### Features |
| 11 | + |
| 12 | +* `Dhcp_server` supports a stripped down ISC dhcpd.conf, so you can probably just |
| 13 | + use your old `dhcpd.conf`. It also supports manual configuration building in |
| 14 | + OCaml. |
| 15 | +* Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a |
| 16 | + process, as a Mirage unikernel or anything else. |
| 17 | +* All DHCP options are supported at the time of this writing. |
| 18 | +* Code is purely applicative. |
| 19 | +* It's in OCaml, so it's pretty cool. |
| 20 | + |
| 21 | +The name `charrua` is a reference to the, now extinct, semi-nomadic people of |
| 22 | +southern South America.""" |
| 23 | +maintainer: "Christiano F. Haesbaert < [email protected]>" |
| 24 | +authors: "Christiano F. Haesbaert < [email protected]>" |
| 25 | +license: "ISC" |
| 26 | +homepage: "https://github.com/mirage/charrua" |
| 27 | +doc: "https://mirage.github.io/charrua/" |
| 28 | +bug-reports: "https://github.com/mirage/charrua/issues" |
| 29 | +depends: [ |
| 30 | + "ocaml" {>= "4.08.0"} |
| 31 | + "dune" {>= "1.4.0"} |
| 32 | + "menhir" {build & >= "20181006"} |
| 33 | + "charrua" {= version} |
| 34 | + "cstruct" {>= "6.0.0"} |
| 35 | + "ipaddr" {>= "5.0.0"} |
| 36 | + "macaddr" {>= "4.0.0"} |
| 37 | + "cstruct-unix" {with-test} |
| 38 | + "tcpip" {>= "9.0.0" & with-test} |
| 39 | + "alcotest" {with-test & >= "1.4.0"} |
| 40 | +] |
| 41 | +build: [ |
| 42 | + ["dune" "subst"] {dev} |
| 43 | + ["dune" "build" "-p" name "-j" jobs] |
| 44 | + ["dune" "runtest" "-p" name "-j" jobs] {with-test} |
| 45 | +] |
| 46 | +dev-repo: "git+https://github.com/mirage/charrua.git" |
| 47 | +x-maintenance-intent: [ "(latest)" ] |
| 48 | +url { |
| 49 | + src: |
| 50 | + "https://github.com/mirage/charrua/releases/download/v2.1.0/charrua-2.1.0.tbz" |
| 51 | + checksum: [ |
| 52 | + "sha256=53a6be65499aa901b5db6a3c0494c21b5bc3fe2098c6e56826d3b55c49ed2b99" |
| 53 | + "sha512=37d171014c755f7fc2465fd0124f5a80cb377c3a493883a38afdd2e583bf2022bec410842e5c7425b7945c3be408a55e9153a498c0f5f211dd1baa2c44fd5d6f" |
| 54 | + ] |
| 55 | +} |
| 56 | +x-commit-hash: "bc5a7670423a2ceb0deb3aaecb7399236bf881d8" |
0 commit comments