1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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.
This commit is contained in:
Yen-Ming Lee 2002-08-16 08:27:47 +00:00
parent 0a4630d3ee
commit 7335406366
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64571
11 changed files with 105 additions and 0 deletions

View File

@ -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

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

@ -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>

1
misc/p5-Geo-IP/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Geo-IP-0.26.tar.gz) = 233ee112eec0139e952978c9780bc209

View File

@ -0,0 +1 @@
Gets country name by IP or hostname

17
misc/p5-Geo-IP/pkg-descr Normal file
View File

@ -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

9
misc/p5-Geo-IP/pkg-plist Normal file
View File

@ -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

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

@ -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>

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

@ -0,0 +1 @@
MD5 (Geo-IP-0.26.tar.gz) = 233ee112eec0139e952978c9780bc209

View File

@ -0,0 +1 @@
Gets country name by IP or hostname

17
net/p5-Geo-IP/pkg-descr Normal file
View File

@ -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

9
net/p5-Geo-IP/pkg-plist Normal file
View File

@ -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