summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/p5-Hijk/DESCR16
-rw-r--r--www/p5-Hijk/Makefile21
-rw-r--r--www/p5-Hijk/distinfo5
3 files changed, 42 insertions, 0 deletions
diff --git a/www/p5-Hijk/DESCR b/www/p5-Hijk/DESCR
new file mode 100644
index 00000000000..efea3657db3
--- /dev/null
+++ b/www/p5-Hijk/DESCR
@@ -0,0 +1,16 @@
+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.
diff --git a/www/p5-Hijk/Makefile b/www/p5-Hijk/Makefile
new file mode 100644
index 00000000000..11cf60600fe
--- /dev/null
+++ b/www/p5-Hijk/Makefile
@@ -0,0 +1,21 @@
+# $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"
diff --git a/www/p5-Hijk/distinfo b/www/p5-Hijk/distinfo
new file mode 100644
index 00000000000..a6d0d7000b9
--- /dev/null
+++ b/www/p5-Hijk/distinfo
@@ -0,0 +1,5 @@
+$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