|
| 1 | +opam-version: "2.0" |
| 2 | +maintainer: "Magnus Skjegstad < [email protected]>" |
| 3 | +authors: "Magnus Skjegstad < [email protected]>" |
| 4 | +homepage: "https://github.com/mirage/mirage-vnetif" |
| 5 | +bug-reports: "https://github.com/mirage/mirage-vnetif/issues/" |
| 6 | +dev-repo: "git+https://github.com/mirage/mirage-vnetif.git" |
| 7 | +doc: "https://mirage.github.io/mirage-vnetif/" |
| 8 | +license: "ISC" |
| 9 | + |
| 10 | +build: [ |
| 11 | + ["dune" "subst"] {dev} |
| 12 | + ["dune" "build" "-p" name "-j" jobs] |
| 13 | + ["dune" "build" "@test/vnetif-stack/runtest" "-p" name "-j" jobs] {with-test} |
| 14 | +] |
| 15 | + |
| 16 | +depends: [ |
| 17 | + "ocaml" {>= "4.08.0"} |
| 18 | + "dune" {>= "1.9"} |
| 19 | + "lwt" |
| 20 | + "mirage-time" {>= "3.0.0"} |
| 21 | + "mirage-clock" {>= "4.0.0"} |
| 22 | + "mirage-net" {>= "3.0.0"} |
| 23 | + "mirage-random" |
| 24 | + "mirage-vnetif" {= version} |
| 25 | + "tcpip" {>= "8.0.0"} |
| 26 | + "ethernet" |
| 27 | + "cstruct" {>="6.0.0"} |
| 28 | + "ipaddr" {>= "5.0.0"} |
| 29 | + "macaddr" |
| 30 | + "arp" {>= "3.0.0"} |
| 31 | + "duration" |
| 32 | + "logs" |
| 33 | + "mirage-time-unix" {with-test} |
| 34 | + "mirage-clock-unix" {with-test & >= "4.0.0"} |
| 35 | + "mirage-crypto-rng" {with-test & >= "0.11.0"} |
| 36 | + "alcotest" {>= "1.5.0" & with-test} |
| 37 | + "alcotest-lwt" {>= "1.5.0" & with-test} |
| 38 | +] |
| 39 | +conflicts: [ "result" {< "1.5"} ] |
| 40 | +tags: ["org:mirage"] |
| 41 | +synopsis: "Vnetif implementation of mirage-stack for Mirage TCP/IP" |
| 42 | +description: """ |
| 43 | +Provides Vnetif_stack, a mirage-stack implementation using Vnetif and the |
| 44 | +Mirage TCP/IP stack. The virtual stack can be used to test and record Mirage |
| 45 | +TCP/IP connections over a virtual network interface, as a process or VM. |
| 46 | +""" |
| 47 | +url { |
| 48 | + src: |
| 49 | + "https://github.com/mirage/mirage-vnetif/releases/download/v0.6.2/mirage-vnetif-0.6.2.tbz" |
| 50 | + checksum: [ |
| 51 | + "sha256=4a8adcacf4618426211dab0b4061ef4ed2e8db6f7fdf1541e9feff5ce9454522" |
| 52 | + "sha512=f186bffb3701bd19817d5c6a01346fbc395f7a6986b6a5e0008f55c0833eb3b1d8bc8fb9b801f09fcde2ad4c8ad898379c0274d6cfd627cdb3780d7f8a5dc2c4" |
| 53 | + ] |
| 54 | +} |
| 55 | +x-commit-hash: "9955006b1fa6ee321a159c55eb96ade4de64b4a8" |
0 commit comments