commit:     80692cdd3f404bf61be06c0ca3b64e9c7fd17b51
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Fri Oct 16 12:29:36 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 17:21:08 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80692cdd

dev-ml/ocaml-pcap: new ebuild

- needed as a transitive dependency of Libre S3 1.1 (net-misc/libres3)
- explicit support for MirageOS is not enabled

 dev-ml/ocaml-pcap/Manifest                |  1 +
 dev-ml/ocaml-pcap/metadata.xml            |  9 ++++++++
 dev-ml/ocaml-pcap/ocaml-pcap-0.3.3.ebuild | 34 +++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-ml/ocaml-pcap/Manifest b/dev-ml/ocaml-pcap/Manifest
new file mode 100644
index 0000000..b066fa9
--- /dev/null
+++ b/dev-ml/ocaml-pcap/Manifest
@@ -0,0 +1 @@
+DIST ocaml-pcap-0.3.3.tar.gz 45752 SHA256 
9419a1701310b2d9130be3d305a6e2cb0cb2c8da0348a6c9fc49bbe2a5d6ae76 SHA512 
732f895c08b114aef34ea3b776c69d67696e290f2a2952405b75097ce0253fcc8a754dd223ac4ce98b134786f46c328cc2510f7313c4c8c4042d242a1a4de8a1
 WHIRLPOOL 
0a39017e791e1031b0f1500e3f9eb055db66dda3c35c0ba027f579f4a3066c824bb066733cce9ab07e37e679694bc909ef0b3c812b71570a1563e5a28121b00d

diff --git a/dev-ml/ocaml-pcap/metadata.xml b/dev-ml/ocaml-pcap/metadata.xml
new file mode 100644
index 0000000..a33970c
--- /dev/null
+++ b/dev-ml/ocaml-pcap/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <herd>ml</herd>
+    <herd>proxy-maintainers</herd>
+    <maintainer>
+        <email>tombo...@sina.cn</email>
+    </maintainer>
+</pkgmetadata>

diff --git a/dev-ml/ocaml-pcap/ocaml-pcap-0.3.3.ebuild 
b/dev-ml/ocaml-pcap/ocaml-pcap-0.3.3.ebuild
new file mode 100644
index 0000000..8d7f9d7
--- /dev/null
+++ b/dev-ml/ocaml-pcap/ocaml-pcap-0.3.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/${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:=[camlp4(-)]
+"
+DEPEND="
+       test? ( dev-ml/ounit
+               >=dev-ml/lwt-2.4.0 )
+       ${RDEPEND}
+"
+
+DOCS=( CHANGES MAINTAINERS README.md )

Reply via email to