summaryrefslogtreecommitdiff
path: root/devel/p5-Net-Netmask
AgeCommit message (Collapse)AuthorFilesLines
2004-11-27Update to 1.9011 (addresses PR 28429):wiz2-5/+5
= 2004/05/31 1.9011 Some speed improvements from Todd R. Eigenschink = 2004/04/12 1.9009 Fix to netmasks.t for compatability with older perls = 2004/04/06 1.9008 Added cidrs2inverse() which will find the gaps in a list of blocks. Based on a request from Howard Jones the tag() method was added. It allows you to store your own data in a Net::Netmask object. (Of course, you could have anyway as long as you didn't use the keys 'IBASE' or 'BITS') Long ago, Alexandros M Manoussakis reported a bug that findAllNetblock would often return the same block multiple times. Fixed. Based on requests from Alexandros M Manoussakis and Lamprecht Andreas the undefined behavior for overlapping blocks with cidrs2contiglists is no longer. Such blocks will be in the same sublist. Based on a requests from Tom Rudnick and Anthony Pardini new function was added: cidrs2cidrs(). cidrs2cidrs will condense a set of netblocks by combining blocks together that make up larger blocks. Anthony Pardini, Frank Tegtmeyer and George Walker pointed me to a bug with the contains() method. Fixed.
2004-04-25Bl3ify and enable pkgviews installation.minskim1-2/+4
2004-01-09change from CATEGORIES net to devel.grant1-2/+2
while this module does relate to network address manipulation, it's really a development package with which to build applications, so devel is more appropriate.
2004-01-09import p5-Net-Netmask from pkgsrc-wip, initially by Charlie Allom,grant4-0/+33
wich some cleanup by me. Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface. Nearly all functions are methods that operate on a Net::Netmask object. There are methods that provide the nearly all bits of information about a network block that you might want. There are also functions to put a network block into a table and then later lookup network blocks by IP address in that table. There are functions to turn a IP address range into a list of CIDR blocks. There are functions to turn a list of CIDR blocks into a list of IP addresses. There is a function for sorting by text IP address.