diff --git a/dev-ml/tcpip/Manifest b/dev-ml/tcpip/Manifest new file mode 100644 index 0000000000..e7402133a9 --- /dev/null +++ b/dev-ml/tcpip/Manifest @@ -0,0 +1 @@ +DIST tcpip-7.1.0.tbz 103853 BLAKE2B 157c6a45dfe05e43e0f36182060b75e7910a9ef1c4701c0145056a164e743a00f73f07ccb953a29f6468ee88e03fa0b5363c36aabc1a41a9ac93a9f3e0876d10 SHA512 fae605ba30b0bb5ae28cbedc32f220c5a5166db4af9e060d82007cd020132f1e334fa8fcb7e9bd68851fc838f7e6fb1b4e1d3cba8fb787dcec79d2107b8ffd4a diff --git a/dev-ml/tcpip/metadata.xml b/dev-ml/tcpip/metadata.xml new file mode 100644 index 0000000000..ee477510cb --- /dev/null +++ b/dev-ml/tcpip/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-tcpip + + diff --git a/dev-ml/tcpip/tcpip-7.1.0.ebuild b/dev-ml/tcpip/tcpip-7.1.0.ebuild new file mode 100644 index 0000000000..5d3645a7e9 --- /dev/null +++ b/dev-ml/tcpip/tcpip-7.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="mirage-${PN}" + +DESCRIPTION="TCP/IP networking stack in pure OCaml, using the Mirage platform libraries" +HOMEPAGE="https://github.com/mirage/mirage-tcpip" +SRC_URI="https://github.com/mirage/${MYPN}/releases/download/v${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct[lwt,ppx] + dev-ml/mirage-net + dev-ml/mirage-clock + dev-ml/mirage-random + dev-ml/mirage-time + dev-ml/ipaddr[macaddr-cstruct] + dev-ml/mirage-profile + dev-ml/fmt + dev-ml/lwt + dev-ml/lwt-dllist + dev-ml/logs + dev-ml/duration + dev-ml/randomconv + dev-ml/ethernet + dev-ml/arp + dev-ml/mirage-flow + dev-ml/lru + dev-ml/metrics +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/mirage-vnetif + dev-ml/alcotest + dev-ml/pcap-format + dev-ml/mirage-clock + dev-ml/mirage-random-test + dev-ml/ipaddr[cstruct] + ) +" +BDEPEND="virtual/pkgconfig" + +RESTRICT="!test? ( test )"