summaryrefslogtreecommitdiff
path: root/net/p5-Geo-IP
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-07-03 00:59:03 +0000
committerminskim <minskim@pkgsrc.org>2004-07-03 00:59:03 +0000
commit2a81fdb922ac0bc145e86cb089c3be8adf1c50d5 (patch)
tree81ff8584328bc23ff63e8b85f51b1fcb120b5f25 /net/p5-Geo-IP
parent97123bdc36b7e234793acd16640b7197e243f781 (diff)
downloadpkgsrc-2a81fdb922ac0bc145e86cb089c3be8adf1c50d5.tar.gz
Import p5-Geo-IP from pkgsrc-wip. Packaged by xtraeme@ and updated by me.
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 complete 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 visitors.
Diffstat (limited to 'net/p5-Geo-IP')
-rw-r--r--net/p5-Geo-IP/DESCR8
-rw-r--r--net/p5-Geo-IP/Makefile21
-rw-r--r--net/p5-Geo-IP/PLIST1
-rw-r--r--net/p5-Geo-IP/distinfo4
4 files changed, 34 insertions, 0 deletions
diff --git a/net/p5-Geo-IP/DESCR b/net/p5-Geo-IP/DESCR
new file mode 100644
index 00000000000..123da6df1fc
--- /dev/null
+++ b/net/p5-Geo-IP/DESCR
@@ -0,0 +1,8 @@
+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 complete
+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 visitors.
diff --git a/net/p5-Geo-IP/Makefile b/net/p5-Geo-IP/Makefile
new file mode 100644
index 00000000000..2fce8fbca24
--- /dev/null
+++ b/net/p5-Geo-IP/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/03 00:59:03 minskim Exp $
+#
+
+DISTNAME= Geo-IP-1.21
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Geo/}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.maxmind.com/geoip/api/perl.shtml
+COMMENT= Gets country name by IP or hostname
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Geo/IP/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Geo-IP/PLIST b/net/p5-Geo-IP/PLIST
new file mode 100644
index 00000000000..0d093f86c17
--- /dev/null
+++ b/net/p5-Geo-IP/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/03 00:59:03 minskim Exp $
diff --git a/net/p5-Geo-IP/distinfo b/net/p5-Geo-IP/distinfo
new file mode 100644
index 00000000000..dfafb32ae1c
--- /dev/null
+++ b/net/p5-Geo-IP/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/03 00:59:03 minskim Exp $
+
+SHA1 (Geo-IP-1.21.tar.gz) = 2432c29807fa64f10e5bdeb63eef0cee63e41021
+Size (Geo-IP-1.21.tar.gz) = 11574 bytes