aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-03-28 19:52:56 +0800
committertobez <tobez@FreeBSD.org>2006-03-28 19:52:56 +0800
commit68a539d3ebe3ad9f71e1a4fc0b4a9ecbd5d60133 (patch)
tree9f73c2db143e4ac8677c22a0fcb9baf29bf3f68f /net-mgmt
parentc307ddc967e38eacbbf05ae902a0db80dae5b230 (diff)
downloadfreebsd-ports-gnome-68a539d3ebe3ad9f71e1a4fc0b4a9ecbd5d60133.tar.gz
freebsd-ports-gnome-68a539d3ebe3ad9f71e1a4fc0b4a9ecbd5d60133.tar.zst
freebsd-ports-gnome-68a539d3ebe3ad9f71e1a4fc0b4a9ecbd5d60133.zip
Add net-mgmt/p5-Net-IP-Match-XS 0.03, a Perl module to efficiently match
IP addresses against IP ranges.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-Net-IP-Match-XS/Makefile28
-rw-r--r--net-mgmt/p5-Net-IP-Match-XS/distinfo3
-rw-r--r--net-mgmt/p5-Net-IP-Match-XS/pkg-descr7
-rw-r--r--net-mgmt/p5-Net-IP-Match-XS/pkg-plist11
5 files changed, 50 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index aa29a0e83ab9..42b897ea4745 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -126,6 +126,7 @@
SUBDIR += p5-NSNMP
SUBDIR += p5-Net-CIDR
SUBDIR += p5-Net-IP
+ SUBDIR += p5-Net-IP-Match-XS
SUBDIR += p5-Net-IPv4Addr
SUBDIR += p5-Net-IPv6Addr
SUBDIR += p5-Net-Netmask
diff --git a/net-mgmt/p5-Net-IP-Match-XS/Makefile b/net-mgmt/p5-Net-IP-Match-XS/Makefile
new file mode 100644
index 000000000000..07f184b22b03
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Match-XS/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: net-mgmt/p5-Net-IP-Match-XS
+# Date created: 24 February 2006
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-IP-Match-XS
+PORTVERSION= 0.03
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Efficiently match IP addresses against IP ranges
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::IP::Match::XS.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-Match-XS/distinfo b/net-mgmt/p5-Net-IP-Match-XS/distinfo
new file mode 100644
index 000000000000..dc9465c00dcd
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Match-XS/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-IP-Match-XS-0.03.tar.gz) = 4f6284bb4c27c74737091ecb4f5b4f51
+SHA256 (Net-IP-Match-XS-0.03.tar.gz) = e0b287501fed5221f5a8028348021afbb7cb0fd6ea2dc7c5270c8bc86111b40c
+SIZE (Net-IP-Match-XS-0.03.tar.gz) = 31912
diff --git a/net-mgmt/p5-Net-IP-Match-XS/pkg-descr b/net-mgmt/p5-Net-IP-Match-XS/pkg-descr
new file mode 100644
index 000000000000..e23482f6492a
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Match-XS/pkg-descr
@@ -0,0 +1,7 @@
+The Net::IP::Match::XS module efficiently matches IP addresses against
+IP ranges. The unconditionally exported subroutine 'match_ip'
+determines if the ip to match ( first argument ) matches any of the
+subsequent ip arguments. Match arguments may be absolute quads, as
+'127.0.0.1', or contain mask bits as '111.245.76.248/29'.
+
+WWW: http://search.cpan.org/dist/Net-IP-Match-XS/
diff --git a/net-mgmt/p5-Net-IP-Match-XS/pkg-plist b/net-mgmt/p5-Net-IP-Match-XS/pkg-plist
new file mode 100644
index 000000000000..09cbd2e7d227
--- /dev/null
+++ b/net-mgmt/p5-Net-IP-Match-XS/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/IP/Match/XS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Match/XS/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Match/XS/XS.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Match/XS/XS.so
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Match/XS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP/Match
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net/IP/Match
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net/IP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net