Skip to content

Commit 8b6e25d

Browse files
committed
[new release] macaddr, macaddr-sexp, macaddr-cstruct, ipaddr, ipaddr-sexp and ipaddr-cstruct (5.4.0)
CHANGES: * Use Bytes.t for IPv6 addresses (mirage/ocaml-ipaddr#115 @verbosemode, fixes mirage/ocaml-ipaddr#16 @dsheets) * Also fixes V6.to_int64 (reported by @RyanGibb in mirage/ocaml-ipaddr#113)
1 parent be6f749 commit 8b6e25d

File tree

6 files changed

+232
-0
lines changed
  • packages
    • ipaddr-cstruct/ipaddr-cstruct.5.4.0
    • ipaddr-sexp/ipaddr-sexp.5.4.0
    • ipaddr/ipaddr.5.4.0
    • macaddr-cstruct/macaddr-cstruct.5.4.0
    • macaddr-sexp/macaddr-sexp.5.4.0
    • macaddr/macaddr.5.4.0

6 files changed

+232
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4+
synopsis: "A library for manipulation of IP address representations using Cstructs"
5+
license: "ISC"
6+
tags: ["org:mirage" "org:xapi-project"]
7+
homepage: "https://github.com/mirage/ocaml-ipaddr"
8+
doc: "https://mirage.github.io/ocaml-ipaddr/"
9+
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
10+
depends: [
11+
"ocaml" {>= "4.08.0"}
12+
"dune" {>= "1.9.0"}
13+
"ipaddr" {= version}
14+
"cstruct" {>= "6.0.0"}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
["dune" "build" "-p" name "-j" jobs]
19+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
20+
]
21+
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
22+
description: """
23+
Cstruct convertions for macaddr
24+
"""
25+
url {
26+
src:
27+
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.4.0/ipaddr-5.4.0.tbz"
28+
checksum: [
29+
"sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea"
30+
"sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96"
31+
]
32+
}
33+
x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d"
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4+
synopsis: "A library for manipulation of IP address representations using sexp"
5+
description: """
6+
Sexp convertions for ipaddr
7+
"""
8+
9+
license: "ISC"
10+
tags: ["org:mirage" "org:xapi-project"]
11+
homepage: "https://github.com/mirage/ocaml-ipaddr"
12+
doc: "https://mirage.github.io/ocaml-ipaddr/"
13+
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
14+
depends: [
15+
"ocaml" {>= "4.08.0"}
16+
"dune" {>= "1.9.0"}
17+
"ipaddr" {= version}
18+
"ipaddr-cstruct" {with-test & = version}
19+
"ounit2" {with-test}
20+
"ppx_sexp_conv" {>= "v0.9.0"}
21+
"sexplib0"
22+
]
23+
build: [
24+
["dune" "subst"] {dev}
25+
["dune" "build" "-p" name "-j" jobs]
26+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
27+
]
28+
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
29+
url {
30+
src:
31+
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.4.0/ipaddr-5.4.0.tbz"
32+
checksum: [
33+
"sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea"
34+
"sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96"
35+
]
36+
}
37+
x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d"

packages/ipaddr/ipaddr.5.4.0/opam

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4+
synopsis: "A library for manipulation of IP (and MAC) address representations"
5+
description: """
6+
Features:
7+
* Depends only on sexplib (conditionalization under consideration)
8+
* ounit2-based tests
9+
* IPv4 and IPv6 support
10+
* IPv4 and IPv6 CIDR prefix support
11+
* IPv4 and IPv6 [CIDR-scoped address](http://tools.ietf.org/html/rfc4291#section-2.3) support
12+
* `Ipaddr.V4` and `Ipaddr.V4.Prefix` modules are `Map.OrderedType`
13+
* `Ipaddr.V6` and `Ipaddr.V6.Prefix` modules are `Map.OrderedType`
14+
* `Ipaddr` and `Ipaddr.Prefix` modules are `Map.OrderedType`
15+
* `Ipaddr_unix` in findlib subpackage `ipaddr.unix` provides compatibility with the standard library `Unix` module
16+
* `Ipaddr_top` in findlib subpackage `ipaddr.top` provides top-level pretty printers (requires compiler-libs default since OCaml 4.0)
17+
* IP address scope classification
18+
* IPv4-mapped addresses in IPv6 (::ffff:0:0/96) are an embedding of IPv4
19+
* MAC-48 (Ethernet) address support
20+
* `Macaddr` is a `Map.OrderedType`
21+
* All types have sexplib serializers/deserializers
22+
"""
23+
24+
license: "ISC"
25+
tags: ["org:mirage" "org:xapi-project"]
26+
homepage: "https://github.com/mirage/ocaml-ipaddr"
27+
doc: "https://mirage.github.io/ocaml-ipaddr/"
28+
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
29+
depends: [
30+
"ocaml" {>= "4.08.0"}
31+
"dune" {>= "1.9.0"}
32+
"macaddr" {= version}
33+
"domain-name" {>= "0.3.0"}
34+
"ounit2" {with-test}
35+
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
36+
]
37+
build: [
38+
["dune" "subst"] {dev}
39+
["dune" "build" "-p" name "-j" jobs]
40+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
41+
]
42+
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
43+
url {
44+
src:
45+
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.4.0/ipaddr-5.4.0.tbz"
46+
checksum: [
47+
"sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea"
48+
"sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96"
49+
]
50+
}
51+
x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4+
synopsis: "A library for manipulation of MAC address representations using Cstructs"
5+
license: "ISC"
6+
tags: ["org:mirage" "org:xapi-project"]
7+
homepage: "https://github.com/mirage/ocaml-ipaddr"
8+
doc: "https://mirage.github.io/ocaml-ipaddr/"
9+
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
10+
depends: [
11+
"ocaml" {>= "4.08.0"}
12+
"dune" {>= "1.9.0"}
13+
"macaddr" {= version}
14+
"cstruct" {>= "6.0.0"}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
["dune" "build" "-p" name "-j" jobs]
19+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
20+
]
21+
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
22+
description: """
23+
Cstruct convertions for macaddr
24+
"""
25+
url {
26+
src:
27+
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.4.0/ipaddr-5.4.0.tbz"
28+
checksum: [
29+
"sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea"
30+
"sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96"
31+
]
32+
}
33+
x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d"
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4+
synopsis: "A library for manipulation of MAC address representations using sexp"
5+
license: "ISC"
6+
tags: ["org:mirage" "org:xapi-project"]
7+
homepage: "https://github.com/mirage/ocaml-ipaddr"
8+
doc: "https://mirage.github.io/ocaml-ipaddr/"
9+
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
10+
depends: [
11+
"ocaml" {>= "4.08.0"}
12+
"dune" {>= "1.9.0"}
13+
"macaddr" {= version}
14+
"macaddr-cstruct" {with-test & = version}
15+
"ounit2" {with-test}
16+
"ppx_sexp_conv" {>= "v0.9.0"}
17+
"sexplib0"
18+
]
19+
conflicts: [ "ipaddr" {< "3.0.0"} ]
20+
build: [
21+
["dune" "subst"] {dev}
22+
["dune" "build" "-p" name "-j" jobs]
23+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
24+
]
25+
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
26+
description: """
27+
Sexp convertions for macaddr
28+
"""
29+
url {
30+
src:
31+
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.4.0/ipaddr-5.4.0.tbz"
32+
checksum: [
33+
"sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea"
34+
"sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96"
35+
]
36+
}
37+
x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d"
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4+
synopsis: "A library for manipulation of MAC address representations"
5+
license: "ISC"
6+
tags: ["org:mirage" "org:xapi-project"]
7+
homepage: "https://github.com/mirage/ocaml-ipaddr"
8+
doc: "https://mirage.github.io/ocaml-ipaddr/"
9+
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
10+
depends: [
11+
"ocaml" {>= "4.08.0"}
12+
"dune" {>= "1.9.0"}
13+
"ounit2" {with-test}
14+
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
15+
]
16+
conflicts: [ "ipaddr" {< "3.0.0"} ]
17+
build: [
18+
["dune" "subst"] {dev}
19+
["dune" "build" "-p" name "-j" jobs]
20+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
21+
]
22+
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
23+
description: """
24+
A library for manipulation of MAC address representations.
25+
26+
Features:
27+
28+
* ounit2-based tests
29+
* MAC-48 (Ethernet) address support
30+
* `Macaddr` is a `Map.OrderedType`
31+
* All types have sexplib serializers/deserializers optionally via the `Macaddr_sexp` library.
32+
"""
33+
url {
34+
src:
35+
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.4.0/ipaddr-5.4.0.tbz"
36+
checksum: [
37+
"sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea"
38+
"sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96"
39+
]
40+
}
41+
x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d"

0 commit comments

Comments
 (0)