summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2017-07-21 14:21:26 +0000
committerjaapb <jaapb@pkgsrc.org>2017-07-21 14:21:26 +0000
commit346478056fb6c2f8935c791282a5c9370991d838 (patch)
tree72eee0ae3c90e54c7a3913c46c1885d20c432c20 /net
parent84e468730b6f8339dae7c3504cda5450a09b5092 (diff)
downloadpkgsrc-346478056fb6c2f8935c791282a5c9370991d838.tar.gz
Updated package to latest version, 2.8.0. Changes include:
Port to Jbuilder (#65 @vbmithr @avsm). There should be no observable changes, except that Ipaddr_unix is now in a separate subdirectory. This means that packages that implicitly depended on the module without including the ocamlfind ipaddr.unix package may now fail. Just adding the ocamlfind dependency will fix it, and is backwards compatible with older Ipaddr releases. Minimum version of OCaml required is now 4.03.0 (formerly was 4.02.2), due to the use of recent ppx_sexp_conv with Jbuilder also having that as the minimum supported compiler version.
Diffstat (limited to 'net')
-rw-r--r--net/ocaml-ipaddr/Makefile10
-rw-r--r--net/ocaml-ipaddr/PLIST38
-rw-r--r--net/ocaml-ipaddr/buildlink3.mk4
-rw-r--r--net/ocaml-ipaddr/distinfo10
4 files changed, 31 insertions, 31 deletions
diff --git a/net/ocaml-ipaddr/Makefile b/net/ocaml-ipaddr/Makefile
index 4c0a9334149..9d40692f421 100644
--- a/net/ocaml-ipaddr/Makefile
+++ b/net/ocaml-ipaddr/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2017/07/11 12:28:51 jaapb Exp $
+# $NetBSD: Makefile,v 1.10 2017/07/21 14:21:26 jaapb Exp $
-VERSION= 2.7.2
+VERSION= 2.8.0
GITHUB_PROJECT= ocaml-ipaddr
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
CATEGORIES= net
@@ -11,13 +11,9 @@ HOMEPAGE= https://github.com/mirage/ocaml-ipaddr/
COMMENT= Library for manipulation of IP and MAC addresses
LICENSE= isc
-WRKSRC= ${WRKDIR}/ocaml-ipaddr-${VERSION}
-
-OCAML_USE_TOPKG= yes
-OCAML_USE_OPAM= yes
+OCAML_USE_JBUILDER= yes
.include "../../devel/ocamlbuild/buildlink3.mk"
-.include "../../devel/ocaml-sexplib/buildlink3.mk"
.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ocaml-ipaddr/PLIST b/net/ocaml-ipaddr/PLIST
index eb821fbe672..4faf4a5a4e1 100644
--- a/net/ocaml-ipaddr/PLIST
+++ b/net/ocaml-ipaddr/PLIST
@@ -1,34 +1,38 @@
-@comment $NetBSD: PLIST,v 1.4 2017/07/11 12:28:51 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/07/21 14:21:26 jaapb Exp $
${OCAML_SITELIB}/ipaddr/META
${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.a
${OCAML_SITELIB}/ipaddr/ipaddr.cma
${OCAML_SITELIB}/ipaddr/ipaddr.cmi
+${OCAML_SITELIB}/ipaddr/ipaddr.cmt
${OCAML_SITELIB}/ipaddr/ipaddr.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxs
${OCAML_SITELIB}/ipaddr/ipaddr.mli
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.a
-${OCAML_SITELIB}/ipaddr/ipaddr_top.cma
-${OCAML_SITELIB}/ipaddr/ipaddr_top.cmi
-${OCAML_SITELIB}/ipaddr/ipaddr_top.cmti
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmx
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmxa
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmxs
-${OCAML_SITELIB}/ipaddr/ipaddr_top.mli
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.a
-${OCAML_SITELIB}/ipaddr/ipaddr_unix.cma
-${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmi
-${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmti
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmx
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmxa
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmxs
-${OCAML_SITELIB}/ipaddr/ipaddr_unix.mli
${OCAML_SITELIB}/ipaddr/macaddr.cmi
+${OCAML_SITELIB}/ipaddr/macaddr.cmt
${OCAML_SITELIB}/ipaddr/macaddr.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/macaddr.cmx
${OCAML_SITELIB}/ipaddr/macaddr.mli
${OCAML_SITELIB}/ipaddr/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/top/ipaddr_top.a
+${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cma
+${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cmi
+${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cmt
+${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/top/ipaddr_top.cmxs
+${OCAML_SITELIB}/ipaddr/top/ipaddr_top.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.a
+${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cma
+${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cmi
+${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cmt
+${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.cmxs
+${OCAML_SITELIB}/ipaddr/unix/ipaddr_unix.mli
share/doc/ipaddr/CHANGES.md
share/doc/ipaddr/LICENSE.md
share/doc/ipaddr/README.md
diff --git a/net/ocaml-ipaddr/buildlink3.mk b/net/ocaml-ipaddr/buildlink3.mk
index fde83694b2c..fbe02c20768 100644
--- a/net/ocaml-ipaddr/buildlink3.mk
+++ b/net/ocaml-ipaddr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2017/07/11 12:28:51 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2017/07/21 14:21:26 jaapb Exp $
BUILDLINK_TREE+= ocaml-ipaddr
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= ocaml-ipaddr
OCAML_IPADDR_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-ipaddr+= ocaml-ipaddr>=2.0.0
-BUILDLINK_ABI_DEPENDS.ocaml-ipaddr?= ocaml-ipaddr>=2.7.2
+BUILDLINK_ABI_DEPENDS.ocaml-ipaddr?= ocaml-ipaddr>=2.8.0
BUILDLINK_PKGSRCDIR.ocaml-ipaddr?= ../../net/ocaml-ipaddr
BUILDLINK_FILES.ocaml-ipaddr+= lib/ocaml/site-lib/*
diff --git a/net/ocaml-ipaddr/distinfo b/net/ocaml-ipaddr/distinfo
index a9eb37e973c..7cd7f7421e3 100644
--- a/net/ocaml-ipaddr/distinfo
+++ b/net/ocaml-ipaddr/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/07/11 12:28:51 jaapb Exp $
+$NetBSD: distinfo,v 1.6 2017/07/21 14:21:26 jaapb Exp $
-SHA1 (ocaml-ipaddr-2.7.2.tar.gz) = 0002ca7085f0ab7f1008c1c4b122c20497e22853
-RMD160 (ocaml-ipaddr-2.7.2.tar.gz) = d490df1087b325899e11ae6a68b734b5675e7ab2
-SHA512 (ocaml-ipaddr-2.7.2.tar.gz) = fe477bcdae82f6a259d99cb4191f942ba7a38d11c575fcaa92c2973c9cd0b3b2b008a1efdca73e11d94f892be2f84547c386bbfca95cfa78d2fefd83d77ca876
-Size (ocaml-ipaddr-2.7.2.tar.gz) = 23698 bytes
+SHA1 (ocaml-ipaddr-2.8.0.tar.gz) = afc9c209fbe6078af45da77bb81d8f4c1d84eed3
+RMD160 (ocaml-ipaddr-2.8.0.tar.gz) = 329a772880b863d7b7f8537b4040b484c5e85bc3
+SHA512 (ocaml-ipaddr-2.8.0.tar.gz) = 1714ee4d6b2afa17b987844f37a9896f01d7b674770fa6804b03222dba656130f9ee0d2d1409b67e770e21f973682c7d1d5c550abb0a5d94bc0c04a1a97e8e3c
+Size (ocaml-ipaddr-2.8.0.tar.gz) = 22134 bytes