Updated package to latest version, 2.7.0. Changes include: 2.7.0 (2016-02-14): * Remove sexplib.syntax, type_conv deps and camlp4 transitive dependency * Add ppx_sexp_conv dependency * Require OCaml 4.02.2+ * Add `Ipaddr.Prefix.subset`, `Ipaddr.V4.Prefix.subset` and `Ipaddr.V6.subset` predicates to test containment of subnets (#52 from @seliopou) 2.6.1 (2015-02-20): * Fix findlib requires in oasis to restore pre-4.02.1 compatibility 2.6.0 (2015-02-19): * Change IPv6 link-local address prefix from fe80::/10 to fe80::/64. (#39) * Remove type bytes = string alias (potentially breaking) * Turn on -safe-string (#41) * {V4,V6}.to_bytes_raw now uses Bytes.t rather than string (potentially breaking) * Add multicast MAC conversions from RFC 1112 and RFC 2464 * Add to_domain_name conversions to DNS label lists (in-addr.arpa and ip6.arpa) * Add V6.interface_routers, V6.site_routers, and V6.Prefix.solicited_node * Add V6.link_address_of_mac to convert a MAC into a link local IP addressdiff -r1.4 -r1.5 pkgsrc/net/ocaml-ipaddr/Makefile
(jaapb)
@@ -1,23 +1,22 @@ | @@ -1,23 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2015/08/07 11:20:32 jaapb Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2016/03/04 16:15:21 jaapb Exp $ | |
2 | 2 | |||
3 | VERSION= 2.5.0 | 3 | VERSION= 2.7.0 | |
4 | PKGNAME= ocaml-ipaddr-${VERSION} | 4 | GITHUB_PROJECT= ocaml-ipaddr | |
5 | PKGREVISION= 2 | 5 | DISTNAME= ${GITHUB_PROJECT}-${VERSION} | |
6 | DISTNAME= ${VERSION} | |||
7 | DIST_SUBDIR= ocaml-ipaddr | |||
8 | CATEGORIES= net | 6 | CATEGORIES= net | |
9 | MASTER_SITES= https://github.com/mirage/ocaml-ipaddr/archive/ | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/} | |
10 | 8 | |||
11 | MAINTAINER= jaapb@NetBSD.org | 9 | MAINTAINER= jaapb@NetBSD.org | |
12 | HOMEPAGE= https://github.com/mirage/ocaml-ipaddr/ | 10 | HOMEPAGE= https://github.com/mirage/ocaml-ipaddr/ | |
13 | COMMENT= Library for manipulation of IP and MAC addresses | 11 | COMMENT= Library for manipulation of IP and MAC addresses | |
14 | LICENSE= isc | 12 | LICENSE= isc | |
15 | 13 | |||
16 | WRKSRC= ${WRKDIR}/ocaml-ipaddr-${VERSION} | 14 | WRKSRC= ${WRKDIR}/ocaml-ipaddr-${VERSION} | |
17 | 15 | |||
18 | OCAML_USE_FINDLIB= yes | 16 | OCAML_USE_FINDLIB= yes | |
19 | OCAML_USE_OASIS= yes | 17 | OCAML_USE_OASIS= yes | |
20 | 18 | |||
21 | .include "../../devel/ocaml-sexplib/buildlink3.mk" | 19 | .include "../../devel/ocaml-sexplib/buildlink3.mk" | |
20 | .include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk" | |||
22 | .include "../../mk/ocaml.mk" | 21 | .include "../../mk/ocaml.mk" | |
23 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.4 2015/08/07 11:20:32 jaapb Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.5 2016/03/04 16:15:21 jaapb Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= ocaml-ipaddr | 3 | BUILDLINK_TREE+= ocaml-ipaddr | |
4 | 4 | |||
5 | .if !defined(OCAML_IPADDR_BUILDLINK3_MK) | 5 | .if !defined(OCAML_IPADDR_BUILDLINK3_MK) | |
6 | OCAML_IPADDR_BUILDLINK3_MK:= | 6 | OCAML_IPADDR_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.ocaml-ipaddr+= ocaml-ipaddr>=2.0.0 | 8 | BUILDLINK_API_DEPENDS.ocaml-ipaddr+= ocaml-ipaddr>=2.0.0 | |
9 | BUILDLINK_ABI_DEPENDS.ocaml-ipaddr?= ocaml-ipaddr>=2.5.0nb2 | 9 | BUILDLINK_ABI_DEPENDS.ocaml-ipaddr?= ocaml-ipaddr>=2.7.0 | |
10 | BUILDLINK_PKGSRCDIR.ocaml-ipaddr?= ../../net/ocaml-ipaddr | 10 | BUILDLINK_PKGSRCDIR.ocaml-ipaddr?= ../../net/ocaml-ipaddr | |
11 | BUILDLINK_FILES.ocaml-ipaddr+= lib/ocaml/site-lib/* | 11 | BUILDLINK_FILES.ocaml-ipaddr+= lib/ocaml/site-lib/* | |
12 | 12 | |||
13 | .include "../../lang/ocaml/buildlink3.mk" | 13 | .include "../../lang/ocaml/buildlink3.mk" | |
14 | .endif # OCAML_IPADDR_BUILDLINK3_MK | 14 | .endif # OCAML_IPADDR_BUILDLINK3_MK | |
15 | 15 | |||
16 | BUILDLINK_TREE+= -ocaml-ipaddr | 16 | BUILDLINK_TREE+= -ocaml-ipaddr |
@@ -1,26 +1,37 @@ | @@ -1,26 +1,37 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2015/01/20 16:31:26 jaapb Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2016/03/04 16:15:21 jaapb Exp $ | |
2 | ${OCAML_SITELIB}/ipaddr/META | 2 | ${OCAML_SITELIB}/ipaddr/META | |
3 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.a | 3 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.a | |
4 | ${OCAML_SITELIB}/ipaddr/ipaddr.annot | |||
4 | ${OCAML_SITELIB}/ipaddr/ipaddr.cma | 5 | ${OCAML_SITELIB}/ipaddr/ipaddr.cma | |
5 | ${OCAML_SITELIB}/ipaddr/ipaddr.cmi | 6 | ${OCAML_SITELIB}/ipaddr/ipaddr.cmi | |
7 | ${OCAML_SITELIB}/ipaddr/ipaddr.cmt | |||
8 | ${OCAML_SITELIB}/ipaddr/ipaddr.cmti | |||
6 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmx | 9 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmx | |
7 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxa | 10 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxa | |
8 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxs | 11 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxs | |
9 | ${OCAML_SITELIB}/ipaddr/ipaddr.mli | 12 | ${OCAML_SITELIB}/ipaddr/ipaddr.mli | |
10 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.a | 13 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.a | |
14 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.annot | |||
11 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.cma | 15 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.cma | |
12 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.cmi | 16 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.cmi | |
17 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.cmt | |||
13 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmx | 18 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmx | |
14 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmxa | 19 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmxa | |
15 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmxs | 20 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_top.cmxs | |
16 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.ml | 21 | ${OCAML_SITELIB}/ipaddr/ipaddr_top.ml | |
17 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.a | 22 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.a | |
23 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.annot | |||
18 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.cma | 24 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.cma | |
19 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmi | 25 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmi | |
26 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmt | |||
27 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmti | |||
20 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmx | 28 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmx | |
21 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmxa | 29 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmxa | |
22 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmxs | 30 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr_unix.cmxs | |
23 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.mli | 31 | ${OCAML_SITELIB}/ipaddr/ipaddr_unix.mli | |
32 | ${OCAML_SITELIB}/ipaddr/macaddr.annot | |||
24 | ${OCAML_SITELIB}/ipaddr/macaddr.cmi | 33 | ${OCAML_SITELIB}/ipaddr/macaddr.cmi | |
34 | ${OCAML_SITELIB}/ipaddr/macaddr.cmt | |||
35 | ${OCAML_SITELIB}/ipaddr/macaddr.cmti | |||
25 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/macaddr.cmx | 36 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/macaddr.cmx | |
26 | ${OCAML_SITELIB}/ipaddr/macaddr.mli | 37 | ${OCAML_SITELIB}/ipaddr/macaddr.mli |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2015/11/04 00:35:17 agc Exp $ | 1 | $NetBSD: distinfo,v 1.4 2016/03/04 16:15:21 jaapb Exp $ | |
2 | 2 | |||
3 | SHA1 (ocaml-ipaddr/2.5.0.tar.gz) = e660cd08fa7be49d89b08fbb9cd253c6c1fb79de | 3 | SHA1 (ocaml-ipaddr-2.7.0.tar.gz) = 296d1cfee37280854901cc4cc6e12b0f06c755e6 | |
4 | RMD160 (ocaml-ipaddr/2.5.0.tar.gz) = 5daf3ab8c236517e0e1ae282a7c1d6c69262f8f9 | 4 | RMD160 (ocaml-ipaddr-2.7.0.tar.gz) = 97d5487e135a5233c274056cf2da176a5be930b0 | |
5 | SHA512 (ocaml-ipaddr/2.5.0.tar.gz) = acf2f80d2f5d97787784bb96188d0af69138b69257ec404890e543dcd610554038dd2b069069a1e0cd4ab803e6659e4a908964cd8ae5aadb93403b9638c1320f | 5 | SHA512 (ocaml-ipaddr-2.7.0.tar.gz) = 36ce32945e05166165ba9d2d6d10a9fb1531a50ff4e9e1a87d1bf557e767fa2938af9cbaeea7da4eefd058d687f0b36696075fd4c9ed075f5207e3c9f5488c87 | |
6 | Size (ocaml-ipaddr/2.5.0.tar.gz) = 62338 bytes | 6 | Size (ocaml-ipaddr-2.7.0.tar.gz) = 65470 bytes |