summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-04-02 20:02:38 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-04-02 20:02:38 +0000
commitb1d60b9255ec2b09464dd75f6fe06427756899ff (patch)
tree1b27868ce83dde7df012ffc64a8c873a95175f7f
parentUpgrade to 0.99c-pre3, because gd doesn't support gif long time ago, (diff)
Add p5-Tie-NetAddr-IP:
This module overloads hashes so that the key can be a subnet as in NetAddr::IP. When looking values up, an interpretation will be made to find the given key within the subnets specified in the hash. Care must be taken, as only strings that can be parsed as an IP address by NetAddr::IP can be used as keys for this hash.
Notes
Notes: svn path=/head/; revision=40767
-rw-r--r--net-mgmt/p5-Tie-NetAddr-IP/Makefile25
-rw-r--r--net-mgmt/p5-Tie-NetAddr-IP/distinfo1
-rw-r--r--net-mgmt/p5-Tie-NetAddr-IP/pkg-comment1
-rw-r--r--net-mgmt/p5-Tie-NetAddr-IP/pkg-descr9
-rw-r--r--net-mgmt/p5-Tie-NetAddr-IP/pkg-plist8
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Tie-NetAddr-IP/Makefile25
-rw-r--r--net/p5-Tie-NetAddr-IP/distinfo1
-rw-r--r--net/p5-Tie-NetAddr-IP/pkg-comment1
-rw-r--r--net/p5-Tie-NetAddr-IP/pkg-descr9
-rw-r--r--net/p5-Tie-NetAddr-IP/pkg-plist8
11 files changed, 89 insertions, 0 deletions
diff --git a/net-mgmt/p5-Tie-NetAddr-IP/Makefile b/net-mgmt/p5-Tie-NetAddr-IP/Makefile
new file mode 100644
index 000000000000..f8d9557bd401
--- /dev/null
+++ b/net-mgmt/p5-Tie-NetAddr-IP/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: net/p5-Tie-NetAddr-IP
+# Date created: 29 March 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tie-NetAddr-IP
+PORTVERSION= 1.00
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Tie
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/NetAddr/IP.pm:${PORTSDIR}/net/p5-NetAddr-IP
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Tie::NetAddr::IP.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Tie-NetAddr-IP/distinfo b/net-mgmt/p5-Tie-NetAddr-IP/distinfo
new file mode 100644
index 000000000000..5b81be082636
--- /dev/null
+++ b/net-mgmt/p5-Tie-NetAddr-IP/distinfo
@@ -0,0 +1 @@
+MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252
diff --git a/net-mgmt/p5-Tie-NetAddr-IP/pkg-comment b/net-mgmt/p5-Tie-NetAddr-IP/pkg-comment
new file mode 100644
index 000000000000..0b23d2661afb
--- /dev/null
+++ b/net-mgmt/p5-Tie-NetAddr-IP/pkg-comment
@@ -0,0 +1 @@
+Tie::NetAddr::IP - Implements a Hash where the key is a subnet
diff --git a/net-mgmt/p5-Tie-NetAddr-IP/pkg-descr b/net-mgmt/p5-Tie-NetAddr-IP/pkg-descr
new file mode 100644
index 000000000000..ab51574b9134
--- /dev/null
+++ b/net-mgmt/p5-Tie-NetAddr-IP/pkg-descr
@@ -0,0 +1,9 @@
+This module overloads hashes so that the key can be a subnet as in
+NetAddr::IP. When looking values up, an interpretation will be made to
+find the given key within the subnets specified in the hash.
+
+Care must be taken, as only strings that can be parsed as an IP address
+by NetAddr::IP can be used as keys for this hash.
+
+-Anton
+<tobez@tobez.org>
diff --git a/net-mgmt/p5-Tie-NetAddr-IP/pkg-plist b/net-mgmt/p5-Tie-NetAddr-IP/pkg-plist
new file mode 100644
index 000000000000..c3af0ea294f7
--- /dev/null
+++ b/net-mgmt/p5-Tie-NetAddr-IP/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr/IP/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr/sample.pl
+lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr/IP.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr/IP
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie 2>/dev/null || true
diff --git a/net/Makefile b/net/Makefile
index 6272f9b95769..1a8f85bae002 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -238,6 +238,7 @@
SUBDIR += p5-SOAP
SUBDIR += p5-Socket6
SUBDIR += p5-Socks
+ SUBDIR += p5-Tie-NetAddr-IP
SUBDIR += p5-URI
SUBDIR += p5-perl-ldap
SUBDIR += pathchar
diff --git a/net/p5-Tie-NetAddr-IP/Makefile b/net/p5-Tie-NetAddr-IP/Makefile
new file mode 100644
index 000000000000..f8d9557bd401
--- /dev/null
+++ b/net/p5-Tie-NetAddr-IP/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: net/p5-Tie-NetAddr-IP
+# Date created: 29 March 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tie-NetAddr-IP
+PORTVERSION= 1.00
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Tie
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/NetAddr/IP.pm:${PORTSDIR}/net/p5-NetAddr-IP
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Tie::NetAddr::IP.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/net/p5-Tie-NetAddr-IP/distinfo b/net/p5-Tie-NetAddr-IP/distinfo
new file mode 100644
index 000000000000..5b81be082636
--- /dev/null
+++ b/net/p5-Tie-NetAddr-IP/distinfo
@@ -0,0 +1 @@
+MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252
diff --git a/net/p5-Tie-NetAddr-IP/pkg-comment b/net/p5-Tie-NetAddr-IP/pkg-comment
new file mode 100644
index 000000000000..0b23d2661afb
--- /dev/null
+++ b/net/p5-Tie-NetAddr-IP/pkg-comment
@@ -0,0 +1 @@
+Tie::NetAddr::IP - Implements a Hash where the key is a subnet
diff --git a/net/p5-Tie-NetAddr-IP/pkg-descr b/net/p5-Tie-NetAddr-IP/pkg-descr
new file mode 100644
index 000000000000..ab51574b9134
--- /dev/null
+++ b/net/p5-Tie-NetAddr-IP/pkg-descr
@@ -0,0 +1,9 @@
+This module overloads hashes so that the key can be a subnet as in
+NetAddr::IP. When looking values up, an interpretation will be made to
+find the given key within the subnets specified in the hash.
+
+Care must be taken, as only strings that can be parsed as an IP address
+by NetAddr::IP can be used as keys for this hash.
+
+-Anton
+<tobez@tobez.org>
diff --git a/net/p5-Tie-NetAddr-IP/pkg-plist b/net/p5-Tie-NetAddr-IP/pkg-plist
new file mode 100644
index 000000000000..c3af0ea294f7
--- /dev/null
+++ b/net/p5-Tie-NetAddr-IP/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr/IP/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr/sample.pl
+lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr/IP.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr/IP
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie 2>/dev/null || true