- 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/
This commit is contained in:
@@ -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
|
||||
|
||||
43
www/p5-Net-Async-HTTP/Makefile
Normal file
43
www/p5-Net-Async-HTTP/Makefile
Normal file
@@ -0,0 +1,43 @@
|
||||
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $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 <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>
|
||||
2
www/p5-Net-Async-HTTP/distinfo
Normal file
2
www/p5-Net-Async-HTTP/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
SHA256 (Net-Async-HTTP-0.39.tar.gz) = ca3eead114ee855313aab8f26e340dafcb26830cb693eba10533aeb602a8a631
|
||||
SIZE (Net-Async-HTTP-0.39.tar.gz) = 70421
|
||||
13
www/p5-Net-Async-HTTP/pkg-descr
Normal file
13
www/p5-Net-Async-HTTP/pkg-descr
Normal file
@@ -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/
|
||||
5
www/p5-Net-Async-HTTP/pkg-plist
Normal file
5
www/p5-Net-Async-HTTP/pkg-plist
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user