aboutsummaryrefslogtreecommitdiff
path: root/www/rubygem-net-http-persistent25
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2014-05-19 04:17:52 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2014-05-19 04:17:52 +0000
commitc03a5d56789fa526e6a401796490474cbf7999d0 (patch)
treea1117f39aa345deadcc7374a211d4a7dcf7f2499 /www/rubygem-net-http-persistent25
parentc0810ddacf06218d448a8fdc3696af090b304cff (diff)
downloadports-c03a5d56789fa526e6a401796490474cbf7999d0.tar.gz
ports-c03a5d56789fa526e6a401796490474cbf7999d0.zip
Notes
Diffstat (limited to 'www/rubygem-net-http-persistent25')
-rw-r--r--www/rubygem-net-http-persistent25/Makefile18
-rw-r--r--www/rubygem-net-http-persistent25/distinfo2
-rw-r--r--www/rubygem-net-http-persistent25/pkg-descr10
3 files changed, 30 insertions, 0 deletions
diff --git a/www/rubygem-net-http-persistent25/Makefile b/www/rubygem-net-http-persistent25/Makefile
new file mode 100644
index 000000000000..3007c32739b7
--- /dev/null
+++ b/www/rubygem-net-http-persistent25/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= net-http-persistent
+PKGNAMESUFFIX= 25
+PORTVERSION= 2.5.2
+CATEGORIES= www net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Manages persistent connections using Net::HTTP
+
+LICENSE= MIT
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-net-http-persistent25/distinfo b/www/rubygem-net-http-persistent25/distinfo
new file mode 100644
index 000000000000..849e23a9a826
--- /dev/null
+++ b/www/rubygem-net-http-persistent25/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/net-http-persistent-2.5.2.gem) = 8e03a2e2752bb4c16e7ea3eed9f7ea3188bf71fc29866833601b4a949e12bdd0
+SIZE (rubygem/net-http-persistent-2.5.2.gem) = 24576
diff --git a/www/rubygem-net-http-persistent25/pkg-descr b/www/rubygem-net-http-persistent25/pkg-descr
new file mode 100644
index 000000000000..f6d065403f0f
--- /dev/null
+++ b/www/rubygem-net-http-persistent25/pkg-descr
@@ -0,0 +1,10 @@
+net-http-persistent manages persistent connections using Net::HTTP plus a speed
+fix for Ruby 1.8. It's thread-safe too! Using persistent HTTP connections can
+dramatically increase the speed of HTTP. Creating a new HTTP connection for
+every request involves an extra TCP round-trip and causes TCP congestion
+avoidance negotiation to start over. Net::HTTP supports persistent connections
+with some API methods but does not handle reconnection gracefully.
+Net::HTTP::Persistent supports reconnection and retry according to RFC 2616.
+
+WWW: https://github.com/drbrain/net-http-persistent
+RG: https://rubygems.org/gems/net-http-persistent