summaryrefslogtreecommitdiff
path: root/dev-ruby/net-ssh
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-ruby/net-ssh
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-ruby/net-ssh')
-rw-r--r--dev-ruby/net-ssh/Manifest5
-rw-r--r--dev-ruby/net-ssh/metadata.xml16
-rw-r--r--dev-ruby/net-ssh/net-ssh-4.2.0.ebuild37
-rw-r--r--dev-ruby/net-ssh/net-ssh-5.2.0.ebuild38
-rw-r--r--dev-ruby/net-ssh/net-ssh-6.0.0.ebuild44
-rw-r--r--dev-ruby/net-ssh/net-ssh-6.0.2.ebuild44
-rw-r--r--dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild44
-rw-r--r--dev-ruby/net-ssh/net-ssh-6.1.0.ebuild44
8 files changed, 272 insertions, 0 deletions
diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest
new file mode 100644
index 000000000000..61adbe190e25
--- /dev/null
+++ b/dev-ruby/net-ssh/Manifest
@@ -0,0 +1,5 @@
+DIST net-ssh-git-4.2.0.tgz 197417 BLAKE2B 5714185d9b83d3010e6b9baa07ac541e9227379cbfecc3a506d870d8d9fa528f59b605df4ff02ae6bfc16893bfb22734395096a77fcbe19fb939ecc1a343a9b5 SHA512 0a3609590d797a8cb4732e8cf743606a4919f57475b6eb2447a3db0c28f1bd405804fdc47a4062e503acdd4b785a1de9794a6db433cabb884105166eff6a8c5b
+DIST net-ssh-git-5.2.0.tgz 209986 BLAKE2B 6a1bc97da733420607c6ebe69a01f42d58998297a12394a29c9b4f5af425781d6b1b3535cecef21a0918eefc2e032f519fce9c5691c0a735c7810452f468d780 SHA512 cf2fa9817b124f0f35115abef51a4865073b3126b94d66cd307994bba06745513aaab1c1bcf64907a7b3bbce793b272b3f521cfa93f9339ca78ec8cef09cbeeb
+DIST net-ssh-git-6.0.0.tgz 218503 BLAKE2B 5cd2126513233eaf169fd0eab4876e7c0c4b61f7cb3df19d7e369403fbba39ee68f4ade61ec58ed9124c460af5d39bc93ccf32a320ea19d02fc3d34bb8413f37 SHA512 18dd1f694e6b57f6f22c356a0726f5eb8aff9921f097b50f072c2829c4bda8fa697c5e71a49da862beca59a703a3146b29b80f8b5dfed3a3b661e05bc68b3387
+DIST net-ssh-git-6.0.2.tgz 219657 BLAKE2B c514237e6edf4a9f7581850a1a5ecce352fd5f56c633587ddc26571c6bff06172f177168d8e55d053615050fff5d7f0946c4aafc0e31890ea630b741c99b27ee SHA512 f6fa4ab3b009429e08d76bf412bb0a93083c17d58ad6e24cef7d4152915dca2d335a533223ff57b65c9053a7ed5df4905e3231d50b0d52ea03f6403a6c1cdec4
+DIST net-ssh-git-6.1.0.tgz 220190 BLAKE2B a5ae0f15cf3dac8934de0b3216541415cc947214ea33d57770b5f2bf2594fa5b29b8dd9a417233de0ed243a12cdc547e5e87861767c5bbc65adb90cdbe58a484 SHA512 1d92ad19cb8bf80aec4ada23c49b91588c722551695cb0dd7b2954001fd71b4b4c030f8317b86766451847273c6116baa041c03e2415df2b0f81b20551dd8566
diff --git a/dev-ruby/net-ssh/metadata.xml b/dev-ruby/net-ssh/metadata.xml
new file mode 100644
index 000000000000..05970968c67f
--- /dev/null
+++ b/dev-ruby/net-ssh/metadata.xml
@@ -0,0 +1,16 @@
+<?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="ed25519">Use <pkg>dev-ruby/ed25519</pkg> for Ed25519 support</flag>
+ <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> via <pkg>dev-ruby/rbnacl</pkg> for Ed25519 support</flag>
+ </use>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
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..a1cd8e45c46a
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+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 ~arm 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
+}
diff --git a/dev-ruby/net-ssh/net-ssh-5.2.0.ebuild b/dev-ruby/net-ssh/net-ssh-5.2.0.ebuild
new file mode 100644
index 000000000000..09bc1c989cec
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-5.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+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="5"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
+IUSE="ed25519 test"
+
+ruby_add_rdepend "virtual/ruby-ssl ed25519? ( dev-ruby/ed25519 dev-ruby/bcrypt_pbkdf )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
+
+all_ruby_prepare() {
+ # Avoid bundler dependency
+ sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die
+}
+
+src_test() {
+ # prevent tests from trying to connect to ssh-agent socket and failing
+ unset SSH_AUTH_SOCK
+ if ! use ed25519; then
+ export NET_SSH_NO_ED25519=true
+ fi
+ ruby-ng_src_test
+}
diff --git a/dev-ruby/net-ssh/net-ssh-6.0.0.ebuild b/dev-ruby/net-ssh/net-ssh-6.0.0.ebuild
new file mode 100644
index 000000000000..124bde4b5785
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-6.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt"
+RUBY_FAKEGEM_EXTRAINSTALL="support"
+
+RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="ed25519 test"
+
+ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
+
+all_ruby_prepare() {
+ # Avoid bundler dependency
+ sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die
+
+ sed -e "s:require_relative ':require './:" \
+ -e 's/git ls-files -z/find -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+src_test() {
+ # prevent tests from trying to connect to ssh-agent socket and failing
+ unset SSH_AUTH_SOCK
+ if ! use ed25519; then
+ export NET_SSH_NO_ED25519=true
+ fi
+ ruby-ng_src_test
+}
diff --git a/dev-ruby/net-ssh/net-ssh-6.0.2.ebuild b/dev-ruby/net-ssh/net-ssh-6.0.2.ebuild
new file mode 100644
index 000000000000..124bde4b5785
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-6.0.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt"
+RUBY_FAKEGEM_EXTRAINSTALL="support"
+
+RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="ed25519 test"
+
+ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
+
+all_ruby_prepare() {
+ # Avoid bundler dependency
+ sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die
+
+ sed -e "s:require_relative ':require './:" \
+ -e 's/git ls-files -z/find -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+src_test() {
+ # prevent tests from trying to connect to ssh-agent socket and failing
+ unset SSH_AUTH_SOCK
+ if ! use ed25519; then
+ export NET_SSH_NO_ED25519=true
+ fi
+ ruby-ng_src_test
+}
diff --git a/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild b/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild
new file mode 100644
index 000000000000..e99cacb26708
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt"
+RUBY_FAKEGEM_EXTRAINSTALL="support"
+
+RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="ed25519 test"
+
+ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/x25519 dev-ruby/bcrypt_pbkdf:1 )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
+
+all_ruby_prepare() {
+ # Avoid bundler dependency
+ sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die
+
+ sed -e "s:require_relative ':require './:" \
+ -e 's/git ls-files -z/find -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+src_test() {
+ # prevent tests from trying to connect to ssh-agent socket and failing
+ unset SSH_AUTH_SOCK
+ if ! use ed25519; then
+ export NET_SSH_NO_ED25519=true
+ fi
+ ruby-ng_src_test
+}
diff --git a/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild b/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild
new file mode 100644
index 000000000000..124bde4b5785
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt"
+RUBY_FAKEGEM_EXTRAINSTALL="support"
+
+RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="ed25519 test"
+
+ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
+
+all_ruby_prepare() {
+ # Avoid bundler dependency
+ sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die
+
+ sed -e "s:require_relative ':require './:" \
+ -e 's/git ls-files -z/find -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+src_test() {
+ # prevent tests from trying to connect to ssh-agent socket and failing
+ unset SSH_AUTH_SOCK
+ if ! use ed25519; then
+ export NET_SSH_NO_ED25519=true
+ fi
+ ruby-ng_src_test
+}