From owner-svn-ports-all@freebsd.org Mon Jul 27 19:30:48 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F3489AC95B; Mon, 27 Jul 2015 19:30:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 845327AB; Mon, 27 Jul 2015 19:30:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6RJUm27034913; Mon, 27 Jul 2015 19:30:48 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6RJUkHE034905; Mon, 27 Jul 2015 19:30:46 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201507271930.t6RJUkHE034905@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 27 Jul 2015 19:30:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393024 - in head/www: . p5-Net-Async-HTTP X-SVN-Group: ports-head 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.20 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: Mon, 27 Jul 2015 19:30:48 -0000 Author: sunpoet Date: Mon Jul 27 19:30:45 2015 New Revision: 393024 URL: https://svnweb.freebsd.org/changeset/ports/393024 Log: - Add p5-Net-Async-HTTP 0.39 Net::Async::HTTP implements an asynchronous HTTP user agent. It sends requests to servers, returning Future instances to yield responses when they are received. The object supports multiple concurrent connections to servers, and allows multiple requests in the pipeline to any one connection. Normally, only one such object will be needed per program to support any number of requests. As well as using futures the module also supports a callback-based interface. Net::Async::HTTP optionally supports SSL connections, if IO::Async::SSL is installed. If so, SSL can be requested either by passing a URI with the https scheme, or by passing a true value as the SSL parameter. WWW: http://search.cpan.org/dist/Net-Async-HTTP/ Added: head/www/p5-Net-Async-HTTP/ head/www/p5-Net-Async-HTTP/Makefile (contents, props changed) head/www/p5-Net-Async-HTTP/distinfo (contents, props changed) head/www/p5-Net-Async-HTTP/pkg-descr (contents, props changed) head/www/p5-Net-Async-HTTP/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Jul 27 19:29:08 2015 (r393023) +++ head/www/Makefile Mon Jul 27 19:30:45 2015 (r393024) @@ -1081,6 +1081,7 @@ SUBDIR += p5-Net-Akismet SUBDIR += p5-Net-Amazon-AWIS SUBDIR += p5-Net-Async-FastCGI + SUBDIR += p5-Net-Async-HTTP SUBDIR += p5-Net-FastCGI SUBDIR += p5-Net-FireEagle SUBDIR += p5-Net-Flickr-API Added: head/www/p5-Net-Async-HTTP/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Net-Async-HTTP/Makefile Mon Jul 27 19:30:45 2015 (r393024) @@ -0,0 +1,43 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Net-Async-HTTP +PORTVERSION= 0.39 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Use HTTP with IO::Async + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Future>=0.28:${PORTSDIR}/devel/p5-Future \ + p5-HTTP-Cookies>=0:${PORTSDIR}/www/p5-HTTP-Cookies \ + p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \ + p5-IO-Async>=0.59:${PORTSDIR}/devel/p5-IO-Async \ + p5-Struct-Dumb>=0:${PORTSDIR}/devel/p5-Struct-Dumb \ + p5-URI>=0:${PORTSDIR}/net/p5-URI +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-IO-Async-SSL>=0.12:${PORTSDIR}/security/p5-IO-Async-SSL \ + p5-Test-Identity>=0:${PORTSDIR}/devel/p5-Test-Identity \ + p5-Test-Refcount>=0:${PORTSDIR}/devel/p5-Test-Refcount + +OPTIONS_DEFINE= SSL + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +SSL_BUILD_DEPENDS= p5-IO-Async-SSL>=0.12:${PORTSDIR}/security/p5-IO-Async-SSL +SSL_RUN_DEPENDS= p5-IO-Async-SSL>=0.12:${PORTSDIR}/security/p5-IO-Async-SSL + +.include + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.include Added: head/www/p5-Net-Async-HTTP/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Net-Async-HTTP/distinfo Mon Jul 27 19:30:45 2015 (r393024) @@ -0,0 +1,2 @@ +SHA256 (Net-Async-HTTP-0.39.tar.gz) = ca3eead114ee855313aab8f26e340dafcb26830cb693eba10533aeb602a8a631 +SIZE (Net-Async-HTTP-0.39.tar.gz) = 70421 Added: head/www/p5-Net-Async-HTTP/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Net-Async-HTTP/pkg-descr Mon Jul 27 19:30:45 2015 (r393024) @@ -0,0 +1,13 @@ +Net::Async::HTTP implements an asynchronous HTTP user agent. It sends requests +to servers, returning Future instances to yield responses when they are +received. The object supports multiple concurrent connections to servers, and +allows multiple requests in the pipeline to any one connection. Normally, only +one such object will be needed per program to support any number of requests. + +As well as using futures the module also supports a callback-based interface. + +Net::Async::HTTP optionally supports SSL connections, if IO::Async::SSL is +installed. If so, SSL can be requested either by passing a URI with the https +scheme, or by passing a true value as the SSL parameter. + +WWW: http://search.cpan.org/dist/Net-Async-HTTP/ Added: head/www/p5-Net-Async-HTTP/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Net-Async-HTTP/pkg-plist Mon Jul 27 19:30:45 2015 (r393024) @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Net/Async/HTTP.pm +%%SITE_PERL%%/Net/Async/HTTP/Connection.pm +%%SITE_PERL%%/Net/Async/HTTP/StallTimer.pm +%%PERL5_MAN3%%/Net::Async::HTTP.3.gz +%%PERL5_MAN3%%/Net::Async::HTTP::Connection.3.gz