summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-10-31 16:17:11 +0000
committerseb <seb@pkgsrc.org>2004-10-31 16:17:11 +0000
commit17493f3038c931e562f7a79f32d875dc1dd5403f (patch)
tree78fd8a9c797cdd0a3e9a93a3b4f51b74f1bd7fae /net
parentcb952d817e0c31010d540660824a701b09a2b03b (diff)
downloadpkgsrc-17493f3038c931e562f7a79f32d875dc1dd5403f.tar.gz
Initial import of p5-NetAddr-IP version 3.21 in the NetBSD Packages
Collection. This Perl5 module is designed as a help for managing (ranges of) IP addresses. It includes efficient implementations for most common tasks done to subnets or ranges of IP addresses, namely verifying if an address is within a subnet, comparing, looping, splitting subnets into longer prefixes, compacting addresses to the shortest prefixes, etc. Both IPv4 and IPv6 addresses are supported.
Diffstat (limited to 'net')
-rw-r--r--net/p5-NetAddr-IP/DESCR7
-rw-r--r--net/p5-NetAddr-IP/Makefile23
-rw-r--r--net/p5-NetAddr-IP/PLIST1
-rw-r--r--net/p5-NetAddr-IP/distinfo4
4 files changed, 35 insertions, 0 deletions
diff --git a/net/p5-NetAddr-IP/DESCR b/net/p5-NetAddr-IP/DESCR
new file mode 100644
index 00000000000..81615be1e83
--- /dev/null
+++ b/net/p5-NetAddr-IP/DESCR
@@ -0,0 +1,7 @@
+This Perl5 module is designed as a help for managing (ranges
+of) IP addresses. It includes efficient implementations for most
+common tasks done to subnets or ranges of IP addresses, namely
+verifying if an address is within a subnet, comparing, looping,
+splitting subnets into longer prefixes, compacting addresses to
+the shortest prefixes, etc. Both IPv4 and IPv6 addresses are
+supported.
diff --git a/net/p5-NetAddr-IP/Makefile b/net/p5-NetAddr-IP/Makefile
new file mode 100644
index 00000000000..abe690520b9
--- /dev/null
+++ b/net/p5-NetAddr-IP/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 16:17:11 seb Exp $
+#
+
+DISTNAME= NetAddr-IP-3.21
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5nai
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=NetAddr/}
+
+MAINTAINER= seb@NetBSD.org
+COMMENT= Perl5 module for managing IP addresses
+
+# This is for the 'test' target
+BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
+
+PERL5_REQD= 5.6.0
+USE_BUILDLINK3= YES
+USE_LANGUAGES= # empty
+
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/NetAddr/IP/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-NetAddr-IP/PLIST b/net/p5-NetAddr-IP/PLIST
new file mode 100644
index 00000000000..10093f699d3
--- /dev/null
+++ b/net/p5-NetAddr-IP/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/31 16:17:11 seb Exp $
diff --git a/net/p5-NetAddr-IP/distinfo b/net/p5-NetAddr-IP/distinfo
new file mode 100644
index 00000000000..26131d2d5db
--- /dev/null
+++ b/net/p5-NetAddr-IP/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/31 16:17:11 seb Exp $
+
+SHA1 (NetAddr-IP-3.21.tar.gz) = 9d97edde44dd52f9b77c655eedcdd3d02686cf0f
+Size (NetAddr-IP-3.21.tar.gz) = 33414 bytes