Package Details: ruby-net-ssh 5.0.2-2

Git Clone URL: https://aur.archlinux.org/ruby-net-ssh.git (read-only, click to copy)
Package Base: ruby-net-ssh
Description: A pure-Ruby implementation of the SSH2 client protocol.
Upstream URL: https://rubygems.org/gems/net-ssh
Licenses: GPL
Submitter: mtorromeo
Maintainer: axil42
Last Packager: axil42
Votes: 84
Popularity: 0.000000
First Submitted: 2010-02-16 11:31
Last Updated: 2018-08-13 19:58

Latest Comments

bastelfreak commented on 2020-10-30 13:49

Hi! I updated the PKGBUILD to build properly from source with tests:

# Maintainer:  Achilleas Pipinellis <axilleas at archlinux.info>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux (a) free.fr>
# Contributor: Tim Meusel <tim@bastelfreak.de>
# Contributor: gem2arch 0.1

_gemname='net-ssh'
pkgname="ruby-${_gemname}"
pkgver=6.1.0
pkgrel=1
pkgdesc='A pure-Ruby implementation of the SSH2 client protocol.'
arch=('any')
url='https://github.com/net-ssh/net-ssh'
license=('MIT')
depends=('ruby' 'ruby-ed25519' 'ruby-x25519' 'ruby-bcrypt_pbkdf')
makedepends=('ruby-rake' 'ruby-bundler' 'ruby-rdoc')
checkdepends=('ruby-minitest' 'ruby-mocha')
options=('!emptydirs')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha512sums=('1d92ad19cb8bf80aec4ada23c49b91588c722551695cb0dd7b2954001fd71b4b4c030f8317b86766451847273c6116baa041c03e2415df2b0f81b20551dd8566')

prepare() {
  cd "${srcdir}/${_gemname}-${pkgver}"
  sed -E 's|~>|>=|g' -i ${_gemname}.gemspec
  sed --in-place 's|`git ls-files -z`|`find . -print0`|' "${_gemname}.gemspec"
}

build() {
  cd "${srcdir}/${_gemname}-${pkgver}"
  gem build ${_gemname}.gemspec
}

check() {
  cd "${srcdir}/${_gemname}-${pkgver}"
  rake test
}

package() {
  cd "${srcdir}/${_gemname}-${pkgver}"
  local _gemdir="$(gem env gemdir)"
  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
  install -Dm 644 README.md CHANGES.txt THANKS.txt net-ssh-public_cert.pem -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
}

# vim: ts=2 sw=2 et:

let me know if you're not interested in maintaining it. I'm happy to do so.

Anonymous comment on 2012-04-08 10:59

mtorromeo commented on 2010-06-23 19:05

Updated

kidoz commented on 2010-06-12 11:55

update
last: net-ssh 2.0.23

mortzu commented on 2010-04-11 18:36

update or orphan