summaryrefslogtreecommitdiff
path: root/dev-ruby/net-ssh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-ruby/net-ssh
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-ruby/net-ssh')
-rw-r--r--dev-ruby/net-ssh/Manifest2
-rw-r--r--dev-ruby/net-ssh/net-ssh-7.0.1.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest
index d19d17913f3c..fa0b6fd21304 100644
--- a/dev-ruby/net-ssh/Manifest
+++ b/dev-ruby/net-ssh/Manifest
@@ -1,6 +1,8 @@
DIST net-ssh-git-5.2.0.tgz 209986 BLAKE2B 6a1bc97da733420607c6ebe69a01f42d58998297a12394a29c9b4f5af425781d6b1b3535cecef21a0918eefc2e032f519fce9c5691c0a735c7810452f468d780 SHA512 cf2fa9817b124f0f35115abef51a4865073b3126b94d66cd307994bba06745513aaab1c1bcf64907a7b3bbce793b272b3f521cfa93f9339ca78ec8cef09cbeeb
DIST net-ssh-git-6.1.0.tgz 220190 BLAKE2B a5ae0f15cf3dac8934de0b3216541415cc947214ea33d57770b5f2bf2594fa5b29b8dd9a417233de0ed243a12cdc547e5e87861767c5bbc65adb90cdbe58a484 SHA512 1d92ad19cb8bf80aec4ada23c49b91588c722551695cb0dd7b2954001fd71b4b4c030f8317b86766451847273c6116baa041c03e2415df2b0f81b20551dd8566
+DIST net-ssh-git-7.0.1.tgz 227016 BLAKE2B 98cdbad0c8c52d44f3d4e288de7de0389680c3f77d5cbd33e4a142d1f09881910f2dc74df01ecfed755e2e0ab37440ee19cf436b8aa7c49a3859bf07b3844b15 SHA512 3e41537b3b7e34f043c768959c382f72a630bf3ac430bbbd743323d9b0eade6c7b94f8948418b7f3e1aa2422fcb87829387aaa01e1e384ed297e2397cee33feb
EBUILD net-ssh-5.2.0.ebuild 1032 BLAKE2B e19af0235144a5bbfa6e15c3a94789cfa6116a77a56b64e70040546849a06f8072632dff3fcb55e29576317438ac48c715aedb9d093933775b4759426e020d71 SHA512 03ef7ae6bd2ae1537c11ca88f250dbf0eb79f3d0a9db1dc30f386cfa165b6f4d1095e848da9c156cc31185fa8b5374c739c289558fdea3e06a06507106852b12
EBUILD net-ssh-6.1.0-r1.ebuild 1258 BLAKE2B 5d58072a3d8b197601865a5cf2c74e31ea9ef1b63f3c446f73fd311a11fd5107bdc4198172c6450ce65cbca41248e3ff3000125f3890b317da926133d432bfad SHA512 301572ea0e6b4d1c9e6353e97bb5b00832622a08cd3573766ffeb5d1ee7c7152e9113cb39d985f4297d37d493afae47c775c7aeb805e9d9cb9509e66a8fcb1b9
EBUILD net-ssh-6.1.0-r2.ebuild 1255 BLAKE2B 2c039d18bcc8ec0ab4e18245bb2a5c0f3631b3291df1bfb4bede6b2810073d26d7754b7867a733852e1fa202982944d09f54624901c3f23e603239565615e8f4 SHA512 ce304adcc918faa390f492b1982926d341c66dd1026d50d9d2218db6ffa61b2fb39c70a6e52326cabe91e720d33e17fe04cb5f70bf7964d597727c4bdbe59681
+EBUILD net-ssh-7.0.1.ebuild 1262 BLAKE2B e2002d301547894436b274519ea5a04ccc5ef4a55c1eee56410d6fc94984e20def72a87cd796ae8e63de953ce168fc909280e65d8c8c99b9f635bd800013ca70 SHA512 72ae3a0838da9b3d3007d8953ab65f50240ed72da63b95f0512c361e6e77a42dc2012452c6a0ee8b3a7629598a6c1ddf55ab5aff8aecb04eb86953ce4a9709f7
MISC metadata.xml 429 BLAKE2B 12f25e38fdd426b0814611f3036ef401703666e1ac651d807e587187f641736627a35ba117f8707208f07716f31d4df8b471f38dd221fce79109eb2aaa749dc3 SHA512 4c760e2d9799444907f4b05c26ae95b6c18eb108786ce90a5b51c58cc903f4ec90da060556cab72fb80741c3786613589a4d403c64f9b411631d6c4b4ea982de
diff --git a/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild b/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild
new file mode 100644
index 000000000000..047bf211bc05
--- /dev/null
+++ b/dev-ruby/net-ssh/net-ssh-7.0.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+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"
+RESTRICT="!test? ( 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
+}