pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/ocaml-conduit
Module Name: pkgsrc
Committed By: jaapb
Date: Mon Jul 1 16:01:36 UTC 2019
Added Files:
pkgsrc/net/ocaml-conduit: DESCR Makefile PLIST buildlink3.mk distinfo
options.mk
Log Message:
Added package net/ocaml-conduit, an OCaml network connection library
This is needed as a dependency for www/ocaml-cohttp.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/ocaml-conduit/DESCR \
pkgsrc/net/ocaml-conduit/Makefile pkgsrc/net/ocaml-conduit/PLIST \
pkgsrc/net/ocaml-conduit/buildlink3.mk pkgsrc/net/ocaml-conduit/distinfo \
pkgsrc/net/ocaml-conduit/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/ocaml-conduit/DESCR
diff -u /dev/null pkgsrc/net/ocaml-conduit/DESCR:1.1
--- /dev/null Mon Jul 1 16:01:36 2019
+++ pkgsrc/net/ocaml-conduit/DESCR Mon Jul 1 16:01:36 2019
@@ -0,0 +1,7 @@
+The conduit library takes care of establishing and listening for TCP and SSL/TLS
+connections for the Lwt and Async libraries.
+
+The reason this library exists is to provide a degree of abstraction from the
+precise SSL library used, since there are a variety of ways to bind to a library
+(e.g. the C FFI, or the Ctypes library), as well as well as which library is
+used (just OpenSSL for now).
Index: pkgsrc/net/ocaml-conduit/Makefile
diff -u /dev/null pkgsrc/net/ocaml-conduit/Makefile:1.1
--- /dev/null Mon Jul 1 16:01:36 2019
+++ pkgsrc/net/ocaml-conduit/Makefile Mon Jul 1 16:01:36 2019
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2019/07/01 16:01:36 jaapb Exp $
+
+GITHUB_PROJECT= ocaml-conduit
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-1.4.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mirage/ocaml-conduit/
+COMMENT= Dereference URIs into OCaml communication channels
+LICENSE= isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE= yes
+DUNE_BUILD_PACKAGES= conduit
+OPAM_INSTALL_FILES= conduit
+
+.include "options.mk"
+.include "../../devel/ocaml-astring/buildlink3.mk"
+.include "../../devel/ocaml-logs/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
+.include "../../devel/ocaml-result/buildlink3.mk"
+.include "../../devel/ocaml-sexplib/buildlink3.mk"
+.include "../../net/ocaml-ipaddr/buildlink3.mk"
+.include "../../www/ocaml-uri/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/ocaml-conduit/PLIST
diff -u /dev/null pkgsrc/net/ocaml-conduit/PLIST:1.1
--- /dev/null Mon Jul 1 16:01:36 2019
+++ pkgsrc/net/ocaml-conduit/PLIST Mon Jul 1 16:01:36 2019
@@ -0,0 +1,128 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/01 16:01:36 jaapb Exp $
+${PLIST.async}${OCAML_SITELIB}/conduit-async/META
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async.a
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async.cma
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async.cmi
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async.cmt
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async.cmx
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async.cmxa
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async.cmxs
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async.ml
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__.cmi
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__.cmt
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async__.cmx
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__.ml
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__Private_ssl.cmi
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__Private_ssl.cmt
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async__Private_ssl.cmx
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__S.cmi
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__S.cmt
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async__S.cmx
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__V1.cmi
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__V1.cmt
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__V1.cmti
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async__V1.cmx
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__V2.cmi
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__V2.cmt
+${PLIST.async}${OCAML_SITELIB}/conduit-async/conduit_async__V2.cmti
+${PLIST.async}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-async/conduit_async__V2.cmx
+${PLIST.async}${OCAML_SITELIB}/conduit-async/dune-package
+${PLIST.async}${OCAML_SITELIB}/conduit-async/opam
+${PLIST.async}${OCAML_SITELIB}/conduit-async/private_ssl.ml
+${PLIST.async}${OCAML_SITELIB}/conduit-async/s.ml
+${PLIST.async}${OCAML_SITELIB}/conduit-async/v1.ml
+${PLIST.async}${OCAML_SITELIB}/conduit-async/v1.mli
+${PLIST.async}${OCAML_SITELIB}/conduit-async/v2.ml
+${PLIST.async}${OCAML_SITELIB}/conduit-async/v2.mli
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/META
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_launchd.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_launchd.cmt
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_launchd.cmx
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_launchd.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_server.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_server.cmt
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_server.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_server.cmx
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_server.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_server.mli
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_tls.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_tls.cmt
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_tls.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_tls.cmx
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_tls.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_tls.mli
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.a
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cma
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cmt
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cmx
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cmxa
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.cmxs
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix.mli
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix_ssl.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix_ssl.cmt
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix_ssl.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix_ssl.cmx
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix_ssl.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/conduit_lwt_unix_ssl.mli
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/dune-package
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/opam
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/resolver_lwt_unix.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/resolver_lwt_unix.cmt
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/resolver_lwt_unix.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt-unix/resolver_lwt_unix.cmx
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/resolver_lwt_unix.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt-unix/resolver_lwt_unix.mli
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/META
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt/conduit_lwt.a
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/conduit_lwt.cma
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt/conduit_lwt.cmxa
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt/conduit_lwt.cmxs
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/dune-package
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/opam
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/resolver_lwt.cmi
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/resolver_lwt.cmt
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/resolver_lwt.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit-lwt/resolver_lwt.cmx
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/resolver_lwt.ml
+${PLIST.lwt}${OCAML_SITELIB}/conduit-lwt/resolver_lwt.mli
+${OCAML_SITELIB}/conduit/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit/conduit.a
+${OCAML_SITELIB}/conduit/conduit.cma
+${OCAML_SITELIB}/conduit/conduit.cmi
+${OCAML_SITELIB}/conduit/conduit.cmt
+${OCAML_SITELIB}/conduit/conduit.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit/conduit.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit/conduit.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit/conduit.cmxs
+${OCAML_SITELIB}/conduit/conduit.ml
+${OCAML_SITELIB}/conduit/conduit.mli
+${OCAML_SITELIB}/conduit/conduit_trie.cmi
+${OCAML_SITELIB}/conduit/conduit_trie.cmt
+${OCAML_SITELIB}/conduit/conduit_trie.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit/conduit_trie.cmx
+${OCAML_SITELIB}/conduit/conduit_trie.ml
+${OCAML_SITELIB}/conduit/conduit_trie.mli
+${OCAML_SITELIB}/conduit/dune-package
+${OCAML_SITELIB}/conduit/opam
+${OCAML_SITELIB}/conduit/resolver.cmi
+${OCAML_SITELIB}/conduit/resolver.cmt
+${OCAML_SITELIB}/conduit/resolver.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/conduit/resolver.cmx
+${OCAML_SITELIB}/conduit/resolver.ml
+${OCAML_SITELIB}/conduit/resolver.mli
+${PLIST.async}share/doc/conduit-async/CHANGES.md
+${PLIST.async}share/doc/conduit-async/LICENSE.md
+${PLIST.async}share/doc/conduit-async/README.md
+${PLIST.lwt}share/doc/conduit-lwt-unix/CHANGES.md
+${PLIST.lwt}share/doc/conduit-lwt-unix/LICENSE.md
+${PLIST.lwt}share/doc/conduit-lwt-unix/README.md
+${PLIST.lwt}share/doc/conduit-lwt/CHANGES.md
+${PLIST.lwt}share/doc/conduit-lwt/LICENSE.md
+${PLIST.lwt}share/doc/conduit-lwt/README.md
+share/doc/conduit/CHANGES.md
+share/doc/conduit/LICENSE.md
+share/doc/conduit/README.md
+share/doc/conduit/odoc-pages/index.mld
Index: pkgsrc/net/ocaml-conduit/buildlink3.mk
diff -u /dev/null pkgsrc/net/ocaml-conduit/buildlink3.mk:1.1
--- /dev/null Mon Jul 1 16:01:36 2019
+++ pkgsrc/net/ocaml-conduit/buildlink3.mk Mon Jul 1 16:01:36 2019
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/07/01 16:01:36 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-conduit
+
+.if !defined(OCAML_CONDUIT_BUILDLINK3_MK)
+OCAML_CONDUIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-conduit+= ocaml-conduit>=1.4.0
+BUILDLINK_PKGSRCDIR.ocaml-conduit?= ../../net/ocaml-conduit
+
+.endif # OCAML_CONDUIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-conduit
Index: pkgsrc/net/ocaml-conduit/distinfo
diff -u /dev/null pkgsrc/net/ocaml-conduit/distinfo:1.1
--- /dev/null Mon Jul 1 16:01:36 2019
+++ pkgsrc/net/ocaml-conduit/distinfo Mon Jul 1 16:01:36 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/07/01 16:01:36 jaapb Exp $
+
+SHA1 (ocaml-conduit-1.4.0.tar.gz) = 0002d85cd9194012d7054b0b615fd07830f6ff79
+RMD160 (ocaml-conduit-1.4.0.tar.gz) = cc3ae9b0ed74957fa127ec70d6b5bb23a72f5e02
+SHA512 (ocaml-conduit-1.4.0.tar.gz) = 030946f88bc037c8c1e78818b9250acdd374c5c067d3a718f50818647da7e8b12dbc494c62dd3bd35bf07a85dd4aa1c19a561f5bb95ce065a222ce3fd36d5aa3
+Size (ocaml-conduit-1.4.0.tar.gz) = 39066 bytes
Index: pkgsrc/net/ocaml-conduit/options.mk
diff -u /dev/null pkgsrc/net/ocaml-conduit/options.mk:1.1
--- /dev/null Mon Jul 1 16:01:36 2019
+++ pkgsrc/net/ocaml-conduit/options.mk Mon Jul 1 16:01:36 2019
@@ -0,0 +1,31 @@
+# $NetBSD: options.mk,v 1.1 2019/07/01 16:01:36 jaapb Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ocaml-conduit
+PKG_SUPPORTED_OPTIONS= async lwt
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= async lwt
+
+###
+### async support
+###
+.if !empty(PKG_OPTIONS:Masync)
+.include "../../devel/ocaml-async/buildlink3.mk"
+DUNE_BUILD_PACKAGES+= conduit-async
+OPAM_INSTALL_FILES+= conduit-async
+PLIST.async= yes
+.endif
+
+###
+### lwt support
+###
+.if !empty(PKG_OPTIONS:Mlwt)
+.include "../../devel/ocaml-lwt/buildlink3.mk"
+DUNE_BUILD_PACKAGES+= conduit-lwt conduit-lwt-unix
+OPAM_INSTALL_FILES+= conduit-lwt conduit-lwt-unix
+PLIST.lwt= yes
+.endif
Home |
Main Index |
Thread Index |
Old Index