DIST net-ssh-git-2.10.0.tgz 172885 SHA256 ef063f3f967ec614df49acd74ede7694124f7ffc28c20c7434ac3841c181429a SHA512 f66db6465667baf0c253868cc15aab3261675a8c15ca4b244c3cd587ae5e8b7a273959b97d5fc498ff1b19e1f06f51ea571573d243366a59ef56faf41c2ae347 WHIRLPOOL 1460082033e0cef7dc6ddb2a645943039c0619573701c25fd6e0f784b596b8010142eef295e7df84a30f4239c8da743c500571ed557081b72d5a0212ffb8e9d0
DIST net-ssh-git-3.2.0.tgz 178267 SHA256 656c44973dc640556d283392db123a89d63455a299e78cb67fed274fee4d0de2 SHA512 2c161e096515e2c9f6fe8ca11725b7b6a92ed1234b591714bfcce5b258a38bf3631fc552b1ef029dd27ba123cc82fee8f2431d61035f1ff99102ecdf26992d5c WHIRLPOOL 999c9b2db40f6c50a7a6cf44efceabce2b93c32ac9be274fd459f2350126f9a5b4b1ed1d1385c7693fcb8c71eef77895b27f60059df607e5a3223084ffb5f803
+DIST net-ssh-git-4.1.0.tgz 194968 SHA256 b9b6ed5dea2132acf30e76a0effb3843f827742fa2573268742508f27498eed7 SHA512 48ca2a9f26b1dd25ce6ce026eacac73d6032ee4ac8f33f03dc700321f4fa4e2ea397d657db190a85c309c6d80be575218cf36f23cf214d7b1efee4f7d8e6255e WHIRLPOOL 4b0ad559af445de9e3340f94fa20140cb99ea046eb0bd53061a0c6c55f651b109e21d4122d92f7c307150aa0824a3842cac09cd515a1481bff7bbf0b8941895c
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc THANKS.txt"
+RUBY_FAKEGEM_EXTRAINSTALL="support"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Non-interactive SSH processing in pure Ruby"
+HOMEPAGE="https://github.com/net-ssh/net-ssh"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64"
+IUSE="sodium test"
+
+ruby_add_rdepend "virtual/ruby-ssl sodium? ( dev-ruby/rbnacl dev-ruby/bcrypt_pbkdf )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
+
+all_ruby_prepare() {
+ # Don't use a ruby-bundled version of libsodium
+ sed -i -e '/rbnacl\/libsodium/ s:^:#:' lib/net/ssh/authentication/ed25519.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test test/test_all.rb || die "Tests failed."
+}