aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2002-08-16 08:27:47 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2002-08-16 08:27:47 +0000
commit7335406366ec0956c34a630f30dda3e7e86e03a5 (patch)
tree5aa3b752dfb5c54b900f48076292c829d5170f73 /misc
parent0a4630d3ee9caee806acdd3da0c95e03c611a683 (diff)
downloadports-7335406366ec0956c34a630f30dda3e7e86e03a5.tar.gz
ports-7335406366ec0956c34a630f30dda3e7e86e03a5.zip
new port: misc/p5-GeoIP 0.26
This module a simple file-based database. This database simply contains IP blocks as keys, and countries as values. The data contains all public IP addresses and should be more complete and accurate than reverse DNS lookups.
Notes
Notes: svn path=/head/; revision=64571
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/p5-Geo-IP/Makefile24
-rw-r--r--misc/p5-Geo-IP/distinfo1
-rw-r--r--misc/p5-Geo-IP/pkg-comment1
-rw-r--r--misc/p5-Geo-IP/pkg-descr17
-rw-r--r--misc/p5-Geo-IP/pkg-plist9
6 files changed, 53 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 7bdc670dae47..ad0a568b4757 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -224,6 +224,7 @@
SUBDIR += p5-Finance-Currency-Convert
SUBDIR += p5-Finance-Quote
SUBDIR += p5-Finance-QuoteHist
+ SUBDIR += p5-Geo-IP
SUBDIR += p5-Geo-Weather
SUBDIR += p5-I18N-Charset
SUBDIR += p5-I18N-LangTags
diff --git a/misc/p5-Geo-IP/Makefile b/misc/p5-Geo-IP/Makefile
new file mode 100644
index 000000000000..a4cab041a3ad
--- /dev/null
+++ b/misc/p5-Geo-IP/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-Geo-IP
+# Date created: 10 August 2002
+# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Geo-IP
+PORTVERSION= 0.26
+CATEGORIES= misc
+MASTER_SITES= http://maxmind.com/download/geoip/api/perl/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= leeym@FreeBSD.org
+
+LIB_DEPENDS= GeoIP.1:${PORTSDIR}/misc/GeoIP
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS= LIBS='-L${PREFIX}/lib' INC='-I${PREFIX}/include'
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Geo::Mirror.3 Geo::IP.3
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Geo-IP/distinfo b/misc/p5-Geo-IP/distinfo
new file mode 100644
index 000000000000..a208d2fa2f4c
--- /dev/null
+++ b/misc/p5-Geo-IP/distinfo
@@ -0,0 +1 @@
+MD5 (Geo-IP-0.26.tar.gz) = 233ee112eec0139e952978c9780bc209
diff --git a/misc/p5-Geo-IP/pkg-comment b/misc/p5-Geo-IP/pkg-comment
new file mode 100644
index 000000000000..c0ffc2f8436a
--- /dev/null
+++ b/misc/p5-Geo-IP/pkg-comment
@@ -0,0 +1 @@
+Gets country name by IP or hostname
diff --git a/misc/p5-Geo-IP/pkg-descr b/misc/p5-Geo-IP/pkg-descr
new file mode 100644
index 000000000000..2319f3c4ef94
--- /dev/null
+++ b/misc/p5-Geo-IP/pkg-descr
@@ -0,0 +1,17 @@
+This module a simple file-based database. This database simply contains
+IP blocks as keys, and countries as values. The data contains all
+public IP addresses and should be more
+complete and accurate than reverse DNS lookups.
+
+This module can be used to automatically select the geographically closest
+mirror, or to analyze your web server logs to determine the countries of
+your visiters.
+
+To install, see the INSTALL file.
+
+Copyright (c) 2002, MaxMind.com
+
+All rights reserved. This package is free software; you can redistribute it
+and/or modify it under the same terms as Perl itself.
+
+WWW: http://maxmind.com/geoip/api/perl.shtml
diff --git a/misc/p5-Geo-IP/pkg-plist b/misc/p5-Geo-IP/pkg-plist
new file mode 100644
index 000000000000..2e669d5a5b33
--- /dev/null
+++ b/misc/p5-Geo-IP/pkg-plist
@@ -0,0 +1,9 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/Mirror.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/IP.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/IP.so
+lib/perllocal.pod
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo