From 26907b39a7e7c73cd121f4d6417ef63e7c158f98 Mon Sep 17 00:00:00 2001 From: Romain Calascibetta Date: Mon, 29 Mar 2021 11:54:59 +0200 Subject: [PATCH] [new release] tcpip (6.1.0) CHANGES: * checksum stubs: Drop `caml_` from their name (@hannesm, mirage/mirage-tcpip#445) * Add cancelation on `tcpip.stack-socket` (@dinosaure, @talex5, @hannesm, mirage/mirage-tcpip#443) * Ensure that listen really binds the given socket before creating a task on `tcpip.stack-socket` (@dinosaure, @hannesm, mirage/mirage-tcpip#439) * Add `ppx_cstruct` as a dependency (@hannesm, @dinosaure, mirage/mirage-tcpip#439) * Upgrade to ocamlformat.0.17.0 (@dinosaure, mirage/mirage-tcpip#442) * Drop the support of OCaml 4.08.0 (@dinosaure, mirage/mirage-tcpip#442) * Use the usual layout to compile freestanding C stubs and link them to a Solo5 unikernel (@dinosaure, @hannesm, mirage/mirage-tcpip#441) **breaking changes** C stubs are prepended by `mirage_`. Symbols such as checksum's symbols are `caml_mirage_tcpip_*` instead of `caml_tcpip_*` `tcpip.unix` is a fake sub-package and user does not it anymore, he can safely remove it from its project. * Conflict with `< ocaml-freestanding.0.4.1` (@hannesm, mirage/mirage-tcpip#441) --- packages/tcpip/tcpip.6.1.0/opam | 82 +++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 packages/tcpip/tcpip.6.1.0/opam diff --git a/packages/tcpip/tcpip.6.1.0/opam b/packages/tcpip/tcpip.6.1.0/opam new file mode 100644 index 000000000000..9806702c6771 --- /dev/null +++ b/packages/tcpip/tcpip.6.1.0/opam @@ -0,0 +1,82 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +homepage: "https://github.com/mirage/mirage-tcpip" +dev-repo: "git+https://github.com/mirage/mirage-tcpip.git" +bug-reports: "https://github.com/mirage/mirage-tcpip/issues" +doc: "https://mirage.github.io/mirage-tcpip/" +authors: [ + "Anil Madhavapeddy" "Balraj Singh" "Richard Mortier" "Nicolas Ojeda Bar" + "Thomas Gazagnaire" "Vincent Bernardoff" "Magnus Skjegstad" "Mindy Preston" + "Thomas Leonard" "David Scott" "Gabor Pali" "Hannes Mehnert" "Haris Rotsos" + "Kia" "Luke Dunstan" "Pablo Polvorin" "Tim Cuthbertson" "lnmx" "pqwy" ] +license: "ISC" +tags: ["org:mirage"] + +build: [ + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +conflicts: [ + "mirage-xen" {< "6.0.0"} + "ocaml-freestanding" {< "0.4.1"} +] +depends: [ + "conf-pkg-config" {build} + "dune" {>= "2.7.0"} + "bisect_ppx" {dev & >= "2.5.0"} + "ocaml" {>= "4.06.0"} + "rresult" {>= "0.5.0"} + "cstruct" {>= "3.2.0"} + "cstruct-lwt" + "ppx_cstruct" + "mirage-net" {>= "3.0.0"} + "mirage-clock" {>= "3.0.0"} + "mirage-random" {>= "2.0.0"} + "mirage-stack" {>= "2.2.0"} + "mirage-protocols" {>= "5.0.0"} + "mirage-time" {>= "2.0.0"} + "ipaddr" {>= "5.0.0"} + "macaddr" {>="4.0.0"} + "macaddr-cstruct" + "mirage-profile" {>= "0.5"} + "fmt" + "lwt" {>= "4.0.0"} + "lwt-dllist" + "logs" {>= "0.6.0"} + "duration" + "randomconv" + "ethernet" {>= "2.0.0"} + "mirage-flow" {with-test & >= "2.0.0"} + "mirage-vnetif" {with-test & >= "0.5.0"} + "alcotest" {with-test & >="0.7.0"} + "pcap-format" {with-test} + "mirage-clock-unix" {with-test & >= "3.0.0"} + "mirage-random-test" {with-test & >= "0.1.0"} + "arp" {with-test & >= "2.3.0"} + "ipaddr-cstruct" {with-test} + "lru" {>= "0.3.0"} +] +depopts: [ + "ocaml-freestanding" +] +synopsis: "OCaml TCP/IP networking stack, used in MirageOS" +description: """ +`mirage-tcpip` provides a networking stack for the [Mirage operating +system](https://mirage.io). It provides implementations for the following module types +(which correspond with the similarly-named protocols): + +* IP (via the IPv4 and IPv6 modules) +* ICMP +* UDP +* TCP +""" +x-commit-hash: "6e6a995a47fedb11966043629642ca2e364534e7" +url { + src: + "https://github.com/mirage/mirage-tcpip/releases/download/v6.1.0/tcpip-v6.1.0.tbz" + checksum: [ + "sha256=7b3ed2e1ca835c1cc65ac911bcb0de12ebc2b580dd195006bdea2cb387510474" + "sha512=f79ae698b0699fb0335f921d7392505121459854f67cfc8ce3d4d64b1d2f4673a6eff35da150af33069f80c6bd4552be84826e65c1cf42e8e9ba8dd33dfc2a67" + ] +}