pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Net-Netmask Update to 2.0001



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ea7b5d504e5
branches:  trunk
changeset: 455500:9ea7b5d504e5
user:      wen <wen%pkgsrc.org@localhost>
date:      Mon Jul 05 13:26:55 2021 +0000

description:
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()

diffstat:

 devel/p5-Net-Netmask/Makefile |   5 ++---
 devel/p5-Net-Netmask/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (29 lines):

diff -r 790d049fa966 -r 9ea7b5d504e5 devel/p5-Net-Netmask/Makefile
--- a/devel/p5-Net-Netmask/Makefile     Mon Jul 05 13:23:32 2021 +0000
+++ b/devel/p5-Net-Netmask/Makefile     Mon Jul 05 13:26:55 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2021/05/24 19:51:16 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2021/07/05 13:26:55 wen Exp $
 
-DISTNAME=      Net-Netmask-1.9104
+DISTNAME=      Net-Netmask-2.0001
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Net/}
 
diff -r 790d049fa966 -r 9ea7b5d504e5 devel/p5-Net-Netmask/distinfo
--- a/devel/p5-Net-Netmask/distinfo     Mon Jul 05 13:23:32 2021 +0000
+++ b/devel/p5-Net-Netmask/distinfo     Mon Jul 05 13:26:55 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2018/07/29 06:28:52 wen Exp $
+$NetBSD: distinfo,v 1.11 2021/07/05 13:26:55 wen Exp $
 
-SHA1 (Net-Netmask-1.9104.tar.gz) = 5495f94207a37ad73cff8be5615cef0e2a1bbb66
-RMD160 (Net-Netmask-1.9104.tar.gz) = 290d24c2775183ed00a06b968d2b171a47ba3f26
-SHA512 (Net-Netmask-1.9104.tar.gz) = 4bec48c8ba8b19baaa5cbfc6c17a539a663f3da8899f6dbdfbf455f7c6b8f00f102ff841e47656e83571cc44cec3d2665f5f29c827448b76f9424faafac8d1a3
-Size (Net-Netmask-1.9104.tar.gz) = 41853 bytes
+SHA1 (Net-Netmask-2.0001.tar.gz) = 03e0c75dbcbcf064093203e7a2719ab002ca8c72
+RMD160 (Net-Netmask-2.0001.tar.gz) = 366b16462c82d5ef1174f96e0ba84ec8dee69c1e
+SHA512 (Net-Netmask-2.0001.tar.gz) = 87f4f875dc1f07968a71d558bb02b8443d63601e8414a109ddfdd47c5d8616ed0678ea950426ec646bf3b06035ff1dabf067dafb18cb66291b882b9364c0de0b
+Size (Net-Netmask-2.0001.tar.gz) = 44676 bytes



Home | Main Index | Thread Index | Old Index