Import p5-GeoIP2 2.006002 as wip/p5-GeoIP2.

This module provides an API for the GeoIP2 web services and databases.
The API also works with the free GeoLite2 databases.

See GeoIP2::WebService::Client for details on the web service client API
and GeoIP2::Database::Reader for the database API.
This commit is contained in:
Frederic Cambus 2020-02-28 22:00:47 +01:00
parent 21c5c10bc6
commit 5da500549c
4 changed files with 51 additions and 0 deletions

View File

@ -2641,6 +2641,7 @@ SUBDIR+= p5-FFI-Platypus
SUBDIR+= p5-File-Map
SUBDIR+= p5-Frontier-RPC
SUBDIR+= p5-GPS-Garmin
SUBDIR+= p5-GeoIP2
SUBDIR+= p5-Getopt-GUI-Long
SUBDIR+= p5-Google-API-Client
SUBDIR+= p5-Gtk2-Spell

5
p5-GeoIP2/DESCR Normal file
View File

@ -0,0 +1,5 @@
This module provides an API for the GeoIP2 web services and databases.
The API also works with the free GeoLite2 databases.
See GeoIP2::WebService::Client for details on the web service client API
and GeoIP2::Database::Reader for the database API.

39
p5-GeoIP2/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $NetBSD$
DISTNAME= GeoIP2-2.006002
PKGNAME= p5-${DISTNAME}
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MA/MAXMIND/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/GeoIP2
COMMENT= Perl API for MaxMind's GeoIP2 web services and databases
LICENSE= artistic-2.0
DEPENDS+= p5-JSON-MaybeXS>=0:../../converters/p5-JSON-MaybeXS
DEPENDS+= p5-Data-Validate-IP>=0.25:../../devel/p5-Data-Validate-IP
DEPENDS+= p5-Moo>=0:../../devel/p5-Moo
DEPENDS+= p5-Params-Validate>=0:../../devel/p5-Params-Validate
DEPENDS+= p5-Sub-Quote>=0:../../devel/p5-Sub-Quote
DEPENDS+= p5-Throwable>=0:../../devel/p5-Throwable
DEPENDS+= p5-Try-Tiny>=0:../../devel/p5-Try-Tiny
DEPENDS+= p5-namespace-clean>=0:../../devel/p5-namespace-clean
DEPENDS+= p5-MaxMind-DB-Reader>=1.0:../../net/p5-MaxMind-DB-Reader
DEPENDS+= p5-List-SomeUtils>=0:../../devel/p5-List-SomeUtils
DEPENDS+= p5-HTTP-Message>=0:../../www/p5-HTTP-Message
DEPENDS+= p5-LWP-Protocol-https>=0:../../www/p5-LWP-Protocol-https
DEPENDS+= p5-URI>=0:../../www/p5-URI
DEPENDS+= p5-libwww>=0:../../www/p5-libwww
TEST_DEPENDS+= p5-Path-Class>=0:../../devel/p5-Path-Class
TEST_DEPENDS+= p5-Test-Fatal>=0:../../devel/p5-Test-Fatal
TEST_DEPENDS+= p5-Test-Number-Delta>=0:../../math/p5-Test-Number-Delta
TEST_DEPENDS+= p5-MaxMind-DB-Common>=0:../../net/p5-MaxMind-DB-Common
TEST_DEPENDS+= p5-HTTP-Message>=0:../../www/p5-HTTP-Message
REPLACE_PERL= bin/web-service-request
PERL5_PACKLIST= auto/GeoIP2/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

6
p5-GeoIP2/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (GeoIP2-2.006002.tar.gz) = 80d95bccec5f5195db06ac9d55bf45a3192263bd
RMD160 (GeoIP2-2.006002.tar.gz) = 483cd0ce02ce083c64a15f1c78f4965cb12bf9d8
SHA512 (GeoIP2-2.006002.tar.gz) = a552c6487b340aa928cfc6ce037724cf0fa98332b731388734bc2b25e7d1a31e2c45c0cd12b6c962b5b483172837587254d742fb04cbcec67586d92dae71e356
Size (GeoIP2-2.006002.tar.gz) = 249915 bytes