diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-07-14 17:35:58 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-07-14 17:35:58 +0000 |
commit | de0b3af976e5b9e159378f68b1d950cb327f4243 (patch) | |
tree | bdb39a6600657bef8306664bbbe0d31d85ff4937 /dev-ruby/net-http-persistent | |
parent | Stable for x86, wrt bug #426466 (diff) | |
download | gentoo-2-de0b3af976e5b9e159378f68b1d950cb327f4243.tar.gz gentoo-2-de0b3af976e5b9e159378f68b1d950cb327f4243.tar.bz2 gentoo-2-de0b3af976e5b9e159378f68b1d950cb327f4243.zip |
Use modern key size to fix tests with openssl 1.01, bug 426614.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/net-http-persistent')
-rw-r--r-- | dev-ruby/net-http-persistent/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-ruby/net-http-persistent/ChangeLog b/dev-ruby/net-http-persistent/ChangeLog index a58979dedbe7..a1ae0433a439 100644 --- a/dev-ruby/net-http-persistent/ChangeLog +++ b/dev-ruby/net-http-persistent/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/net-http-persistent # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-persistent/ChangeLog,v 1.5 2012/07/14 17:29:51 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-persistent/ChangeLog,v 1.6 2012/07/14 17:35:58 graaff Exp $ + + 14 Jul 2012; Hans de Graaff <graaff@gentoo.org> + net-http-persistent-2.7.ebuild: + Use modern key size to fix tests with openssl 1.01, bug 426614. *net-http-persistent-2.7 (14 Jul 2012) diff --git a/dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild index fac8678b4237..ec70199d4279 100644 --- a/dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild +++ b/dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild,v 1.1 2012/07/14 17:29:51 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-persistent/net-http-persistent-2.7.ebuild,v 1.2 2012/07/14 17:35:58 graaff Exp $ EAPI=4 @@ -23,3 +23,9 @@ IUSE="doc test" ruby_add_bdepend "doc? ( dev-ruby/hoe ) test? ( dev-ruby/hoe dev-ruby/minitest )" + +all_ruby_prepare() { + # Use a modern key size to avoid problems with OpenSSL 1.0.1. + # https://github.com/drbrain/net-http-persistent/issues/25 + sed -i -e 's/RSA.new 512/RSA.new 1024/' test/test_net_http_persistent_ssl_reuse.rb || die +} |