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
commit0ae1456fc028490abf867e0b77f05d8006f4f841 (patch)
tree78fd8a9c797cdd0a3e9a93a3b4f51b74f1bd7fae /net
parent4505c0f065bdcc431993f689c7a5cb4f4f215180 (diff)
downloadpkgsrc-0ae1456fc028490abf867e0b77f05d8006f4f841.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