Here is an update for Net::IP::XS. 

What's new upstream [0]:

- IP objects can now be used with threads (our Perl is built
  without threads support)
- fix type mismatch in XS code (long vs int)
- code refactoring for ipv6

What's new in the port:

- clean up depends and make use of TEST_POD=Yes
- mention the optional IP::Authority that we don't have in ports

Testing:

- 'make test' passes on amd64 and macppc
- there are no consumers (checked twice this time)

Comments/feedback are welcome.

Charlène. 


[0] https://metacpan.org/source/TOMHRR/Net-IP-XS-0.21/Changes


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/p5-Net-IP-XS/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile    29 Dec 2017 07:24:49 -0000      1.4
+++ Makefile    13 May 2019 16:23:23 -0000
@@ -3,19 +3,21 @@
 COMMENT =      perl module for IPv4/IPv6 address parsing
 
 MODULES =      cpan
-DISTNAME =     Net-IP-XS-0.13
+
+DISTNAME =     Net-IP-XS-0.21
+
 CATEGORIES =   net
-REVISION =     1
 
 # GPL
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += c perl
 
-BUILD_DEPENDS =                ${RUN_DEPENDS}
-RUN_DEPENDS =          devel/p5-IO-Capture \
-                       net/p5-IP-Country \
-                       devel/p5-Tie-Simple
-TEST_DEPENDS =         devel/p5-Test-Pod
+RUN_DEPENDS =  devel/p5-IO-Capture \
+               devel/p5-Tie-Simple
+
+# missing optional depend for tests: IP::Authority
+
+MAKE_ENV +=    TEST_POD=Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/p5-Net-IP-XS/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    2 Jan 2015 14:29:01 -0000       1.1.1.1
+++ distinfo    13 May 2019 16:23:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (Net-IP-XS-0.13.tar.gz) = Py+M8QmR4E1OWBl1KA1yk5gPys2DbIRcrPF38aQlrMI=
-SIZE (Net-IP-XS-0.13.tar.gz) = 64512
+SHA256 (Net-IP-XS-0.21.tar.gz) = rpGUEBra7gUMNCR1se1mdLZs+h01/O1Z2ZSuSzQSPng=
+SIZE (Net-IP-XS-0.21.tar.gz) = 63962

Reply via email to