summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-pcap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ml/ocaml-pcap
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/ocaml-pcap')
-rw-r--r--dev-ml/ocaml-pcap/Manifest3
-rw-r--r--dev-ml/ocaml-pcap/metadata.xml11
-rw-r--r--dev-ml/ocaml-pcap/ocaml-pcap-0.4.0.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ml/ocaml-pcap/Manifest b/dev-ml/ocaml-pcap/Manifest
new file mode 100644
index 000000000000..041ed7ff0bce
--- /dev/null
+++ b/dev-ml/ocaml-pcap/Manifest
@@ -0,0 +1,3 @@
+DIST ocaml-pcap-0.4.0.tar.gz 52694 BLAKE2B f5d9777b836ea569819ef904d128a72d4782d1cbcb60c0ba98e39aa92d374a5f6355e8549108b5ca7166e3d0cb6e0297e7e93983851f10817897dda20c59156b SHA512 cbcd33d7a557f1a05e5f12013e8dbe226a81a64822689452614dffedeecf8641ce2498e9c9322f80066977ef56a4130ee016816911b6871609d11a988cfcad0e
+EBUILD ocaml-pcap-0.4.0.ebuild 758 BLAKE2B 139398e0e6a6f9fb13058ecbb0fdc551073189f1c4076475728cc4a4d3a078507818ba295f362656cfc82eac1df54d8600d51e30b5cb088bc34afbc49d224611 SHA512 0636a09eca0a81787029ca47992e4ec036d70993a21032cf9480c053b51def1a5e17e9e0f6223c1632b52de4d86b4c935abfe3d1fbef1b0fb002cb91f4ed74cb
+MISC metadata.xml 357 BLAKE2B e13c42876839bc84581c39db1f0bf491d7c93ffa1d602782a10bc1d7d6d73ddaea546a2f8902377c598bbee6bd02e747f744654f4919519c5e690d03406444a6 SHA512 097085d891d7942c3f10f0c6815f7d257f9d969ffacdd7667214df8f1bc7faceb246f97c59e88713f098c41ac822e44d3af2ddb0b7eb9b01df5f460d35cc4d99
diff --git a/dev-ml/ocaml-pcap/metadata.xml b/dev-ml/ocaml-pcap/metadata.xml
new file mode 100644
index 000000000000..02d28ef415aa
--- /dev/null
+++ b/dev-ml/ocaml-pcap/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-pcap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-pcap/ocaml-pcap-0.4.0.ebuild b/dev-ml/ocaml-pcap/ocaml-pcap-0.4.0.ebuild
new file mode 100644
index 000000000000..01eb83b0bfc0
--- /dev/null
+++ b/dev-ml/ocaml-pcap/ocaml-pcap-0.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Read and write pcap-formatted network packet traces."
+HOMEPAGE="https://github.com/mirage/ocaml-pcap https://mirage.io"
+SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Blockers taken from opam file and only relevant
+# if MirageOS should enter portage.
+RDEPEND="
+ dev-ml/ocaml-ipaddr:=
+ !dev-ml/mirage-net-socket
+ !<dev-ml/mirage-0.9.2
+ >=dev-ml/ocaml-cstruct-0.6.0:=[ppx(-)]
+"
+DEPEND="
+ test? ( dev-ml/ounit
+ >=dev-ml/lwt-2.4.0 )
+ ${RDEPEND}
+"
+
+DOCS=( CHANGES MAINTAINERS README.md )