1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Add p5-Net-HTTPS-NB 0.12

Net::HTTPS::NB provides same interface as Net::HTTPS but it will never try
multiple reads when the read_response_headers() or read_entity_body() methods
are invoked. In addition allows non-blocking connect.

If read_response_headers() did not see enough data to complete the headers an
empty list is returned.

If read_entity_body() did not see new entity data in its read the value -1 is
returned.

WWW: http://search.cpan.org/dist/Net-HTTPS-NB/

Feature safe:	yes
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-03-13 06:44:13 +00:00
parent 0b31effe7b
commit af79b36947
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293209
5 changed files with 53 additions and 0 deletions

View File

@ -572,6 +572,7 @@
SUBDIR += p5-Net-GrowlClient
SUBDIR += p5-Net-HL7
SUBDIR += p5-Net-HTTP
SUBDIR += p5-Net-HTTPS-NB
SUBDIR += p5-Net-Hiveminder
SUBDIR += p5-Net-INET6Glue
SUBDIR += p5-Net-IP-Minimal

View File

@ -0,0 +1,32 @@
# New ports collection makefile for: p5-Net-HTTPS-NB
# Date created: 2012-03-13
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-HTTPS-NB
PORTVERSION= 0.12
CATEGORIES= net www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Non-blocking HTTPS client
BUILD_DEPENDS= p5-IO-Socket-SSL>=0.98:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Net-HTTP>=0:${PORTSDIR}/net/p5-Net-HTTP
RUN_DEPENDS= p5-IO-Socket-SSL>=0.98:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Net-HTTP>=0:${PORTSDIR}/net/p5-Net-HTTP
PERL_CONFIGURE= yes
MAN3= Net::HTTPS::NB.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Net-HTTPS-NB-0.12.tar.gz) = 16c12fc3d6bd957ce8d29896826101f77a8e4711e6cb5e06aec699f2cb6dc575
SIZE (Net-HTTPS-NB-0.12.tar.gz) = 4808

View File

@ -0,0 +1,11 @@
Net::HTTPS::NB provides same interface as Net::HTTPS but it will never try
multiple reads when the read_response_headers() or read_entity_body() methods
are invoked. In addition allows non-blocking connect.
If read_response_headers() did not see enough data to complete the headers an
empty list is returned.
If read_entity_body() did not see new entity data in its read the value -1 is
returned.
WWW: http://search.cpan.org/dist/Net-HTTPS-NB/

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/Net/HTTPS/NB.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/HTTPS/NB/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/HTTPS/NB
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/HTTPS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrmtry %%SITE_PERL%%/Net/HTTPS
@dirrmtry %%SITE_PERL%%/Net