dev-ml/pcap-format: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-07 00:20:59 +02:00
parent ccf39a89f9
commit eb209f9bb3
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pcap-format-0.5.2.tar.gz 6190 BLAKE2B c1be65a4006f6f2f5aa1f8f1af686e9d974c2188b148a60d950e86d4bc6a48924eb5e2b6d30b25d3a980a6086b774b5c2e4cad85ce0ad06f741c451d8f0d964f SHA512 aa7d58e1b30033c879ead653ed065ca418192fc37c7ec66abf8cdb52d62a0b1509b54febc519673345c1f15a24f381cb1f75cbd894ca991508461bd0a5fa139b

View File

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

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Read and write pcap-formatted network packet traces"
HOMEPAGE="https://github.com/mirage/ocaml-pcap"
SRC_URI="https://github.com/mirage/ocaml-pcap/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-pcap-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="dev-ml/cstruct[ppx]"
DEPEND="
${RDEPEND}
test? (
dev-ml/ounit
dev-ml/mmap
)
"
RESTRICT="!test? ( test )"