summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-11 19:54:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-11 19:54:42 +0000
commit5e3a511a95cd6da98d0bc538f9d9eab9d50a4e77 (patch)
tree001444f0fbb0313d01b92c362bbda7a10b43963b /dev-ruby/right_http_connection/files
parentAdd patch from upstream to preserve From when copying mail from e.g. mbox to ... (diff)
downloadhistorical-5e3a511a95cd6da98d0bc538f9d9eab9d50a4e77.tar.gz
historical-5e3a511a95cd6da98d0bc538f9d9eab9d50a4e77.tar.bz2
historical-5e3a511a95cd6da98d0bc538f9d9eab9d50a4e77.zip
Add a patch that brings this on par with the http_connection-1.3.0 fork. Since the rest of the code in that gem is the same and it is a setback from this, don't even consider adding it until it improves.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/right_http_connection/files')
-rw-r--r--dev-ruby/right_http_connection/files/right_http_connection-1.2.4+ruby-1.9.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-ruby/right_http_connection/files/right_http_connection-1.2.4+ruby-1.9.patch b/dev-ruby/right_http_connection/files/right_http_connection-1.2.4+ruby-1.9.patch
new file mode 100644
index 000000000000..3133194fefb7
--- /dev/null
+++ b/dev-ruby/right_http_connection/files/right_http_connection-1.2.4+ruby-1.9.patch
@@ -0,0 +1,10 @@
+--- lib/right_http_connection.rb.old 2010-01-28 00:35:07.000000000 +0100
++++ lib/right_http_connection.rb 2010-02-11 20:20:28.872034048 +0100
+@@ -299,6 +299,7 @@
+ true
+ }
+ @http.use_ssl = true
++ @http.verify_mode = OpenSSL::SSL::VERIFY_NONE # Looks like Ruby 1.9 defaults to VERIFY_PEER which doesn't work well
+ ca_file = get_param(:ca_file)
+ if ca_file
+ @http.verify_mode = OpenSSL::SSL::VERIFY_PEER