aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-02-01 11:24:56 +0800
committerclsung <clsung@FreeBSD.org>2007-02-01 11:24:56 +0800
commit011e2015ac2d0ac1a88001a1c84e17951336edff (patch)
tree4d59804638baf4536b9fce9238da40099cbc963d /net
parente8cba9559938186c1aa7ef89fec79e8e5bad69e0 (diff)
downloadfreebsd-ports-gnome-011e2015ac2d0ac1a88001a1c84e17951336edff.tar.gz
freebsd-ports-gnome-011e2015ac2d0ac1a88001a1c84e17951336edff.tar.zst
freebsd-ports-gnome-011e2015ac2d0ac1a88001a1c84e17951336edff.zip
Add p5-Geo-IP-PurePerl 1.18, look up country by IP Address.
PR: ports/108358 Submitted by: Joe Horn <joehorn at gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Geo-IP-PurePerl/Makefile22
-rw-r--r--net/p5-Geo-IP-PurePerl/distinfo3
-rw-r--r--net/p5-Geo-IP-PurePerl/pkg-descr10
-rw-r--r--net/p5-Geo-IP-PurePerl/pkg-plist8
5 files changed, 44 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e87acd115597..8cbcb8d25f06 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -414,6 +414,7 @@
SUBDIR += p5-Filesys-SmbClient
SUBDIR += p5-Frontier-RPC
SUBDIR += p5-Geo-IP
+ SUBDIR += p5-Geo-IP-PurePerl
SUBDIR += p5-Geo-IPfree
SUBDIR += p5-Gopher-Server
SUBDIR += p5-IO-INET6
diff --git a/net/p5-Geo-IP-PurePerl/Makefile b/net/p5-Geo-IP-PurePerl/Makefile
new file mode 100644
index 000000000000..8c5a79f0a54e
--- /dev/null
+++ b/net/p5-Geo-IP-PurePerl/Makefile
@@ -0,0 +1,22 @@
+# Ports collection Makefile for: p5-Geo-IP-PurePerl
+# Date created: 26 Jan, 2006
+# Whom: Joe Horn <joehorn@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= Geo-IP-PurePerl
+PORTVERSION= 1.18
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Geo
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Look up country by IP Address
+
+PERL_CONFIGURE= yes
+
+MAN1= geoip-lookup.1
+MAN3= Geo::IP::PurePerl.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Geo-IP-PurePerl/distinfo b/net/p5-Geo-IP-PurePerl/distinfo
new file mode 100644
index 000000000000..7d4857265aaf
--- /dev/null
+++ b/net/p5-Geo-IP-PurePerl/distinfo
@@ -0,0 +1,3 @@
+MD5 (Geo-IP-PurePerl-1.18.tar.gz) = 6ee8bfa7f82904cf80fc0094ef526434
+SHA256 (Geo-IP-PurePerl-1.18.tar.gz) = f8402df89647a8c5c1972646ec536ffb63a7fb04a8370731f8d70810f20c9ad4
+SIZE (Geo-IP-PurePerl-1.18.tar.gz) = 18651
diff --git a/net/p5-Geo-IP-PurePerl/pkg-descr b/net/p5-Geo-IP-PurePerl/pkg-descr
new file mode 100644
index 000000000000..927afc5e0505
--- /dev/null
+++ b/net/p5-Geo-IP-PurePerl/pkg-descr
@@ -0,0 +1,10 @@
+Geo::IP::PurePerl uses a file based database. This database simply contains
+IP blocks as keys, and countries as values. This database is more complete
+and accurate than reverse DNS lookups.
+
+Geo::IP::PurePerl can be used to automatically select the geographically
+closest mirror, to analyze your web server logs to determine the countries
+of your visiters, for credit card fraud detection, and for software export
+controls.
+
+WWW: http://search.cpan.org/dist/Geo-IP-PurePerl/
diff --git a/net/p5-Geo-IP-PurePerl/pkg-plist b/net/p5-Geo-IP-PurePerl/pkg-plist
new file mode 100644
index 000000000000..1f52d4938e03
--- /dev/null
+++ b/net/p5-Geo-IP-PurePerl/pkg-plist
@@ -0,0 +1,8 @@
+bin/geoip-lookup
+%%SITE_PERL%%/Geo/IP/PurePerl.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/PurePerl/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/PurePerl/
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/
+@dirrm %%SITE_PERL%%/Geo/IP/
+@dirrmtry %%SITE_PERL%%/Geo/