Thu Apr 30 03:10:32 2015 UTC ()
Import p5-Hijk-0.20 as www/p5-Hijk.

Hijk is a fast & minimal low-level HTTP client intended to be used
where you control both the client and the server, e.g. for talking to
some internal service from a frontend user-facing web application.

It is NOT a general HTTP user agent, it doesn't support redirects,
proxies, SSL and any number of other advanced HTTP features like (in
roughly descending order of feature completeness) LWP::UserAgent,
WWW::Curl, HTTP::Tiny, HTTP::Lite or Furl. This library is basically
one step above manually talking HTTP over sockets.

Having said that it's lightning fast and extensively used in
production at Booking.com where it's used as the go-to transport layer
for talking to internal services. It uses non-blocking sockets and
correctly handles all combinations of connect/read timeouts and other
issues you might encounter from various combinations of parts of your
system going down or becoming otherwise unavailable.


(mef)
diff -r0 -r1.1 pkgsrc/www/p5-Hijk/DESCR
diff -r0 -r1.1 pkgsrc/www/p5-Hijk/Makefile
diff -r0 -r1.1 pkgsrc/www/p5-Hijk/distinfo

File Added: pkgsrc/www/p5-Hijk/DESCR
Hijk is a fast & minimal low-level HTTP client intended to be used
where you control both the client and the server, e.g. for talking to
some internal service from a frontend user-facing web application.

It is NOT a general HTTP user agent, it doesn't support redirects,
proxies, SSL and any number of other advanced HTTP features like (in
roughly descending order of feature completeness) LWP::UserAgent,
WWW::Curl, HTTP::Tiny, HTTP::Lite or Furl. This library is basically
one step above manually talking HTTP over sockets.

Having said that it's lightning fast and extensively used in
production at Booking.com where it's used as the go-to transport layer
for talking to internal services. It uses non-blocking sockets and
correctly handles all combinations of connect/read timeouts and other
issues you might encounter from various combinations of parts of your
system going down or becoming otherwise unavailable.

File Added: pkgsrc/www/p5-Hijk/Makefile
# $NetBSD: Makefile,v 1.1 2015/04/30 03:10:32 mef Exp $

DISTNAME=	Hijk-0.20
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	www
MASTER_SITES=	http://search.cpan.org/CPAN/authors/id/A/AV/AVAR/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/CPAN/authors/id/A/AV/AVAR/
COMMENT=	Hijk - Fast & minimal low-level HTTP client
LICENSE=	mit

# for make test
BUILD_DEPENDS+=	p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
BUILD_DEPENDS+=	p5-URI-[0-9]*:../../www/p5-URI

PERL5_PACKLIST=	auto/Hijk/.packlist
USE_LANGUAGES=	# none

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/www/p5-Hijk/distinfo
$NetBSD: distinfo,v 1.1 2015/04/30 03:10:32 mef Exp $

SHA1 (Hijk-0.20.tar.gz) = 293f30e9a1b03f0591783f156ed807586d2a4717
RMD160 (Hijk-0.20.tar.gz) = c3e6e89d1f7799e7680378ccc88e172fbd1aceb7
Size (Hijk-0.20.tar.gz) = 42142 bytes