summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2006-03-28 11:57:15 +0000
committerAnton Berezin <tobez@FreeBSD.org>2006-03-28 11:57:15 +0000
commita0e73de3811fd9ee49df7474bef50946a1aafb63 (patch)
tree76ebcd35c3002e1370967ee0ee1afc1cf131add0
parentAdd net-mgmt/p5-Net-IP-Match-XS 0.03, a Perl module to efficiently match (diff)
Add net-mgtm/p5-Net-IP-Resolver 0.01, a Perl module to resolve IPs to a
particular network.
Notes
Notes: svn path=/head/; revision=158315
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-Net-IP-Resolver/Makefile32
-rw-r--r--net-mgmt/p5-Net-IP-Resolver/distinfo3
-rw-r--r--net-mgmt/p5-Net-IP-Resolver/pkg-descr5
-rw-r--r--net-mgmt/p5-Net-IP-Resolver/pkg-plist7
5 files changed, 48 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 42b897ea4745..704956762bf4 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -127,6 +127,7 @@
SUBDIR += p5-Net-CIDR
SUBDIR += p5-Net-IP
SUBDIR += p5-Net-IP-Match-XS
+ SUBDIR += p5-Net-IP-Resolver
SUBDIR += p5-Net-IPv4Addr
SUBDIR += p5-Net-IPv6Addr
SUBDIR += p5-Net-Netmask
diff --git a/net-mgmt/p5-Net-IP-Resolver/Makefile b/net-mgmt/p5-Net-IP-Resolver/Makefile
new file mode 100644
index 000000000000..c3763917dace
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Resolver/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: net-mgmt/p5-Net-IP-Resolver
+# Date created: 24 February 2006
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-IP-Resolver
+PORTVERSION= 0.01
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Net::IP::Resolver - Resolve IPs to a particular network
+
+BUILD_DEPENDS= p5-Net-IP-Match-XS>=0.03:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS \
+ p5-ExtUtils-AutoInstall>0:${PORTSDIR}/devel/p5-ExtUtils-AutoInstall
+RUN_DEPENDS= p5-Net-IP-Match-XS>=0.03:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::IP::Resolver.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.1 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/p5-Net-IP-Resolver/distinfo b/net-mgmt/p5-Net-IP-Resolver/distinfo
new file mode 100644
index 000000000000..efa2cb467104
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Resolver/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-IP-Resolver-0.01.tar.gz) = c321db65a26367a51127a6e570e74a75
+SHA256 (Net-IP-Resolver-0.01.tar.gz) = 0870b7a3c1bd053ae1102e73321b1206ab568b4e602eaa230556917428844de4
+SIZE (Net-IP-Resolver-0.01.tar.gz) = 17728
diff --git a/net-mgmt/p5-Net-IP-Resolver/pkg-descr b/net-mgmt/p5-Net-IP-Resolver/pkg-descr
new file mode 100644
index 000000000000..152053801dfa
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Resolver/pkg-descr
@@ -0,0 +1,5 @@
+Net::IP::Resolver provides a mechanism for registering a number of
+different networks (specified by a set of ip ranges), and then finding
+the network for a given IP based on this specification.
+
+WWW: http://search.cpan.org/dist/Net-IP-Resolver/
diff --git a/net-mgmt/p5-Net-IP-Resolver/pkg-plist b/net-mgmt/p5-Net-IP-Resolver/pkg-plist
new file mode 100644
index 000000000000..a3ec598eafc4
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Resolver/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Net/IP/Resolver.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Resolver/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Resolver
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/IP
+@dirrmtry %%SITE_PERL%%/Net