Skip to content

Commit

Permalink
Backport ETHIF, IP, tcpip MTU fixes
Browse files Browse the repository at this point in the history
This is from

mirage/mirage-tcpip#288
mirage/mirage-protocols#4

Signed-off-by: David Scott <dave.scott@docker.com>
  • Loading branch information
djs55 committed Jan 23, 2017
1 parent 300e0ad commit c4d9e6e
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 2 deletions.
14 changes: 14 additions & 0 deletions repo/darwin/packages/dev/mirage-types-lwt.2.8.999/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Lwt module type definitions for Mirage-compatible applications

This is a virtual package that pulls in all the concrete
dependencies required for the `mirage-types.lwt` ocamlfind
package to become available.

The purpose of this library is to provide concrete types
for several that are left abstract in `mirage-types`:

- `type 'a io = 'a Lwt.t`
- `type page_aligned_buffer = Io_page.t`
- `type buffer = Cstruct.t`
- `type macaddr = Macaddr.t`
- `type ipv4addr = Ipaddr.V4.t`
16 changes: 16 additions & 0 deletions repo/darwin/packages/dev/mirage-types-lwt.2.8.999/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
opam-version: "1.2"
maintainer: ["anil@recoil.org" "thomas@gazagnaire.org"]
authors: "The MirageOS team"
homepage: "https://github.com/mirage/mirage"
bug-reports: "https://github.com/mirage/mirage/issues/"
dev-repo: "https://github.com/mirage/mirage.git"
tags: ["org:mirage" "org:xapi-project"]

depends: [
"ocamlfind"
"lwt"
"cstruct" {>="1.4.0"}
"io-page" {>="1.4.0"}
"ipaddr"
"mirage-types" {="2.8.999"}
]
1 change: 1 addition & 0 deletions repo/darwin/packages/dev/mirage-types.2.8.999/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Module type definitions for Mirage-compatible applications
20 changes: 20 additions & 0 deletions repo/darwin/packages/dev/mirage-types.2.8.999/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
opam-version: "1.2"
maintainer: ["anil@recoil.org" "thomas@gazagnaire.org"]
authors: "The MirageOS team"
homepage: "https://github.com/mirage/mirage"
bug-reports: "https://github.com/mirage/mirage/issues/"
dev-repo: "https://github.com/mirage/mirage.git"
tags: ["org:mirage" "org:xapi-project"]

build: [make "build-types"]
install: [make "install-types"]
remove: ["ocamlfind" "remove" "mirage-types"]

depends: [
"ocamlfind"
"ocamlbuild" {build}
]
depopts: ["lwt" "cstruct" "io-page" "ipaddr"]
conflicts: ["ipaddr" {< "2.0.0"}]

available: [ocaml-version >= "4.01.0"]
1 change: 1 addition & 0 deletions repo/darwin/packages/dev/mirage-types.2.8.999/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git: "git://github.com/djs55/mirage#2.8.0-mtu"
2 changes: 1 addition & 1 deletion repo/darwin/packages/dev/tcpip.999/url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git: "git://github.com/djs55/mirage-tcpip#3.0.0-beta10"
git: "git://github.com/djs55/mirage-tcpip#3.0.0-beta11"
2 changes: 1 addition & 1 deletion repo/darwin/packages/local/slirp.local/opam
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ depends: [
"fmt"
"astring"
"mirage-flow" { >= "1.1.0" }
"mirage-types-lwt" { >= "2.8.0" & <"3.0.0" }
"mirage-types-lwt" { = "2.8.999" }
"ounit"
"alcotest"
]
1 change: 1 addition & 0 deletions repo/win32/packages/dev/mirage-types-lwt.2.8.999
1 change: 1 addition & 0 deletions repo/win32/packages/dev/mirage-types.2.8.999

0 comments on commit c4d9e6e

Please sign in to comment.