Date: Tue, 16 Oct 2018 20:03:29 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482242 - in head/net: . p5-MaxMind-DB-Reader-XS Message-ID: <201810162003.w9GK3TLo009494@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Oct 16 20:03:29 2018 New Revision: 482242 URL: https://svnweb.freebsd.org/changeset/ports/482242 Log: Add p5-MaxMind-DB-Reader-XS 1.000006 Simply installing this module causes MaxMind::DB::Reader to use the XS implementation, which is much faster than the Perl implementation. The XS implementation links against the libmaxminddb library. See MaxMind::DB::Reader for API details. WWW: https://metacpan.org/release/MaxMind-DB-Reader-XS Added: head/net/p5-MaxMind-DB-Reader-XS/ head/net/p5-MaxMind-DB-Reader-XS/Makefile (contents, props changed) head/net/p5-MaxMind-DB-Reader-XS/distinfo (contents, props changed) head/net/p5-MaxMind-DB-Reader-XS/pkg-descr (contents, props changed) head/net/p5-MaxMind-DB-Reader-XS/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Tue Oct 16 20:02:23 2018 (r482241) +++ head/net/Makefile Tue Oct 16 20:03:29 2018 (r482242) @@ -635,6 +635,7 @@ SUBDIR += p5-Kafka SUBDIR += p5-MaxMind-DB-Common SUBDIR += p5-MaxMind-DB-Reader + SUBDIR += p5-MaxMind-DB-Reader-XS SUBDIR += p5-MaxMind-DB-Writer SUBDIR += p5-Net SUBDIR += p5-Net-ACME2 Added: head/net/p5-MaxMind-DB-Reader-XS/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-MaxMind-DB-Reader-XS/Makefile Tue Oct 16 20:03:29 2018 (r482242) @@ -0,0 +1,37 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= MaxMind-DB-Reader-XS +PORTVERSION= 1.000006 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:MAXMIND +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast XS implementation of MaxMind DB reader + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb +RUN_DEPENDS= p5-MaxMind-DB-Common>=0.040001:net/p5-MaxMind-DB-Common \ + p5-MaxMind-DB-Reader>=1.000012:net/p5-MaxMind-DB-Reader \ + p5-Moo>=0:devel/p5-Moo \ + p5-namespace-autoclean>=0:devel/p5-namespace-autoclean +TEST_DEPENDS= p5-Math-Int128>=0:math/p5-Math-Int128 \ + p5-Module-Implementation>=0:devel/p5-Module-Implementation \ + p5-Net-Works>=0.21:net/p5-Net-Works \ + p5-Path-Class>=0.27:devel/p5-Path-Class \ + p5-Test-Fatal>=0:devel/p5-Test-Fatal \ + p5-Test-Number-Delta>=0:devel/p5-Test-Number-Delta \ + p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/MaxMind/DB/Reader/XS/XS.so + +.include <bsd.port.mk> Added: head/net/p5-MaxMind-DB-Reader-XS/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-MaxMind-DB-Reader-XS/distinfo Tue Oct 16 20:03:29 2018 (r482242) @@ -0,0 +1,3 @@ +TIMESTAMP = 1539713805 +SHA256 (MaxMind-DB-Reader-XS-1.000006.tar.gz) = a30975b9dec68eb62a652c77c70d04e62bf6d6884be068c02f9531c88b6d75ba +SIZE (MaxMind-DB-Reader-XS-1.000006.tar.gz) = 355446 Added: head/net/p5-MaxMind-DB-Reader-XS/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-MaxMind-DB-Reader-XS/pkg-descr Tue Oct 16 20:03:29 2018 (r482242) @@ -0,0 +1,6 @@ +Simply installing this module causes MaxMind::DB::Reader to use the XS +implementation, which is much faster than the Perl implementation. The XS +implementation links against the libmaxminddb library. See MaxMind::DB::Reader +for API details. + +WWW: https://metacpan.org/release/MaxMind-DB-Reader-XS Added: head/net/p5-MaxMind-DB-Reader-XS/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-MaxMind-DB-Reader-XS/pkg-plist Tue Oct 16 20:03:29 2018 (r482242) @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/MaxMind/DB/Reader/XS.pm +%%SITE_ARCH%%/auto/MaxMind/DB/Reader/XS/XS.so +%%PERL5_MAN3%%/MaxMind::DB::Reader::XS.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810162003.w9GK3TLo009494>