From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 21 19:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C2E95B4C for ; Fri, 21 Jun 2013 19:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AA0681098 for ; Fri, 21 Jun 2013 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5LJA0hV093986 for ; Fri, 21 Jun 2013 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5LJA05X093985; Fri, 21 Jun 2013 19:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 21 Jun 2013 19:10:00 GMT Resent-Message-Id: <201306211910.r5LJA05X093985@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexandre Biancalana Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C1E8A0F for ; Fri, 21 Jun 2013 19:00:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5CCEC1051 for ; Fri, 21 Jun 2013 19:00:58 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5LJ0vrK033107 for ; Fri, 21 Jun 2013 19:00:57 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5LJ0vgP033087; Fri, 21 Jun 2013 19:00:57 GMT (envelope-from nobody) Message-Id: <201306211900.r5LJ0vgP033087@oldred.freebsd.org> Date: Fri, 21 Jun 2013 19:00:57 GMT From: Alexandre Biancalana To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179819: new port: net/p5-Net-Google-SafeBrowsing2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jun 2013 19:10:00 -0000 >Number: 179819 >Category: ports >Synopsis: new port: net/p5-Net-Google-SafeBrowsing2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 21 19:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexandre Biancalana >Release: 9.1 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # net/p5-Net-Google-SafeBrowsing2 # net/p5-Net-Google-SafeBrowsing2/Makefile # net/p5-Net-Google-SafeBrowsing2/distinfo # net/p5-Net-Google-SafeBrowsing2/pkg-descr # net/p5-Net-Google-SafeBrowsing2/pkg-plist # echo c - net/p5-Net-Google-SafeBrowsing2 mkdir -p net/p5-Net-Google-SafeBrowsing2 > /dev/null 2>&1 echo x - net/p5-Net-Google-SafeBrowsing2/Makefile sed 's/^X//' >net/p5-Net-Google-SafeBrowsing2/Makefile << '14dd31aa63fd772801f2136ff89a58cb' X# Created by: Alexandre Biancalana X# $FreeBSD$ X XPORTNAME= Net-Google-SafeBrowsing2 XPORTVERSION= 1.09 XCATEGORIES= net perl5 XMASTER_SITES= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= ale@biancalanas.net XCOMMENT= Perl extension for the Google Safe Browsing v2 API X XBUILD_DEPENDS= p5-libwww>=5:${PORTSDIR}/www/p5-libwww \ X p5-URI>=1:${PORTSDIR}/net/p5-URI \ X p5-Digest-SHA>=5:${PORTSDIR}/security/p5-Digest-SHA \ X p5-Net-IPAddress>=1:${PORTSDIR}/net-mgmt/p5-Net-IPAddress \ X p5-Text-Trim>=1:${PORTSDIR}/textproc/p5-Text-Trim \ X p5-MIME-Base64>=3:${PORTSDIR}/converters/p5-MIME-Base64 \ X p5-MIME-Base64-URLSafe>=0.01:${PORTSDIR}/converters/p5-MIME-Base64-URLSafe \ X p5-Digest-HMAC>=1:${PORTSDIR}/security/p5-Digest-HMAC \ X p5-String-HexConvert>=0.01:${PORTSDIR}/textproc/p5-String-HexConvert \ X p5-File-Slurp>9:${PORTSDIR}/devel/p5-File-Slurp X XRUN_DEPENDS:= ${BUILD_DEPENDS} X XOPTIONS_DEFINE= MySQL SQLite Postgres X XMySQL_DESC= uses MySQL as the storage backend XSQLite_DESC= uses SQLite as the storage backend XPostgres_DESC= uses Postgres as the storage backend X XOPTIONS_DEFAULT=SQLite X XPERL_CONFIGURE= yes X XMAN3= Net::Google::SafeBrowsing2::Storage.3 \ X Net::Google::SafeBrowsing2::Lookup.3 \ X Net::Google::SafeBrowsing2::Postgres.3 \ X Net::Google::SafeBrowsing2.3 \ X Net::Google::SafeBrowsing2::DBI.3 \ X Net::Google::SafeBrowsing2::MySQL.3 \ X Net::Google::SafeBrowsing2::Sqlite.3 X X.include X X.if ${PORT_OPTIONS:MSQLite} XBUILD_DEPENDS+= p5-DBD-SQLite>=1:${PORTSDIR}/databases/p5-DBD-SQLite XRUN_DEPENDS+= p5-DBD-SQLite>=1:${PORTSDIR}/databases/p5-DBD-SQLite X.endif X X.if ${PORT_OPTIONS:MMySQL} XBUILD_DEPENDS+= p5-DBD-mysql>=4:${PORTSDIR}/databases/p5-DBD-mysql XRUN_DEPENDS+= p5-DBD-mysql>=4:${PORTSDIR}/databases/p5-DBD-mysql X.endif X X.if ${PORT_OPTIONS:MPostgres} XBUILD_DEPENDS+= p5-DBD-Pg>=2:${PORTSDIR}/databases/p5-DBD-Pg XRUN_DEPENDS+= p5-DBD-Pg>=2:${PORTSDIR}/databases/p5-DBD-Pg X.endif X Xpost-patch: X @${PERL} -pi -e 's/CPAN/ExtUtils/' ${WRKSRC}/Makefile.PL X X.include 14dd31aa63fd772801f2136ff89a58cb echo x - net/p5-Net-Google-SafeBrowsing2/distinfo sed 's/^X//' >net/p5-Net-Google-SafeBrowsing2/distinfo << '9d256aecaa03ef53837549d8c3129463' XSHA256 (Net-Google-SafeBrowsing2-1.09.tar.gz) = e9cd9b2c33c7e75054de1b567ad6e43f258f081614740ccec20c45cda9201507 XSIZE (Net-Google-SafeBrowsing2-1.09.tar.gz) = 28308 9d256aecaa03ef53837549d8c3129463 echo x - net/p5-Net-Google-SafeBrowsing2/pkg-descr sed 's/^X//' >net/p5-Net-Google-SafeBrowsing2/pkg-descr << '0c1cd93d53eb26b6a13781607078e267' XNet::Google::SafeBrowsing2 implements the Google Safe Browsing Xv2 API. X XThe library passes most of the unit tests listed in the API Xdocumentation. See the documentation X(http://code.google.com/apis/safebrowsing/developers_guide_v2.html) Xfor more details about the failed tests. X XThe Google Safe Browsing database must be stored and managed locally. XNet::Google::SafeBrowsing2::Sqlite uses Sqlite as the storage back-end, XNet::Google::SafeBrowsing2::MySQL uses MySQL. Other storage mechanisms X(databases, memory, etc.) can be added and used transparently with this module. X XYou may want to look at "Google Safe Browsing v2: Implementation Notes" X(http://www.zscaler.com/research/Google%20Safe%20Browsing%20v2%20API.pdf), Xa collection of notes and real-world numbers about the API. This is intended Xfor people who want to learn more about the API, whether as a user or to Xmake their own implementation. X XWWW: http://search.cpan.org/dist/Net-Google-SafeBrowsing2/ 0c1cd93d53eb26b6a13781607078e267 echo x - net/p5-Net-Google-SafeBrowsing2/pkg-plist sed 's/^X//' >net/p5-Net-Google-SafeBrowsing2/pkg-plist << '4087173fe14e470be11c4fb98c2b1388' X%%SITE_PERL%%/Net/Google/SafeBrowsing2.pm X%%SITE_PERL%%/Net/Google/SafeBrowsing2/Storage.pm X%%SITE_PERL%%/Net/Google/SafeBrowsing2/Lookup.pm X%%SITE_PERL%%/Net/Google/SafeBrowsing2/Postgres.pm X%%SITE_PERL%%/Net/Google/SafeBrowsing2/DBI.pm X%%SITE_PERL%%/Net/Google/SafeBrowsing2/Sqlite.pm X%%SITE_PERL%%/Net/Google/SafeBrowsing2/MySQL.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Google/SafeBrowsing2/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Google/SafeBrowsing2 X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Google X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net X@dirrm %%SITE_PERL%%/Net/Google/SafeBrowsing2 X@dirrmtry %%SITE_PERL%%/Net/Google X@dirrmtry %%SITE_PERL%%/Net 4087173fe14e470be11c4fb98c2b1388 exit >Release-Note: >Audit-Trail: >Unformatted: