diff --git a/dev-ml/pcap-format/Manifest b/dev-ml/pcap-format/Manifest new file mode 100644 index 0000000000..0d89aac10d --- /dev/null +++ b/dev-ml/pcap-format/Manifest @@ -0,0 +1 @@ +DIST pcap-format-0.5.2.tar.gz 6190 BLAKE2B c1be65a4006f6f2f5aa1f8f1af686e9d974c2188b148a60d950e86d4bc6a48924eb5e2b6d30b25d3a980a6086b774b5c2e4cad85ce0ad06f741c451d8f0d964f SHA512 aa7d58e1b30033c879ead653ed065ca418192fc37c7ec66abf8cdb52d62a0b1509b54febc519673345c1f15a24f381cb1f75cbd894ca991508461bd0a5fa139b diff --git a/dev-ml/pcap-format/metadata.xml b/dev-ml/pcap-format/metadata.xml new file mode 100644 index 0000000000..39e9c8c14e --- /dev/null +++ b/dev-ml/pcap-format/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-pcap + + diff --git a/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild b/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild new file mode 100644 index 0000000000..4be1c548db --- /dev/null +++ b/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild @@ -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 )"