diff options
-rw-r--r-- | www/ruby-net-http-persistent/DESCR | 11 | ||||
-rw-r--r-- | www/ruby-net-http-persistent/Makefile | 12 | ||||
-rw-r--r-- | www/ruby-net-http-persistent/PLIST | 12 | ||||
-rw-r--r-- | www/ruby-net-http-persistent/distinfo | 5 |
4 files changed, 40 insertions, 0 deletions
diff --git a/www/ruby-net-http-persistent/DESCR b/www/ruby-net-http-persistent/DESCR new file mode 100644 index 00000000000..f2cd5a67422 --- /dev/null +++ b/www/ruby-net-http-persistent/DESCR @@ -0,0 +1,11 @@ +Manages persistent connections using Net::HTTP plus a speed fix for 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 +according to RFC 2616. diff --git a/www/ruby-net-http-persistent/Makefile b/www/ruby-net-http-persistent/Makefile new file mode 100644 index 00000000000..5a4fc97a0d1 --- /dev/null +++ b/www/ruby-net-http-persistent/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/08/12 17:29:56 taca Exp $ + +DISTNAME= net-http-persistent-1.8.1 +CATEGORIES= www + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://seattlerb.rubyforge.org/net-http-persistent +COMMENT= Manages persistent connections using Net::HTTP +LICENSE= mit + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-net-http-persistent/PLIST b/www/ruby-net-http-persistent/PLIST new file mode 100644 index 00000000000..6272258d484 --- /dev/null +++ b/www/ruby-net-http-persistent/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/12 17:29:56 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.autotest +${GEM_LIBDIR}/.gemtest +${GEM_LIBDIR}/History.txt +${GEM_LIBDIR}/Manifest.txt +${GEM_LIBDIR}/README.txt +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/lib/net/http/faster.rb +${GEM_LIBDIR}/lib/net/http/persistent.rb +${GEM_LIBDIR}/test/test_net_http_persistent.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/www/ruby-net-http-persistent/distinfo b/www/ruby-net-http-persistent/distinfo new file mode 100644 index 00000000000..f57b1442e63 --- /dev/null +++ b/www/ruby-net-http-persistent/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/08/12 17:29:56 taca Exp $ + +SHA1 (net-http-persistent-1.8.1.gem) = 59ec653586942f11d16288be360391744707924e +RMD160 (net-http-persistent-1.8.1.gem) = d23917ea38a125c1301c5a93f3f5a378beebec98 +Size (net-http-persistent-1.8.1.gem) = 16896 bytes |