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()diff -r1.30 -r1.31 pkgsrc/devel/p5-Net-Netmask/Makefile
(wen)
@@ -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 | |||
3 | DISTNAME= Net-Netmask-1.9104 | 3 | DISTNAME= Net-Netmask-2.0001 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | PKGREVISION= 4 | |||
6 | CATEGORIES= devel perl5 | 5 | CATEGORIES= devel perl5 | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} | |
8 | 7 | |||
9 | MAINTAINER= charlie@rubberduck.com | 8 | MAINTAINER= charlie@rubberduck.com | |
10 | COMMENT= Perl5 module to parse and manipulate IP network blocks | 9 | COMMENT= Perl5 module to parse and manipulate IP network blocks | |
11 | LICENSE= ${PERL5_LICENSE} | 10 | LICENSE= ${PERL5_LICENSE} | |
12 | 11 | |||
13 | BUILD_DEPENDS+= p5-Test-UseAllModules>=0.17:../../devel/p5-Test-UseAllModules | 12 | BUILD_DEPENDS+= p5-Test-UseAllModules>=0.17:../../devel/p5-Test-UseAllModules | |
14 | RUN_DEPENDS+= p5-Math-BigInt>=1.999811:../../math/p5-Math-BigInt | 13 | RUN_DEPENDS+= p5-Math-BigInt>=1.999811:../../math/p5-Math-BigInt | |
15 | 14 | |||
16 | PERL5_PACKLIST= auto/Net/Netmask/.packlist | 15 | PERL5_PACKLIST= auto/Net/Netmask/.packlist | |
17 | 16 | |||
18 | .include "../../lang/perl5/module.mk" | 17 | .include "../../lang/perl5/module.mk" |
@@ -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 | |||
3 | SHA1 (Net-Netmask-1.9104.tar.gz) = 5495f94207a37ad73cff8be5615cef0e2a1bbb66 | 3 | SHA1 (Net-Netmask-2.0001.tar.gz) = 03e0c75dbcbcf064093203e7a2719ab002ca8c72 | |
4 | RMD160 (Net-Netmask-1.9104.tar.gz) = 290d24c2775183ed00a06b968d2b171a47ba3f26 | 4 | RMD160 (Net-Netmask-2.0001.tar.gz) = 366b16462c82d5ef1174f96e0ba84ec8dee69c1e | |
5 | SHA512 (Net-Netmask-1.9104.tar.gz) = 4bec48c8ba8b19baaa5cbfc6c17a539a663f3da8899f6dbdfbf455f7c6b8f00f102ff841e47656e83571cc44cec3d2665f5f29c827448b76f9424faafac8d1a3 | 5 | SHA512 (Net-Netmask-2.0001.tar.gz) = 87f4f875dc1f07968a71d558bb02b8443d63601e8414a109ddfdd47c5d8616ed0678ea950426ec646bf3b06035ff1dabf067dafb18cb66291b882b9364c0de0b | |
6 | Size (Net-Netmask-1.9104.tar.gz) = 41853 bytes | 6 | Size (Net-Netmask-2.0001.tar.gz) = 44676 bytes |