dev-ml/tcpip: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-07 01:23:40 +02:00
parent c901b5f192
commit 3311ec1a9b
3 changed files with 64 additions and 0 deletions

1
dev-ml/tcpip/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST tcpip-7.1.0.tbz 103853 BLAKE2B 157c6a45dfe05e43e0f36182060b75e7910a9ef1c4701c0145056a164e743a00f73f07ccb953a29f6468ee88e03fa0b5363c36aabc1a41a9ac93a9f3e0876d10 SHA512 fae605ba30b0bb5ae28cbedc32f220c5a5166db4af9e060d82007cd020132f1e334fa8fcb7e9bd68851fc838f7e6fb1b4e1d3cba8fb787dcec79d2107b8ffd4a

11
dev-ml/tcpip/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/mirage-tcpip</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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 )"