diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/net-ssh | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/net-ssh')
-rw-r--r-- | dev-ruby/net-ssh/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/net-ssh/metadata.xml | 14 | ||||
-rw-r--r-- | dev-ruby/net-ssh/net-ssh-2.10.0.ebuild | 30 | ||||
-rw-r--r-- | dev-ruby/net-ssh/net-ssh-4.2.0.ebuild | 37 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest new file mode 100644 index 000000000000..b6319367db0a --- /dev/null +++ b/dev-ruby/net-ssh/Manifest @@ -0,0 +1,5 @@ +DIST net-ssh-git-2.10.0.tgz 172885 BLAKE2B 6b5c9928191fe40afe289fc2639d12e56160522c85553cba13393347c8ef02bbe6206dbefc23b65c04980cf9761b2b40a364d8e3e13e4073950736cf53fbf480 SHA512 f66db6465667baf0c253868cc15aab3261675a8c15ca4b244c3cd587ae5e8b7a273959b97d5fc498ff1b19e1f06f51ea571573d243366a59ef56faf41c2ae347 +DIST net-ssh-git-4.2.0.tgz 197417 BLAKE2B 5714185d9b83d3010e6b9baa07ac541e9227379cbfecc3a506d870d8d9fa528f59b605df4ff02ae6bfc16893bfb22734395096a77fcbe19fb939ecc1a343a9b5 SHA512 0a3609590d797a8cb4732e8cf743606a4919f57475b6eb2447a3db0c28f1bd405804fdc47a4062e503acdd4b785a1de9794a6db433cabb884105166eff6a8c5b +EBUILD net-ssh-2.10.0.ebuild 858 BLAKE2B c2780b2cdb45c313638ef427dbdfd588e121449df679d5f1b7423dc489964681cb440dd7e1b54bd5cc131eb9f40e8dae05095b82a3a73edb1dda884bec2dad3a SHA512 7b5630727ba7547c4a6f86e89547270064b77ec874eff574bb724ec8347994e3e4f38e01d1f981da67b187942e7cf648c09681d6a046b0a4a27fa623f2381087 +EBUILD net-ssh-4.2.0.ebuild 1103 BLAKE2B dc9fcdbfaa2981422e54186d065a7beea532fae698fb5a071e910405a6b9a195322cff7a6af0085d9ceb3d4cff0b55869676925125e0df189d4da5463382aaa8 SHA512 1e0525a708142728fc71029e084ac95a5c06ac49aedc447b426fb2727b78aa8e515c075897587137a5153c8989cf80b037d503a02016ba0db00a3bc100dce7fa +MISC metadata.xml 460 BLAKE2B fcbb901a6f9f2c80489e28346a21ea7cf5dcf7eed49c72dcf8cad079fdb2f52969d03b619d4535206c078c9d2d3a6c0492b035919eef89b3eec8207ea7e3ecb6 SHA512 9e66fd4626a890ca908b35e1cba4b5712ceef882fd6dd1f72ef20e6b07ca0b32cd3fd92d84cd0816c38cbc1d3d76152fccdd1e90d901b3d0f8b096b3274b8cf4 diff --git a/dev-ruby/net-ssh/metadata.xml b/dev-ruby/net-ssh/metadata.xml new file mode 100644 index 000000000000..dd5cfa357115 --- /dev/null +++ b/dev-ruby/net-ssh/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">net-ssh/net-ssh</remote-id> + </upstream> + <use> + <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> via <pkg>dev-ruby/rbnacl</pkg> for Ed25519 support</flag> + </use> +</pkgmetadata> diff --git a/dev-ruby/net-ssh/net-ssh-2.10.0.ebuild b/dev-ruby/net-ssh/net-ssh-2.10.0.ebuild new file mode 100644 index 000000000000..718cda0972f0 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-2.10.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby20 ruby21 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="2.6" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend "virtual/ruby-ssl" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_all.rb || die "Tests failed." +} diff --git a/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild b/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild new file mode 100644 index 000000000000..89e2cbe7b45f --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +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 ~ppc ppc64 x86" +IUSE="sodium test" + +ruby_add_rdepend "virtual/ruby-ssl sodium? ( dev-ruby/rbnacl:4 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 + + # Don' try to use libsodium-related tests with USE=-sodium + if ! use sodium ; then + rm -f test/authentication/test_ed25519.rb + fi + + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die +} |