pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ocaml-protocol_version_header Added net/ocaml-prot...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0668da4cc100
branches:  trunk
changeset: 321573:0668da4cc100
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Mar 25 09:19:32 2019 +0000

description:
Added net/ocaml-protocol_version_header, protocol-aware version negotation

diffstat:

 net/ocaml-protocol_version_header/DESCR         |   3 ++
 net/ocaml-protocol_version_header/Makefile      |  21 ++++++++++++++++++++
 net/ocaml-protocol_version_header/PLIST         |  26 +++++++++++++++++++++++++
 net/ocaml-protocol_version_header/buildlink3.mk |  13 ++++++++++++
 net/ocaml-protocol_version_header/distinfo      |   6 +++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r 94e8a04cce0b -r 0668da4cc100 net/ocaml-protocol_version_header/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ocaml-protocol_version_header/DESCR   Mon Mar 25 09:19:32 2019 +0000
@@ -0,0 +1,3 @@
+Protocol_version_header is a small library that houses magic numbers for various
+protocols. It exposes a negotiate function that is magic number aware, returning
+human readable error messages when negotiation fails.
diff -r 94e8a04cce0b -r 0668da4cc100 net/ocaml-protocol_version_header/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ocaml-protocol_version_header/Makefile        Mon Mar 25 09:19:32 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/03/25 09:19:32 jaapb Exp $
+
+GITHUB_PROJECT=        protocol_version_header
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-0.12.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/protocol_version_header/
+COMMENT=       Protocol-aware version negotiation for OCaml
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-core_kernel/buildlink3.mk"
+.include "../../devel/ocaml-ppx_jane/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 94e8a04cce0b -r 0668da4cc100 net/ocaml-protocol_version_header/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ocaml-protocol_version_header/PLIST   Mon Mar 25 09:19:32 2019 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/25 09:19:32 jaapb Exp $
+${OCAML_SITELIB}/protocol_version_header/META
+${OCAML_SITELIB}/protocol_version_header/dune-package
+${OCAML_SITELIB}/protocol_version_header/known_protocol.ml
+${OCAML_SITELIB}/protocol_version_header/known_protocol.mli
+${OCAML_SITELIB}/protocol_version_header/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/protocol_version_header/protocol_version_header.a
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cma
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cmi
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cmt
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/protocol_version_header/protocol_version_header.cmxs
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header.ml
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header.mli
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header__.cmi
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/protocol_version_header/protocol_version_header__.cmx
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header__.ml
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header__Known_protocol.cmi
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header__Known_protocol.cmt
+${OCAML_SITELIB}/protocol_version_header/protocol_version_header__Known_protocol.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/protocol_version_header/protocol_version_header__Known_protocol.cmx
+share/doc/protocol_version_header/LICENSE.md
+share/doc/protocol_version_header/README.org
diff -r 94e8a04cce0b -r 0668da4cc100 net/ocaml-protocol_version_header/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ocaml-protocol_version_header/buildlink3.mk   Mon Mar 25 09:19:32 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/25 09:19:32 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-protocol_version_header
+
+.if !defined(OCAML_PROTOCOL_VERSION_HEADER_BUILDLINK3_MK)
+OCAML_PROTOCOL_VERSION_HEADER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-protocol_version_header+=  ocaml-protocol_version_header>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-protocol_version_header?=    ../../net/ocaml-protocol_version_header
+
+.endif # OCAML_PROTOCOL_VERSION_HEADER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-protocol_version_header
diff -r 94e8a04cce0b -r 0668da4cc100 net/ocaml-protocol_version_header/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ocaml-protocol_version_header/distinfo        Mon Mar 25 09:19:32 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/25 09:19:32 jaapb Exp $
+
+SHA1 (protocol_version_header-0.12.0.tar.gz) = 1338478b668f556f0b11dad2c896f6f2cfcef235
+RMD160 (protocol_version_header-0.12.0.tar.gz) = fb5941ee6fef7711d2d78ccad0af3ba9848a2816
+SHA512 (protocol_version_header-0.12.0.tar.gz) = 2c6ed33f23d1169a54a870c42d3a7dfa7dec0da2ab559f3109b33587ad4b953e927b7485d940a261f6ee2bc711a8cd6dd20aa541ac0a8c53e1e5af77b38a2b2c
+Size (protocol_version_header-0.12.0.tar.gz) = 5303 bytes



Home | Main Index | Thread Index | Old Index