Import Geo::IP 1.23.

Submitted by Holger Mauermann <holger@mauermann.org>.

This module can be used to automatically select the geographically closest
mirror, to analyze your web server logs to determine the countries of your
visitors, for credit card fraud detection, and for software export controls.
This commit is contained in:
naddy 2004-11-11 19:46:03 +00:00
parent 3f89749f80
commit 351d5e4b4b
4 changed files with 50 additions and 0 deletions

24
net/p5-Geo-IP/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/11/11 19:46:03 naddy Exp $
SHARED_ONLY= Yes
COMMENT= "find the country where an IP address/hostname originates from"
DISTNAME= Geo-IP-1.23
PKGNAME= p5-${DISTNAME}
CATEGORIES= net perl5
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Geo/}
LIB_DEPENDS= GeoIP.4::net/GeoIP
CONFIGURE_STYLE=perl
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib' INC='-I${LOCALBASE}/include'
.include <bsd.port.mk>

3
net/p5-Geo-IP/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (Geo-IP-1.23.tar.gz) = 01b924df6c6e0b8b468d3f8df7275160
RMD160 (Geo-IP-1.23.tar.gz) = 4b83a55b6632b7722dcdadd27f72162266f1db13
SHA1 (Geo-IP-1.23.tar.gz) = 6cff28a62cb17e2c62a2d9d7cbf897cdfbd4eabb

7
net/p5-Geo-IP/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
This module uses a file based database. This database simply contains IP
blocks as keys, and countries as values. This database should be more
complete and accurate than reverse DNS lookups.
This module can be used to automatically select the geographically closest
mirror, to analyze your web server logs to determine the countries of your
visitors, for credit card fraud detection, and for software export controls.

16
net/p5-Geo-IP/pkg/PLIST Normal file
View File

@ -0,0 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/11 19:46:03 naddy Exp $
${P5ARCH}/
${P5ARCH}/Geo/
${P5ARCH}/Geo/IP/
${P5ARCH}/Geo/IP.pm
${P5ARCH}/Geo/IP/Record.pm
${P5ARCH}/Geo/IP/Record.pod
${P5ARCH}/Geo/Mirror.pm
${P5ARCH}/auto/
${P5ARCH}/auto/Geo/
${P5ARCH}/auto/Geo/IP/
${P5ARCH}/auto/Geo/IP/IP.bs
${P5ARCH}/auto/Geo/IP/IP.so
@man man/man3p/Geo::IP.3p
@man man/man3p/Geo::IP::Record.3p
@man man/man3p/Geo::Mirror.3p