Newer
Older
NetAddr-IP / Lite / Changes
@Michael Robinton Michael Robinton on 21 Oct 2014 5 KB Import of MIKER/NetAddr-IP-4.020 from CPAN.
Revision history for Perl extension NetAddr::IP::Lite

1.13  Tue Dec  9 16:00:35 PST 2008
	added missing regexp to classify arguments as BCD numbers,
	apparently this has been missing from NetAddr::IP::Lite 
	since the first release. 
	Thanks to Carlos Vicente cvicente@cpan.org for reporting this bug.

	revised UtilPP v1.7 to work around perl 5.8.4
	failures with certain @_ operations of goto &sub...
	see perl bug [ 23429]. Unfortunately, perl-5.8.4 is
	the distribution of choice for many solaris boxes

1.12  Sun Nov 23 19:32:59 PST 2008
	repaired missing sub Zeros

	added minus (-) overloading to allow the subtraction
	of two NetAddr::IP objects to get the difference between
	the object->{addr}'s as a numeric value
	Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
	for the initial code and inspiration for this enhancement

1.11  Sat Nov  1 15:13:48 PST 2008
	add test for characters not allowed by rfc952 before
	the call to gethostbyname in sub new() for those people
	that insist on using deprecated functionality :aton
	and OS's that fail to notice calls to gethostbyname
	with binary arguments

1.10  Wed Oct 22 14:54:12 PDT 2008
	add new no octal method for improperly formatted ipV4 addresses

	In Util.pm v1.22, eliminated dependence on PL_sawampersand
	thanks to Mark Martinec <Mark.Martinec@ijs.si>
	for spotting this and submitting a patch.

	In Util.pm v1.22, force -noxs mode for Win32

	In Util.pm v1.22, use autoconf to configure 'C' build

1.09  Thu Oct 16 19:35:33 PDT 2008
	again... clear build bug for Win32 in Util.pm v 1.21

1.08  Sat Sep 27 12:27:28 PDT 2008
    in Util v0.19
	updated test for ENDIANess in siteconf

	add test in inet_aton to detect overange IP dot quad values
	missed by some broken Socket implementations
	i.e. 256.1.1.1

1.07  Tue Sep  2 19:09:57 PDT 2008
	in the off chance that NetAddr::IP::Lite objects are created
	and the caller later loads NetAddr::IP and expects to use
	those objects, let the AUTOLOAD routine find and redirect
	NetAddr::IP::Lite method and subroutine calls to NetAddr::IP.

	updated t/v4-wnew.t so that non-existent
	domains are "really" not there

1.06  Sat Jun  7 12:57:18 PDT 2008
	add method "new_from_aton" and related documentation

	comparisons of the form <, >, <=, >=
		10.0.0.0/24 {operator} 10.0.0.0/16
	return now return the comparison of the cidr value
	when the address portion is equal.
NOTE:	this comparison returns the comparison of the NUMERIC
	value of the CIDR. This produces the counter intuitive result
	that /24 > /16. There is logic to this, really! For proper
	operation of commands like "Compact" and "Coalesce", lists of
	netaddr objects must sort in ascending order. However, this
	conflicts with the requirement for larger netblocks to sort
	FIRST so as to include smaller ones. This logic extends to
	any requirement for a sort of netaddr objects. It should be
	further noted that the mixing of netaddr objects with varying
	IP addresses and CIDR allocations can lead to unexpected
	results since the comparisons done first on the IP portion
	and then on the CIDR portion. The documentation has been
	updated appropriately.
	Thanks to Peter DeVries for spotting this discrepancy

1.05  undocumented
1.04  undocumented

1.03  Sun Aug  6 10:48:25 PDT 2006
	update Util.pm v0.18 documentation

1.02  Fri Aug  4 14:14:16 PDT 2006
	$isV6 global converted to a lexical variable within sub "_xnew"
	$Class global removed and replaced by calls to UNIVERSAL::isa
	Thanks to julian@mehnle.net for spotting problems related to
	using the Lite.pm with mod_perl

1.01  Thu Jul  6 10:46:48 PDT 2006
	update v4-wnew.t to warn user of possible long wait
	update Util.pm v0.17 -- see Changes in that distro

1.00  Mon Jun 26 13:34:00 PDT 2006
	changed behavior of ->nth and ->num
	to 'exactly' conform to the documentation

	add :old_nth tag to preserve old behavior
	and update tests to check both

0.12  Sun Jun 25 16:13:00 PDT 2006
	imported missing 'bcd2bin'

	fixed Util->new() issues with long digit strings
	->new('::fffff') and non hex digits ->new('::foo').
	Thanks to Radoslaw Zielinski <radek42@gmail.com>
	for spotting these 3 bugs

0.11  Wed Jun 14 14:53:21 PDT 2006
	add 'sub new6' and related functionality to methods
	that print or return v4/6 information or text.

	add $self->{isv6} flag for hint to ipV6 status

	corrected bug in sub num that miscalculated the number
	of IP's in a net for /31 /32

0.10  Tue Jun 13 14:07:46 PDT 2006
	bring 'sub new' into full compliance with NetAddr::IP,
	correct compatibility with for ==,>,<,=>,>=,<=>,cmp
	and update documentation to reflect actual implementation

	add 'copy' function that return a completely new object

	export (Zero Ones V4mask V4net)

	update Util.pm v0.15 so shiftleft returns original
	argument when the shift count is zero or undefined

0.09  Tue Jun  6 08:37:01 PDT 2006
	update Util/Makefile.PM to check for link libraries
	that ExtUtils::MakeMaker does not find properly

	remove 'use warnings' from Lite.pm for backwards
	compatibility with older perl versions

0.08  Tue Jun  6 08:33:11 PDT 2006
	update Util.xs for build on windoze

0.07  Tue Jun  6 08:21:12 PDT 2006
	update NetAddr::IP::Util to v0.12

0.06  Mon Jun  5 21:34:28 PDT 2006
	fix Sparc problems in Util v0.11
    1)	add workaround for OS's that do not have inet_aton

    2)	add workaround for compilers that do not understand
	#if MACRO1 == MACRO2

0.05  Sun May  7 18:06:43 PDT 2006
	updated UtilPP.pm v0.06 to remove unnecessary pack(unpack) sequences
	to speed up ipv6->4, ipv4->6 conversions

0.04  Fri Apr 28 17:36:28 PDT 2006
	left Util/Makefile.pl out of the top level distro

0.03  Fri Apr 28 17:26:51 PDT 2006
	oops! left prerequisite Util 0.08 in the Makefile
	when it is include in this distro

0.02  Fri Apr 28 16:11:00 PDT 2006
	update Lite.pm to accept ->new('addr/mask')
	where addr and mask are both in IP address format

	add test for above t/netaddr.t

0.01  Wed Apr 26 19:03:18 PDT 2006
	initial release