Add net/p5-Geo-IPfree, a perl module to lookup country from an IP

address.  This module makes such lookups off-line and the database of
IPs is free.
This commit is contained in:
Anton Berezin 2003-04-02 22:05:45 +00:00
parent f7a603312c
commit 2f2d9d857d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78006
5 changed files with 49 additions and 0 deletions

View File

@ -391,6 +391,7 @@
SUBDIR += p5-File-Rsync
SUBDIR += p5-Frontier-RPC
SUBDIR += p5-Geo-IP
SUBDIR += p5-Geo-IPfree
SUBDIR += p5-IO-Interface
SUBDIR += p5-IO-Socket-Multicast
SUBDIR += p5-JUNOScript

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: net/p5-Geo-IPfree
# Date created: 02 April 2003
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Geo-IPfree
PORTVERSION= 0.2
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Geo
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Look up country from an IP Address
BUILD_DEPENDS= ${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Geo::IPfree.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (Geo-IPfree-0.2.tar.gz) = 581a8f8c917d5e1e44fa2f5223a6832b

View File

@ -0,0 +1,8 @@
Looks up country from an IP Address. This module makes this off-line and
the database of IPs is free.
Author: Graciliano M. P. <gm@virtuasites.com.br>
WWW: http://search.cpan.org/search?dist=Geo-IPfree
-Anton
<tobez@FreeBSD.org>

View File

@ -0,0 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree/.packlist
%%SITE_PERL%%/Geo/IPfree.pm
%%SITE_PERL%%/Geo/txt2ipct.pl
%%SITE_PERL%%/Geo/ipscountry.dat
%%SITE_PERL%%/Geo/ipct2txt.pl
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Geo 2>/dev/null || true