summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-08-23 06:41:35 +0200
committerHans de Graaff <graaff@gentoo.org>2016-08-23 06:50:01 +0200
commitc53c6c9e5702352119b7df0497146d0784e6eae6 (patch)
tree722a1b0caeb4293ad4d79b08ef22065388fdc641
parentapp-crypt/sbsigntool: add myself to metadata (diff)
downloadgentoo-c53c6c9e5702352119b7df0497146d0784e6eae6.tar.gz
gentoo-c53c6c9e5702352119b7df0497146d0784e6eae6.tar.bz2
gentoo-c53c6c9e5702352119b7df0497146d0784e6eae6.zip
dev-ruby/net-http-persistent: add ruby23, fix tests to use tls instead of ssl
Package-Manager: portage-2.2.28
-rw-r--r--dev-ruby/net-http-persistent/net-http-persistent-2.9.4-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/net-http-persistent/net-http-persistent-2.9.4-r2.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-2.9.4-r2.ebuild
index a75b3501ff7d..6942f2199f08 100644
--- a/dev-ruby/net-http-persistent/net-http-persistent-2.9.4-r2.ebuild
+++ b/dev-ruby/net-http-persistent/net-http-persistent-2.9.4-r2.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_DOCDIR="doc"
@@ -27,4 +27,7 @@ ruby_add_bdepend "doc? ( dev-ruby/hoe )
all_ruby_prepare() {
# due to hoe
sed -i -e "/license/d" Rakefile || die
+
+ # Avoid unsafe legacy SSL version
+ sed -i -e '/ssl_version =/ s/:SSLv3/:TLSv1_2/' test/test_net_http_persistent_ssl_reuse.rb || die
}