[ocaml-platform] Pcap-related packages in OPAM

Anil Madhavapeddy anil at recoil.org
Wed Jul 10 11:38:54 BST 2013


Hi Johan, David,

The existing OPAM policy is simply to package by consensus.  If you could
both agree on suitable and unique names and submit a pull request or issue
to http://github.com/OCamlPro/opam-repository, we will merge the changes
into the stable repository.

The same issue has come up with a couple of other packages (such as
openflow, or vhd as David points out).  It would be good to distinguish
them with a prefix less generic than "ocaml-" if possible.  For example,
if Dave's pcap bindings are just the format and not the library, it might
be appropriate to call it pcap-format.

best,
Anil

On Wed, Jul 10, 2013 at 08:01:46AM +0100, David Scott wrote:
> Hi,
> 
> Is there a pattern we should apply more generally? I know of two other
> packages which both implement functions to read/write .vhd format disk
> files. One is a binding to a C lib "vhd" and the other is a pure ocaml
> implementation of the spec. They have disjoint feature sets, so both are
> useful. Initially both were just called "vhd" in opam. Since then the C
> binding one was renamed "libvhd" IIRC.
> 
> I'm happy to rename the ocaml-pcap to whatever makes the most sense.
> 
> Cheers,
> Dave
> 
> On Wednesday, July 10, 2013, Johan Mazel wrote:
> 
> > Hi
> > There currently is an OPAM package called pcap based on ocaml-pcap (
> > https://github.com/djs55/ocaml-pcap).
> > However, the OCaml binbings to libpcap have the same name: pcap. These
> > bindings are still relevant because they provides bindings to live capture
> > on network interface.
> >
> > Would it be possible to change the current OPAM package to something else
> > like cstruct-pcap ? It would allow one to install both packages in OPAM.
> > Regards.
> > Johan Mazel
> >
> 
> 
> -- 
> Dave Scott

> _______________________________________________
> Platform mailing list
> Platform at lists.ocaml.org
> http://lists.ocaml.org/listinfo/platform


More information about the Platform mailing list