···
2
+
synopsis: "DHCP server"
4
+
Charrua-server consists of a single `Dhcp_server` module used for constructing DHCP
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.
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
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.
21
+
The name `charrua` is a reference to the, now extinct, semi-nomadic people of
22
+
southern South America."""
23
+
maintainer: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
24
+
authors: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
26
+
homepage: "https://github.com/mirage/charrua"
27
+
doc: "https://mirage.github.io/charrua/"
28
+
bug-reports: "https://github.com/mirage/charrua/issues"
30
+
"ocaml" {>= "4.08.0"}
32
+
"menhir" {build & >= "20180523"}
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" {>= "7.0.0" & with-test}
39
+
"alcotest" {with-test & >= "1.4.0"}
42
+
["dune" "subst"] {dev}
43
+
["dune" "build" "-p" name "-j" jobs]
44
+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
46
+
dev-repo: "git+https://github.com/mirage/charrua.git"
49
+
"https://github.com/mirage/charrua/releases/download/v1.6.0/charrua-1.6.0.tbz"
51
+
"sha256=1f6f7c1211a45ebbbd56a78b12fdbceaa98efae97ac3bd6f4855da47a3a3ac34"
52
+
"sha512=6ea3cb92efca7c33ee9aa1411223bec9045ece9939657594ebc47ae93408c4d87e8b40812751fc86555061d91ccd338b3fbcfe6059e1dd770303329b5e527a96"
55
+
x-commit-hash: "9967d56b92d0a578656414ca7c94df52a42b7dab"