pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/p5-GeoIP2



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Mon Mar  9 21:47:15 UTC 2020

Added Files:
        pkgsrc/net/p5-GeoIP2: DESCR Makefile distinfo

Log Message:
net/p5-GeoIP2: import p5-GeoIP2 2.006002.

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/p5-GeoIP2/DESCR \
    pkgsrc/net/p5-GeoIP2/Makefile pkgsrc/net/p5-GeoIP2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/p5-GeoIP2/DESCR
diff -u /dev/null pkgsrc/net/p5-GeoIP2/DESCR:1.1
--- /dev/null   Mon Mar  9 21:47:15 2020
+++ pkgsrc/net/p5-GeoIP2/DESCR  Mon Mar  9 21:47:15 2020
@@ -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.
Index: pkgsrc/net/p5-GeoIP2/Makefile
diff -u /dev/null pkgsrc/net/p5-GeoIP2/Makefile:1.1
--- /dev/null   Mon Mar  9 21:47:15 2020
+++ pkgsrc/net/p5-GeoIP2/Makefile       Mon Mar  9 21:47:15 2020
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2020/03/09 21:47:15 fcambus Exp $
+
+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@localhost
+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"
Index: pkgsrc/net/p5-GeoIP2/distinfo
diff -u /dev/null pkgsrc/net/p5-GeoIP2/distinfo:1.1
--- /dev/null   Mon Mar  9 21:47:15 2020
+++ pkgsrc/net/p5-GeoIP2/distinfo       Mon Mar  9 21:47:15 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/09 21:47:15 fcambus Exp $
+
+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



Home | Main Index | Thread Index | Old Index