Package: ruby-httpclient / 2.8.3+git20211122.4658227-1
Metadata
Package | Version | Patches format |
---|---|---|
ruby-httpclient | 2.8.3+git20211122.4658227-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Fix port allocation in tests.patch | (download) |
test/helper.rb |
2 1 + 1 - 0 ! |
fix port allocation in tests For some reason, when running the test suite under sbuild, several tests crash with an error of `Errno::EADDRINUSE: Address already in use - listen(2)`. The tests just work when building outside of sbuild. Somehow, passing :Port => 0 seems to be making WEBrick allocate the same port over and over. I couldn't reproduce this interactively. This patch fixes the issue by assigning explict port numbers to servers and proxy servers created in the test suite, and is most probably Debian-specific. |
0002 Disable tests for NTLM.patch | (download) |
test/test_auth.rb |
74 37 + 37 - 0 ! |
disable tests for ntlm |
0003 Try to wait until socket is free.patch | (download) |
test/helper.rb |
3 3 + 0 - 0 ! |
try to wait until socket is free |
0005 tweak test dep change.patch | (download) |
test/test_ssl.rb |
4 2 + 2 - 0 ! |
tweak tests to support latest version of dependency One of the test makes sure that SSLv3 is not supported by expecting an SSLError to be raised. But in latest versions of openssl, an ArgumentError is raised in such situations. Patched the test to use that instead. |
disable test proxy ssl.patch | (download) |
test/test_ssl.rb |
26 13 + 13 - 0 ! |
--- |
disable_tests_related_to_http_proxy.patch | (download) |
test/test_auth.rb |
6 3 + 3 - 0 ! |
disable tests related to http_proxy and other related issues (proxy, et al) because LP builders don't like them! :D |
0008 Use system CA certificate store.patch | (download) |
lib/httpclient/ssl_config.rb |
7 1 + 6 - 0 ! |
use system ca certificate store |