svn commit: r393024 - in head/www: . p5-Net-Async-HTTP
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jul 27 19:30:48 UTC 2015
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 <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Net-Async-HTTP
+PORTVERSION= 0.39
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at 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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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
More information about the svn-ports-all
mailing list