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.
This commit is contained in:
Jeroen Ruigrok van der Werven 2001-04-02 20:02:38 +00:00
parent 88ff4cf66b
commit b1d60b9255
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40767
11 changed files with 89 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252

View File

@ -0,0 +1 @@
Tie::NetAddr::IP - Implements a Hash where the key is a subnet

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252

View File

@ -0,0 +1 @@
Tie::NetAddr::IP - Implements a Hash where the key is a subnet

View File

@ -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>

View File

@ -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