···11+opam-version: "2.0"
22+synopsis: "DHCP server"
33+description: """\
44+Charrua-server consists of a single `Dhcp_server` module used for constructing DHCP
55+servers.
66+77+[dhcp](https://github.com/mirage/mirage-skeleton/tree/master/applications/dhcp)
88+is a Mirage DHCP unikernel server based on charrua, included as a part of the MirageOS unikernel example and starting-point repository.
99+1010+#### Features
1111+1212+* `Dhcp_server` supports a stripped down ISC dhcpd.conf, so you can probably just
1313+ use your old `dhcpd.conf`. It also supports manual configuration building in
1414+ OCaml.
1515+* Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a
1616+ process, as a Mirage unikernel or anything else.
1717+* All DHCP options are supported at the time of this writing.
1818+* Code is purely applicative.
1919+* It's in OCaml, so it's pretty cool.
2020+2121+The name `charrua` is a reference to the, now extinct, semi-nomadic people of
2222+southern South America."""
2323+maintainer: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
2424+authors: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
2525+license: "ISC"
2626+homepage: "https://github.com/mirage/charrua"
2727+doc: "https://mirage.github.io/charrua/"
2828+bug-reports: "https://github.com/mirage/charrua/issues"
2929+depends: [
3030+ "ocaml" {>= "4.08.0"}
3131+ "dune" {>= "1.4.0"}
3232+ "menhir" {build & >= "20180523"}
3333+ "charrua" {= version}
3434+ "cstruct" {>= "6.0.0"}
3535+ "ipaddr" {>= "5.0.0"}
3636+ "macaddr" {>= "4.0.0"}
3737+ "cstruct-unix" {with-test}
3838+ "tcpip" {>= "7.0.0" & with-test}
3939+ "alcotest" {with-test & >= "1.4.0"}
4040+]
4141+build: [
4242+ ["dune" "subst"] {dev}
4343+ ["dune" "build" "-p" name "-j" jobs]
4444+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
4545+]
4646+dev-repo: "git+https://github.com/mirage/charrua.git"
4747+url {
4848+ src:
4949+ "https://github.com/mirage/charrua/releases/download/v1.6.0/charrua-1.6.0.tbz"
5050+ checksum: [
5151+ "sha256=1f6f7c1211a45ebbbd56a78b12fdbceaa98efae97ac3bd6f4855da47a3a3ac34"
5252+ "sha512=6ea3cb92efca7c33ee9aa1411223bec9045ece9939657594ebc47ae93408c4d87e8b40812751fc86555061d91ccd338b3fbcfe6059e1dd770303329b5e527a96"
5353+ ]
5454+}
5555+x-commit-hash: "9967d56b92d0a578656414ca7c94df52a42b7dab"
···11+opam-version: "2.0"
22+maintainer: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
33+authors: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
44+license: "ISC"
55+homepage: "https://github.com/mirage/charrua"
66+bug-reports: "https://github.com/mirage/charrua/issues"
77+dev-repo: "git+https://github.com/mirage/charrua.git"
88+doc: "https://mirage.github.io/charrua/"
99+1010+build: [
1111+ ["dune" "subst"] {dev}
1212+ ["dune" "build" "-p" name "-j" jobs]
1313+]
1414+1515+depends: [
1616+ "ocaml" {>= "4.13.0"}
1717+ "dune" {>= "1.4.0"}
1818+ "cstruct" {>= "6.0.0"}
1919+ "ipaddr" {>= "5.0.0"}
2020+ "macaddr" {>= "4.0.0"}
2121+ "ethernet" {>= "3.0.0"}
2222+ "tcpip" {>= "7.0.0"}
2323+ "ohex" {>= "0.2.0"}
2424+]
2525+conflicts: [ "result" {< "1.5"} ]
2626+synopsis: "DHCP wire frame encoder and decoder"
2727+description: """
2828+Charrua consists a single modules, `Dhcp_wire` responsible for parsing and
2929+constructing DHCP messages
3030+3131+You can browse the API for [charrua](http://www.github.com/mirage/charrua) at
3232+https://mirage.github.io/charrua/
3333+3434+#### Features
3535+3636+* `Dhcp_wire` provides marshalling and unmarshalling utilities for DHCP.
3737+* Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a
3838+ process, as a Mirage unikernel or anything else.
3939+* All DHCP options are supported at the time of this writing.
4040+* Code is purely applicative.
4141+* It's in OCaml, so it's pretty cool.
4242+4343+The name `charrua` is a reference to the, now extinct, semi-nomadic people of
4444+southern South America.
4545+"""
4646+url {
4747+ src:
4848+ "https://github.com/mirage/charrua/releases/download/v1.6.0/charrua-1.6.0.tbz"
4949+ checksum: [
5050+ "sha256=1f6f7c1211a45ebbbd56a78b12fdbceaa98efae97ac3bd6f4855da47a3a3ac34"
5151+ "sha512=6ea3cb92efca7c33ee9aa1411223bec9045ece9939657594ebc47ae93408c4d87e8b40812751fc86555061d91ccd338b3fbcfe6059e1dd770303329b5e527a96"
5252+ ]
5353+}
5454+x-commit-hash: "9967d56b92d0a578656414ca7c94df52a42b7dab"