···
2
+
maintainer: "vb@luminar.eu.org"
4
+
"Vincent Bernardoff <vb@luminar.eu.org>"
5
+
"Anil Madhavapeddy <anil@recoil.org>"
8
+
tags: ["org:mirage" "org:xapi-project"]
9
+
homepage: "https://github.com/mirage/ocaml-tuntap"
10
+
doc: "https://mirage.github.io/ocaml-tuntap/"
11
+
bug-reports: "https://github.com/mirage/ocaml-tuntap/issues"
12
+
synopsis: "OCaml library for handling TUN/TAP devices"
14
+
This is an OCaml library for handling TUN/TAP devices. TUN refers to layer 3
15
+
virtual interfaces whereas TAP refers to layer 2 Ethernet ones.
17
+
See <http://en.wikipedia.org/wiki/TUN/TAP> for more information.
19
+
Linux, FreeBSD, OpenBSD and macOS should all be supported. You will need
20
+
to install the third-party <http://tuntaposx.sourceforge.net/> on macOS before
25
+
"ocaml" {>= "4.06.0"}
27
+
"ipaddr" {>= "5.0.0"}
28
+
"macaddr" {>= "4.0.0"}
29
+
"ounit2" {with-test}
30
+
"lwt" {with-test & >= "5.0.0"}
31
+
"cmdliner" {with-test & >= "1.1.0"} # for bin/otunctl
34
+
["dune" "subst"] {dev}
35
+
["dune" "build" "-p" name "-j" jobs]
36
+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
38
+
depexts: ["linux-headers"] {os-distribution = "alpine"}
39
+
dev-repo: "git+https://github.com/mirage/ocaml-tuntap.git"
42
+
"https://github.com/mirage/ocaml-tuntap/releases/download/v2.0.1/tuntap-2.0.1.tbz"
44
+
"sha256=27c60197cc3bc459680eab7f5e2cf4dca08896ce4147bd954fc5ff2d864c0cdd"
45
+
"sha512=7311438c0b4c79da932c54452c977257bca5bcd0a963567521fde6717f358624b3a42ff094bc4278c103cc839a3896c9d6a9967733cc5366faac1663fb17e801"
48
+
x-commit-hash: "bfb11dd8c283762e377bffa1463b08961208739a"