Mon Jul 5 13:26:55 2021 UTC ()
Update to 2.0001

Upstream changes:
2.0001 2021-03-29
 - BUGFIX: Return a netmask length of 0 whenever parsing an invalid
   digit.
 - Add "safe_new()" method to make it more clear what new2() does. Note
   that this executes the same code as new2().

2.0000 2021-03-29

 - SECURITY: IPv4 addresses with leading zeros are no longer allowed.
   They will return a parse error like any invalid IP address.
 - SECURITY: 10.0.0, 10.0, and 10 address portions now by default return
   a parse error.  This can be overriden by calling new() like:
     Net::Netmask->new2('10/8', shortnet => 1);     # or new()
   or
     Net::Netmask->new2('10', '8', shortnet => 1);  # or new()

   There is also a package-level variable that can change the default
   when "shortnet" isn't used passed into the constructor. Usage:
     local $Net::Netmask::SHORTNET_DEFAULT = 1;
     Net::Netmask->new('10', '8');  # or new2()


(wen)
diff -r1.30 -r1.31 pkgsrc/devel/p5-Net-Netmask/Makefile
diff -r1.10 -r1.11 pkgsrc/devel/p5-Net-Netmask/distinfo

cvs diff -r1.30 -r1.31 pkgsrc/devel/p5-Net-Netmask/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Net-Netmask/Makefile 2021/05/24 19:51:16 1.30
+++ pkgsrc/devel/p5-Net-Netmask/Makefile 2021/07/05 13:26:55 1.31
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.30 2021/05/24 19:51:16 wiz Exp $ 1# $NetBSD: Makefile,v 1.31 2021/07/05 13:26:55 wen Exp $
2 2
3DISTNAME= Net-Netmask-1.9104 3DISTNAME= Net-Netmask-2.0001
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 4 
6CATEGORIES= devel perl5 5CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
8 7
9MAINTAINER= charlie@rubberduck.com 8MAINTAINER= charlie@rubberduck.com
10COMMENT= Perl5 module to parse and manipulate IP network blocks 9COMMENT= Perl5 module to parse and manipulate IP network blocks
11LICENSE= ${PERL5_LICENSE} 10LICENSE= ${PERL5_LICENSE}
12 11
13BUILD_DEPENDS+= p5-Test-UseAllModules>=0.17:../../devel/p5-Test-UseAllModules 12BUILD_DEPENDS+= p5-Test-UseAllModules>=0.17:../../devel/p5-Test-UseAllModules
14RUN_DEPENDS+= p5-Math-BigInt>=1.999811:../../math/p5-Math-BigInt 13RUN_DEPENDS+= p5-Math-BigInt>=1.999811:../../math/p5-Math-BigInt
15 14
16PERL5_PACKLIST= auto/Net/Netmask/.packlist 15PERL5_PACKLIST= auto/Net/Netmask/.packlist
17 16
18.include "../../lang/perl5/module.mk" 17.include "../../lang/perl5/module.mk"

cvs diff -r1.10 -r1.11 pkgsrc/devel/p5-Net-Netmask/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-Net-Netmask/distinfo 2018/07/29 06:28:52 1.10
+++ pkgsrc/devel/p5-Net-Netmask/distinfo 2021/07/05 13:26:55 1.11
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.10 2018/07/29 06:28:52 wen Exp $ 1$NetBSD: distinfo,v 1.11 2021/07/05 13:26:55 wen Exp $
2 2
3SHA1 (Net-Netmask-1.9104.tar.gz) = 5495f94207a37ad73cff8be5615cef0e2a1bbb66 3SHA1 (Net-Netmask-2.0001.tar.gz) = 03e0c75dbcbcf064093203e7a2719ab002ca8c72
4RMD160 (Net-Netmask-1.9104.tar.gz) = 290d24c2775183ed00a06b968d2b171a47ba3f26 4RMD160 (Net-Netmask-2.0001.tar.gz) = 366b16462c82d5ef1174f96e0ba84ec8dee69c1e
5SHA512 (Net-Netmask-1.9104.tar.gz) = 4bec48c8ba8b19baaa5cbfc6c17a539a663f3da8899f6dbdfbf455f7c6b8f00f102ff841e47656e83571cc44cec3d2665f5f29c827448b76f9424faafac8d1a3 5SHA512 (Net-Netmask-2.0001.tar.gz) = 87f4f875dc1f07968a71d558bb02b8443d63601e8414a109ddfdd47c5d8616ed0678ea950426ec646bf3b06035ff1dabf067dafb18cb66291b882b9364c0de0b
6Size (Net-Netmask-1.9104.tar.gz) = 41853 bytes 6Size (Net-Netmask-2.0001.tar.gz) = 44676 bytes