diff options
Diffstat (limited to 'dev-ruby/net-ssh')
-rw-r--r-- | dev-ruby/net-ssh/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/net-ssh/metadata.xml | 21 | ||||
-rw-r--r-- | dev-ruby/net-ssh/net-ssh-7.2.0.ebuild | 50 |
3 files changed, 64 insertions, 11 deletions
diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest index 4aff1b2bef5b..c5c411d440d8 100644 --- a/dev-ruby/net-ssh/Manifest +++ b/dev-ruby/net-ssh/Manifest @@ -1,7 +1,9 @@ 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 DIST net-ssh-git-7.1.0.tgz 229217 BLAKE2B ab3c46d3d8831335495ae72dc60f2659109b66566f04117a16e4fd41085203b6a2d333e65ffcda4e390c96a2b808c68baeb168be1a2e23d4c797ad63b5af93f9 SHA512 723f487e77526a7acba8a9c8f09dd85c8c0bb21577d148f6c4280c79d603d3d364e29fb55b2b282064b5c108465efb2b1da061a2ba5872d575b0be264f493745 +DIST net-ssh-git-7.2.0.tgz 232852 BLAKE2B e1f9910911cc143c1a621d23f272b123509c4f3ede6498197715260e8d89297a8fed9905a0e73436f7ba37159a7b698ba7fd806d44b8b9ea52271f21b7735785 SHA512 b7dd7dc2543d650ba95627c16cac02294f25cc637fcd607f5cc495d51998df958f42cda021708946c9935e1b0da41af359010906340bf96981ff839f6e3278cb EBUILD net-ssh-6.1.0-r2.ebuild 1265 BLAKE2B 48bdcdb585462a553fa5b71b65c5e1ebd55bdbc5dc769e35ee9d9040a7c073458ab48ec12705f1a472913f6ee7cc022c2f00992d02c5d200b2eb5ccc795cfb19 SHA512 5c9be21772ba9a7c24bb7f394cb7f6a08548dbc07812dce94970f9c970a519fbd02e73098b2fa260056785923090518c78f0af57caf1d256584ab5758be04139 EBUILD net-ssh-7.0.1.ebuild 1265 BLAKE2B 48bdcdb585462a553fa5b71b65c5e1ebd55bdbc5dc769e35ee9d9040a7c073458ab48ec12705f1a472913f6ee7cc022c2f00992d02c5d200b2eb5ccc795cfb19 SHA512 5c9be21772ba9a7c24bb7f394cb7f6a08548dbc07812dce94970f9c970a519fbd02e73098b2fa260056785923090518c78f0af57caf1d256584ab5758be04139 EBUILD net-ssh-7.1.0.ebuild 1265 BLAKE2B 48bdcdb585462a553fa5b71b65c5e1ebd55bdbc5dc769e35ee9d9040a7c073458ab48ec12705f1a472913f6ee7cc022c2f00992d02c5d200b2eb5ccc795cfb19 SHA512 5c9be21772ba9a7c24bb7f394cb7f6a08548dbc07812dce94970f9c970a519fbd02e73098b2fa260056785923090518c78f0af57caf1d256584ab5758be04139 -MISC metadata.xml 429 BLAKE2B 12f25e38fdd426b0814611f3036ef401703666e1ac651d807e587187f641736627a35ba117f8707208f07716f31d4df8b471f38dd221fce79109eb2aaa749dc3 SHA512 4c760e2d9799444907f4b05c26ae95b6c18eb108786ce90a5b51c58cc903f4ec90da060556cab72fb80741c3786613589a4d403c64f9b411631d6c4b4ea982de +EBUILD net-ssh-7.2.0.ebuild 1300 BLAKE2B ce6ef15180650e2517612e867bb4eb235812d6f1a055665c195cdd8e10b8a6f4fe88b51da13248845dd1f21356a825ab47146b2ebe8ff99d94c9004762b135f9 SHA512 19a00483e8de7cea3012922f340b424ca3544e010c93760baf25aa5f9ebd4a97b6a356a736ec4cb4f236ba05e348834b385c05e143b8e9fd4298e1fa5aca3d31 +MISC metadata.xml 549 BLAKE2B 5b85ef117ec51ad3407befa78ff010476117b7381fce24e906270163174691d1bfcfe66d3e4cfaad2e7d866bc1fad5e7e5745d6151eefd95d47b665ca8246ac6 SHA512 bc88be266c59878f3a7d17e01e80bedd962cfa4778b539a753340567e2bfac041453ecb35da38e908f182b1c5857d49dbfcc689d08dd6c696ad2e08647d63dc2 diff --git a/dev-ruby/net-ssh/metadata.xml b/dev-ruby/net-ssh/metadata.xml index 12d968ec6663..bc9c39fc40f7 100644 --- a/dev-ruby/net-ssh/metadata.xml +++ b/dev-ruby/net-ssh/metadata.xml @@ -1,14 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://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> - </use> + <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="chacha20">Use <pkg>dev-ruby/rbnacl</pkg> for chacha20-poly1305@openssh.com support</flag> + <flag name="ed25519">Use <pkg>dev-ruby/ed25519</pkg> for Ed25519 support</flag> + </use> </pkgmetadata> diff --git a/dev-ruby/net-ssh/net-ssh-7.2.0.ebuild b/dev-ruby/net-ssh/net-ssh-7.2.0.ebuild new file mode 100644 index 000000000000..3956989f86d6 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-7.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +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="chacha20 ed25519 test" +RESTRICT="!test? ( test )" + +ruby_add_rdepend " + virtual/ruby-ssl + chacha20? ( dev-ruby/rbnacl ) + 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 +} |