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 import p5-Net-Netmask from pkgsrc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1015182e53b8
branches:  trunk
changeset: 465957:1015182e53b8
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Jan 09 01:46:19 2004 +0000

description:
import p5-Net-Netmask from pkgsrc-wip, initially by Charlie Allom,
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.

diffstat:

 devel/p5-Net-Netmask/DESCR    |  13 +++++++++++++
 devel/p5-Net-Netmask/Makefile |  15 +++++++++++++++
 devel/p5-Net-Netmask/PLIST    |   1 +
 devel/p5-Net-Netmask/distinfo |   4 ++++
 4 files changed, 33 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 4cbb6472956a -r 1015182e53b8 devel/p5-Net-Netmask/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Net-Netmask/DESCR        Fri Jan 09 01:46:19 2004 +0000
@@ -0,0 +1,13 @@
+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.
diff -r 4cbb6472956a -r 1015182e53b8 devel/p5-Net-Netmask/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Net-Netmask/Makefile     Fri Jan 09 01:46:19 2004 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/09 01:46:19 grant Exp $
+
+DISTNAME=      Net-Netmask-1.9007
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    net perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Net/}
+
+MAINTAINER=    charlie%rubberduck.com@localhost
+COMMENT=       Perl5 module to parse and manipulate IP network blocks
+
+USE_BUILDLINK2=        YES
+PERL5_PACKLIST=        ${PERL5_SITEARCH}/auto/Net/Netmask/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4cbb6472956a -r 1015182e53b8 devel/p5-Net-Netmask/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Net-Netmask/PLIST        Fri Jan 09 01:46:19 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/09 01:46:19 grant Exp $
diff -r 4cbb6472956a -r 1015182e53b8 devel/p5-Net-Netmask/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Net-Netmask/distinfo     Fri Jan 09 01:46:19 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/09 01:46:19 grant Exp $
+
+SHA1 (Net-Netmask-1.9007.tar.gz) = 3ad37139c3a77e27952b2d14cd0273e2801e4814
+Size (Net-Netmask-1.9007.tar.gz) = 17140 bytes



Home | Main Index | Thread Index | Old Index