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:
parent
88ff4cf66b
commit
b1d60b9255
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40767
25
net-mgmt/p5-Tie-NetAddr-IP/Makefile
Normal file
25
net-mgmt/p5-Tie-NetAddr-IP/Makefile
Normal 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>
|
1
net-mgmt/p5-Tie-NetAddr-IP/distinfo
Normal file
1
net-mgmt/p5-Tie-NetAddr-IP/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252
|
1
net-mgmt/p5-Tie-NetAddr-IP/pkg-comment
Normal file
1
net-mgmt/p5-Tie-NetAddr-IP/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Tie::NetAddr::IP - Implements a Hash where the key is a subnet
|
9
net-mgmt/p5-Tie-NetAddr-IP/pkg-descr
Normal file
9
net-mgmt/p5-Tie-NetAddr-IP/pkg-descr
Normal 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>
|
8
net-mgmt/p5-Tie-NetAddr-IP/pkg-plist
Normal file
8
net-mgmt/p5-Tie-NetAddr-IP/pkg-plist
Normal 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
|
@ -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
|
||||
|
25
net/p5-Tie-NetAddr-IP/Makefile
Normal file
25
net/p5-Tie-NetAddr-IP/Makefile
Normal 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>
|
1
net/p5-Tie-NetAddr-IP/distinfo
Normal file
1
net/p5-Tie-NetAddr-IP/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252
|
1
net/p5-Tie-NetAddr-IP/pkg-comment
Normal file
1
net/p5-Tie-NetAddr-IP/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Tie::NetAddr::IP - Implements a Hash where the key is a subnet
|
9
net/p5-Tie-NetAddr-IP/pkg-descr
Normal file
9
net/p5-Tie-NetAddr-IP/pkg-descr
Normal 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>
|
8
net/p5-Tie-NetAddr-IP/pkg-plist
Normal file
8
net/p5-Tie-NetAddr-IP/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user