Project

General

Profile

« Previous | Next » 

Revision aea07faa

Added by Michael Moll over 8 years ago

package net-http-persistent gem for precise

newer bundler packages depend on it

View differences:

dependencies/precise/net-http-persistent/changelog
ruby-net-http-persistent (2.7-2) unstable; urgency=low
* Skip the tests that require network connectivity to pass (Closes:
#684421)
-- Gunnar Wolf <gwolf@debian.org> Thu, 09 Aug 2012 18:47:53 -0500
ruby-net-http-persistent (2.7-1) unstable; urgency=low
* Team upload.
* New upstream release.
* Build against gem2deb >=0.3.0~.
* Bump Standards-Version: to 3.9.3 (no changes needed)
* add debian/patches/workaround_persistent_ssl_reuse_failing_test.patch
+ Use a longer RSA key in test/test/test_net_http_persistent_ssl_reuse.rb.
Thanks Christian Hofstaedtler (Closes: #665255)
-- Cédric Boutillier <cedric.boutillier@gmail.com> Wed, 27 Jun 2012 22:37:09 +0200
ruby-net-http-persistent (2.5.2-1) unstable; urgency=low
[ Gunnar Wolf ]
* New upstream version
[ Cédric Boutillier ]
-- Gunnar Wolf <gwolf@debian.org> Thu, 08 Mar 2012 17:49:23 -0600
ruby-net-http-persistent (2.3.3-1) unstable; urgency=low
* Initial release (Closes: #656279)
-- Gunnar Wolf <gwolf@debian.org> Tue, 17 Jan 2012 17:47:26 -0600
dependencies/precise/net-http-persistent/compat
7
dependencies/precise/net-http-persistent/control
Source: ruby-net-http-persistent
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Gunnar Wolf <gwolf@debian.org>
DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-minitest
Standards-Version: 3.9.3
Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-net-http-persistent.git
Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-net-http-persistent.git;a=summary
Homepage: http://docs.seattlerb.org/net-http-persistent
XS-Ruby-Versions: all
Package: ruby-net-http-persistent
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
Description: Manages persistent connections using Net::HTTP
This package provides persistent connections to Net::HTTP.
.
Creating a new HTTP connection for every request involves an extra TCP
round-trip and causes TCP congestion avoidance negotiation to start over.
Using persistent HTTP connections can dramatically increase the speed of HTTP.
.
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.
dependencies/precise/net-http-persistent/copyright
Format: http://dep.debian.net/deps/dep5
Upstream-Name: net-http-persistent
Source: http://docs.seattlerb.org/net-http-persistent/
Files: *
Copyright: © 2010 Eric Hodel <drbrain@segment7.net>
© 2010 Aaron Patterson
License: MIT
Files: debian/*
Copyright: 2012 Gunnar Wolf <gwolf@debian.org>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
dependencies/precise/net-http-persistent/patches/series
skip_tests_requiring_net_connectivity
workaround_persistent_ssl_reuse_failing_test.patch
dependencies/precise/net-http-persistent/patches/skip_tests_requiring_net_connectivity
Date: Thu, 09 Aug 2012 18:47:53 -0500
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684421
Origin: Debian
Forwarded: Not-needed
Author: Gunnar Wolf <gwolf@debian.org>
Description: Fix FTBFS when built with no network access
Index: ruby-net-http-persistent/test/test_net_http_persistent.rb
===================================================================
--- ruby-net-http-persistent.orig/test/test_net_http_persistent.rb 2012-07-25 17:37:02.000000000 -0500
+++ ruby-net-http-persistent/test/test_net_http_persistent.rb 2012-08-09 18:45:55.000000000 -0500
@@ -354,6 +354,7 @@
end
def test_connection_for_http_class_with_fakeweb
+ skip 'No network access can be assumed at Debian package build time'
Object.send :const_set, :FakeWeb, nil
c = @http.connection_for @uri
assert_instance_of Net::HTTP, c
@@ -364,6 +365,7 @@
end
def test_connection_for_http_class_with_webmock
+ skip 'No network access can be assumed at Debian package build time'
Object.send :const_set, :WebMock, nil
c = @http.connection_for @uri
assert_instance_of Net::HTTP, c
@@ -385,6 +387,7 @@
end
def test_connection_for_no_ssl_reuse
+ skip 'No network access can be assumed at Debian package build time'
@http.reuse_ssl_sessions = false
@http.open_timeout = 123
@http.read_timeout = 321
dependencies/precise/net-http-persistent/patches/workaround_persistent_ssl_reuse_failing_test.patch
Description: Fix FTBFS with OpenSSL 1.0.1
Using a key stricly greater than 745.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665255
Bug: https://github.com/drbrain/net-http-persistent/issues/25
Origin: vendor
--- a/test/test_net_http_persistent_ssl_reuse.rb
+++ b/test/test_net_http_persistent_ssl_reuse.rb
@@ -21,7 +21,7 @@
def setup
@name = OpenSSL::X509::Name.parse 'CN=localhost'
- @key = OpenSSL::PKey::RSA.new 512
+ @key = OpenSSL::PKey::RSA.new 1024
@cert = OpenSSL::X509::Certificate.new
@cert.version = 2
dependencies/precise/net-http-persistent/ruby-net-http-persistent.docs
README.rdoc
dependencies/precise/net-http-persistent/ruby-test-files.yaml
---
- test/test_net_http_persistent.rb
- test/test_net_http_persistent_ssl_reuse.rb
dependencies/precise/net-http-persistent/rules
#!/usr/bin/make -f
#export DH_VERBOSE=1
#
# Uncomment to ignore all test failures (but the tests will run anyway)
#export DH_RUBY_IGNORE_TESTS=all
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
#
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
%:
dh $@ --buildsystem=ruby --with ruby
dependencies/precise/net-http-persistent/source/format
3.0 (quilt)
dependencies/precise/net-http-persistent/watch
version=3
http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/net-http-persistent .*/net-http-persistent-(.*).tar.gz

Also available in: Unified diff