pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Net-Netmask
Module Name: pkgsrc
Committed By: wen
Date: Mon Jul 5 13:26:55 UTC 2021
Modified Files:
pkgsrc/devel/p5-Net-Netmask: Makefile distinfo
Log Message:
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()
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/p5-Net-Netmask/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/p5-Net-Netmask/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/p5-Net-Netmask/Makefile
diff -u pkgsrc/devel/p5-Net-Netmask/Makefile:1.30 pkgsrc/devel/p5-Net-Netmask/Makefile:1.31
--- pkgsrc/devel/p5-Net-Netmask/Makefile:1.30 Mon May 24 19:51:16 2021
+++ pkgsrc/devel/p5-Net-Netmask/Makefile Mon Jul 5 13:26:55 2021
@@ -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/}
Index: pkgsrc/devel/p5-Net-Netmask/distinfo
diff -u pkgsrc/devel/p5-Net-Netmask/distinfo:1.10 pkgsrc/devel/p5-Net-Netmask/distinfo:1.11
--- pkgsrc/devel/p5-Net-Netmask/distinfo:1.10 Sun Jul 29 06:28:52 2018
+++ pkgsrc/devel/p5-Net-Netmask/distinfo Mon Jul 5 13:26:55 2021
@@ -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