From owner-svn-ports-all@freebsd.org Tue Oct 16 20:03:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 367ED10E032F; Tue, 16 Oct 2018 20:03:31 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBDC17CFBF; Tue, 16 Oct 2018 20:03:30 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6C132154C; Tue, 16 Oct 2018 20:03:30 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9GK3Usx009498; Tue, 16 Oct 2018 20:03:30 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9GK3TLo009494; Tue, 16 Oct 2018 20:03:29 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201810162003.w9GK3TLo009494@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 16 Oct 2018 20:03:29 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net: . p5-MaxMind-DB-Reader-XS X-SVN-Commit-Revision: 482242 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 20:03:31 -0000 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 +# $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 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