-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGES: * socket stack (tcp/udp): catch exception in recv_from and accept (mirage/mirage-tcpip#376 @hannesm) * use mirage-random-test for testing (Stdlibrandom got removed from mirage-random>1.2.0, mirage/mirage-tcpip#377 @hannesm)
- Loading branch information
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
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: [ | ||
["jbuilder" "subst" "-p" name] {pinned} | ||
["jbuilder" "build" "-p" name "-j" jobs] | ||
["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
|
||
depends: [ | ||
"jbuilder" {build & >="1.0+beta10"} | ||
"configurator" {build} | ||
"ocaml" {>= "4.03.0"} | ||
"rresult" {>= "0.5.0"} | ||
"cstruct" {>= "3.0.2"} | ||
"cstruct-lwt" | ||
"mirage-net" {>= "1.0.0"} | ||
"mirage-net-lwt" {>= "1.0.0"} | ||
"mirage-clock" {>= "1.2.0"} | ||
"mirage-random" {>= "1.0.0"} | ||
"mirage-clock-lwt" {>= "1.2.0"} | ||
"mirage-stack-lwt" {>= "1.3.0"} | ||
"mirage-protocols" {>= "1.4.0"} | ||
"mirage-protocols-lwt" {>= "1.4.0"} | ||
"mirage-time-lwt" {>= "1.0.0"} | ||
"ipaddr" {>= "2.2.0"} | ||
"mirage-profile" {>= "0.5"} | ||
"fmt" | ||
"lwt" {>= "3.0.0"} | ||
"logs" {>= "0.6.0"} | ||
"duration" | ||
"io-page-unix" | ||
"randomconv" | ||
"mirage-flow" {with-test & >= "1.2.0"} | ||
"mirage-vnetif" {with-test & >= "0.4.0"} | ||
"alcotest" {with-test & >="0.7.0"} | ||
"pcap-format" {with-test} | ||
"mirage-clock-unix" {with-test & >= "1.2.0"} | ||
"mirage-random-test" {with-test} | ||
] | ||
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): | ||
|
||
* ETHERNET | ||
* ARP | ||
* IP (via the IPv4 and IPv6 modules) | ||
* ICMP | ||
* UDP | ||
* TCP | ||
""" | ||
url { | ||
src: | ||
"https://github.com/mirage/mirage-tcpip/releases/download/v3.5.1/tcpip-v3.5.1.tbz" | ||
checksum: "md5=871778cae6b9e15152c27a21e0a354bc" | ||
} |