opam-version: "2.0" maintainer: "Christiano F. Haesbaert " authors: "Christiano F. Haesbaert " license: "ISC" homepage: "https://github.com/mirage/charrua" bug-reports: "https://github.com/mirage/charrua/issues" dev-repo: "git+https://github.com/mirage/charrua.git" doc: "https://mirage.github.io/charrua/" build: [ ["dune" "subst"] {dev} ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ "ocaml" {>= "4.06.0"} "dune" {>= "1.4.0"} "ppx_sexp_conv" {>= "v0.9.0"} "menhir" {build} "charrua" {= version} "cstruct" {>= "3.0.1"} "sexplib" "ipaddr" {>= "5.0.0"} "macaddr" {>= "4.0.0"} "ipaddr-sexp" "macaddr-sexp" "cstruct-unix" {with-test} ] synopsis: "DHCP server" description: """ Charrua-server consists of a single `Dhcp_server` module used for constructing DHCP servers. [dhcp](https://github.com/mirage/mirage-skeleton/tree/master/applications/dhcp) is a Mirage DHCP unikernel server based on charrua, included as a part of the MirageOS unikernel example and starting-point repository. #### Features * `Dhcp_server` supports a stripped down ISC dhcpd.conf, so you can probably just use your old `dhcpd.conf`. It also supports manual configuration building in OCaml. * Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a process, as a Mirage unikernel or anything else. * All DHCP options are supported at the time of this writing. * Code is purely applicative. * It's in OCaml, so it's pretty cool. The name `charrua` is a reference to the, now extinct, semi-nomadic people of southern South America. """ url { src: "https://github.com/mirage/charrua/releases/download/v1.2.2/charrua-v1.2.2.tbz" checksum: [ "sha256=6bbc6e75e265c95612a0977ac68d521c991306aa347441d8f219ff78402d4d4a" "sha512=ce0d2be1bf98898e8a285e94538549542a4a75bee4687c7ab5ee1f0ba7b0034ea427f02b2127aa0977d8fcea0479841c76caf726379a3f7cdd1d735bc4fed654" ] }