Skip to content

Commit 32c3095

Browse files
committed
[new release] charrua (4 packages) (2.1.0)
CHANGES: * Add support for client FQDN (RFC 4702) (mirage/charrua#133 @hannesm) * Client: allow cidr, gateway, no_init being passed to connect. If passed, no DHCP requests will be done. This enables MirageOS unikernels where the decision whether to do DHCP or not is done at runtime (mirage/charrua#135 @hannesm) * Client: pass options to be embedded in the DHCP request (mirage/charrua#135 @hannesm) * server: extend Update and Reply with lease and DHCP options (mirage/charrua#135 @hannesm)
1 parent 6157b5b commit 32c3095

File tree

4 files changed

+210
-0
lines changed
  • packages
    • charrua-client/charrua-client.2.1.0
    • charrua-server/charrua-server.2.1.0
    • charrua-unix/charrua-unix.2.1.0
    • charrua/charrua.2.1.0

4 files changed

+210
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
opam-version: "2.0"
2+
synopsis: "DHCP client implementation"
3+
description: """\
4+
charrua-client is a DHCP client powered by [charrua](https://github.com/mirage/charrua).
5+
6+
The base library exposes a simple state machine in `Dhcp_client`
7+
for use in acquiring a DHCP lease."""
8+
maintainer: "Mindy Preston"
9+
authors: "Mindy Preston"
10+
license: "ISC"
11+
tags: "org:mirage"
12+
homepage: "https://github.com/mirage/charrua"
13+
doc: "https://docs.mirage.io"
14+
bug-reports: "https://github.com/mirage/charrua/issues"
15+
depends: [
16+
"dune" {>= "1.4.0"}
17+
"ocaml" {>= "4.08.0"}
18+
"alcotest" {with-test}
19+
"cstruct-unix" {with-test}
20+
"mirage-crypto-rng" {with-test & >= "1.2.0"}
21+
"charrua-server" {= version & with-test}
22+
"charrua" {= version}
23+
"cstruct" {>= "6.0.0"}
24+
"ipaddr" {>= "5.0.0"}
25+
"macaddr" {>= "4.0.0"}
26+
"mirage-crypto-rng" {>= "1.0.0"}
27+
"mirage-mtime" {>= "4.0.0"}
28+
"mirage-sleep" {>= "4.0.0"}
29+
"mirage-net" {>= "3.0.0"}
30+
"randomconv" {>= "0.2.0"}
31+
"duration"
32+
"logs"
33+
"fmt"
34+
"ethernet" {>= "3.0.0"}
35+
"arp" {>= "3.0.0"}
36+
"tcpip" {>= "9.0.0"}
37+
"lwt" {>= "4.0.0"}
38+
]
39+
build: [
40+
["dune" "subst"] {dev}
41+
["dune" "build" "-p" name "-j" jobs]
42+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
43+
]
44+
dev-repo: "git+https://github.com/mirage/charrua.git"
45+
x-maintenance-intent: [ "(latest)" ]
46+
url {
47+
src:
48+
"https://github.com/mirage/charrua/releases/download/v2.1.0/charrua-2.1.0.tbz"
49+
checksum: [
50+
"sha256=53a6be65499aa901b5db6a3c0494c21b5bc3fe2098c6e56826d3b55c49ed2b99"
51+
"sha512=37d171014c755f7fc2465fd0124f5a80cb377c3a493883a38afdd2e583bf2022bec410842e5c7425b7945c3be408a55e9153a498c0f5f211dd1baa2c44fd5d6f"
52+
]
53+
}
54+
x-commit-hash: "bc5a7670423a2ceb0deb3aaecb7399236bf881d8"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis: "Unix DHCP daemon"
3+
description: """\
4+
charrua-unix is an _ISC-licensed_ Unix DHCP daemon based on
5+
[charrua](http://www.github.com/mirage/charrua)."""
6+
maintainer: "Christiano F. Haesbaert <[email protected]>"
7+
authors: "Christiano F. Haesbaert <[email protected]>"
8+
license: "ISC"
9+
homepage: "https://github.com/mirage/charrua"
10+
bug-reports: "https://github.com/mirage/charrua/issues"
11+
depends: [
12+
"dune" {>= "1.4.0"}
13+
"ocaml" {>= "4.08.0"}
14+
"lwt" {>= "3.0.0"}
15+
"lwt_log"
16+
"charrua" {= version}
17+
"charrua-server" {= version}
18+
"cstruct-unix"
19+
"cmdliner" {>= "1.1.0"}
20+
"rawlink-lwt" {>= "2.0"}
21+
"tuntap" {>= "2.0.0"}
22+
"mtime" {>= "2.0.0"}
23+
"duration"
24+
"cstruct-lwt" {>= "6.0.0"}
25+
"ipaddr" {>= "5.1.0"}
26+
"tcpip" {>= "9.0.0"}
27+
"fmt" {>= "0.9.0"}
28+
"logs" {>= "0.7.0"}
29+
]
30+
build: [
31+
["dune" "subst"] {dev}
32+
["dune" "build" "-p" name "-j" jobs]
33+
]
34+
dev-repo: "git+https://github.com/mirage/charrua.git"
35+
x-maintenance-intent: [ "(latest)" ]
36+
url {
37+
src:
38+
"https://github.com/mirage/charrua/releases/download/v2.1.0/charrua-2.1.0.tbz"
39+
checksum: [
40+
"sha256=53a6be65499aa901b5db6a3c0494c21b5bc3fe2098c6e56826d3b55c49ed2b99"
41+
"sha512=37d171014c755f7fc2465fd0124f5a80cb377c3a493883a38afdd2e583bf2022bec410842e5c7425b7945c3be408a55e9153a498c0f5f211dd1baa2c44fd5d6f"
42+
]
43+
}
44+
x-commit-hash: "bc5a7670423a2ceb0deb3aaecb7399236bf881d8"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
opam-version: "2.0"
2+
maintainer: "Christiano F. Haesbaert <[email protected]>"
3+
authors: "Christiano F. Haesbaert <[email protected]>"
4+
license: "ISC"
5+
homepage: "https://github.com/mirage/charrua"
6+
bug-reports: "https://github.com/mirage/charrua/issues"
7+
dev-repo: "git+https://github.com/mirage/charrua.git"
8+
doc: "https://mirage.github.io/charrua/"
9+
10+
build: [
11+
["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs]
13+
]
14+
15+
depends: [
16+
"ocaml" {>= "4.13.0"}
17+
"dune" {>= "1.4.0"}
18+
"cstruct" {>= "6.0.0"}
19+
"ipaddr" {>= "5.0.0"}
20+
"macaddr" {>= "4.0.0"}
21+
"ethernet" {>= "3.0.0"}
22+
"tcpip" {>= "9.0.0"}
23+
"ohex" {>= "0.2.0"}
24+
"fmt" {>= "0.9.0"}
25+
]
26+
conflicts: [ "result" {< "1.5"} ]
27+
synopsis: "DHCP wire frame encoder and decoder"
28+
description: """
29+
Charrua consists a single modules, `Dhcp_wire` responsible for parsing and
30+
constructing DHCP messages
31+
32+
You can browse the API for [charrua](http://www.github.com/mirage/charrua) at
33+
https://mirage.github.io/charrua/
34+
35+
#### Features
36+
37+
* `Dhcp_wire` provides marshalling and unmarshalling utilities for DHCP.
38+
* Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a
39+
process, as a Mirage unikernel or anything else.
40+
* All DHCP options are supported at the time of this writing.
41+
* Code is purely applicative.
42+
* It's in OCaml, so it's pretty cool.
43+
44+
The name `charrua` is a reference to the, now extinct, semi-nomadic people of
45+
southern South America.
46+
"""
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

Comments
 (0)