./security/ruby-sshkit, Makes it easy to write structured, testable SSH commands

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.16.0, Package name: ruby24-sshkit-1.16.0, Maintainer: pkgsrc-users

A comprehensive toolkit for remotely running commands in a structured
manner on groups of servers.

Required to run:
[security/ruby-net-ssh] [security/ruby-net-scp] [lang/ruby24-base]

Required to build:

Master sites:

SHA1: 73d644235f07c3e5224dfd158b720ffc273502be
RMD160: 81167b05fed00e45fa0579612c8f401af87e8b85
Filesize: 144.5 KB

Version history: (Expand)

CVS history: (Expand)

   2018-03-14 16:33:33 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
security/ruby-sshkit: update to 1.16.0

## [1.16.0][] (2018-02-03)

  * [#417](https://github.com/capistrano/sshkit/pull/417): Cache key generation \ 
for connections becomes slow when `known_hosts` is a valid `net/ssh` options and \ 
`known_hosts` file is big. This changes the cache key generation and fixes \ 
performance issue - [@ElvinEfendi](https://github.com/ElvinEfendi).
## [1.15.1][] (2017-11-18)

This is a small bug-fix release that fixes problems with `upload!` and \ 
`download!` that were inadvertently introduced in 1.15.0.

### Breaking changes

  * None

### Bug fixes

  * [#410](https://github.com/capistrano/sshkit/pull/410): fix NoMethodError \ 
when using upload!/download! with Pathnames - \ 
  * [#411](https://github.com/capistrano/sshkit/pull/410): fix upload!/download! \ 
when using relative paths outside of `within` blocks -  \ 

## [1.15.0][] (2017-11-03)

### New features

  * [#408](https://github.com/capistrano/sshkit/pull/408): upload! and download! \ 
now respect `within` - [@sj26](https://github.com/sj26)

### Potentially breaking changes

  * `upload!` and `download!` now support remote paths which are
    relative to the `within` working directory. They were previously documented
    as only supporting absolute paths, but relative paths still worked relative
    to the remote working directory. If you rely on the previous behaviour you
    may need to adjust your code.
   2017-09-10 17:36:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sshkit to 1.14.0.

1.14.0 (2017-06-30)

Breaking changes

* None

New features

* #401: Add :log_percent option to specify upload!/download! transfer log
  percentage - @aubergene
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   2017-04-22 18:43:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-sshkit to 1.13.1.

## [1.13.1][] (2017-03-31)

### Breaking changes

  * None

### Bug fixes

  * [#397](https://github.com/capistrano/sshkt/pull/397): Fix NoMethodError \ 
assign_defaults with net-ssh older than 4.0.0 - \ 

## [1.13.0][] (2017-03-24)

### Breaking changes

  * None

### New features

  * [#372](https://github.com/capistrano/sshkit/pull/372): Use cp_r in local \ 
backend with recursive option - \ 

### Bug fixes

  * [#390](https://github.com/capistrano/sshkit/pull/390): Properly wrap Ruby \ 
StandardError w/ add'l context - \ 
  * [#392](https://github.com/capistrano/sshkit/pull/392): Fix open two \ 
connections with changed cache key - [@shirosaki](https://github.com/shirosaki)
   2017-03-20 16:10:13 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-airbrussh to 1.12.0.

## [1.12.0][] (2017-02-10)

### Breaking changes

  * None

### New features

  * Add `SSHKit.config.default_runner_config` option that allows overriding \ 
default runner configs.

## [1.11.5][] (2016-12-16)

### Bug fixes

  * Do not prefix `exec` command
    [PR #378](https://github.com/capistrano/sshkit/pull/378) @dreyks

## [1.11.4][] (2016-11-02)

  * Use string interpolation for environment variables to avoid escaping issues
    with sprintf
    [PR #280](https://github.com/capistrano/sshkit/pull/280)
    @Sinjo - Chris Sinjakli
   2016-10-17 17:45:26 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-sshkit to 1.11.3.

## [1.11.3][] (2016-09-16)

  * Fix known_hosts caching to match on the entire hostlist
    [PR #364](https://github.com/capistrano/sshkit/pull/364) @byroot

## [1.11.2][] (2016-07-29)

### Bug fixes

  * Fixed a crash occurring when `Host@keys` was set to a non-Enumerable.
    @xavierholt [PR #360](https://github.com/capistrano/sshkit/pull/360)

## [1.11.1][] (2016-06-17)

### Bug fixes

  * Fixed a regression in 1.11.0 that would cause
    `ArgumentError: invalid option(s): known_hosts` in some older versions of
    net-ssh. @byroot [#357](https://github.com/capistrano/sshkit/issues/357)

## [1.11.0][] (2016-06-14)

### Bug fixes

  * Fixed colorized output alignment in Logger::Pretty. @xavierholt
    [PR #349](https://github.com/capistrano/sshkit/pull/349)
  * Fixed a bug that prevented nested `with` calls

### Other changes

  * Known hosts lookup optimization is now enabled by default. @byroot

## 1.10.0 (2016-04-22)

  * You can now opt-in to caching of SSH's known_hosts file for a speed boost
    when deploying to a large fleet of servers. Refer to the
[README](https://github.com/capistrano/sshkit/tr … ts-caching) \ 
    details. We plan to turn this on by default in a future version of SSHKit.
    [PR #330](https://github.com/capistrano/sshkit/pull/330) @byroot
  * SSHKit now explicitly closes its pooled SSH connections when Ruby exits;
    this fixes `zlib(finalizer): the stream was freed prematurely` warnings
    [PR #343](https://github.com/capistrano/sshkit/pull/343) @mattbrictson
  * Allow command map entries (`SSHKit::CommandMap#[]`) to be Procs
    [PR #310](https://github.com/capistrano/sshkit/pull/310)

## 1.9.0

**Refer to the 1.9.0.rc1 release notes for a full list of new features, fixes,
and potentially breaking changes since SSHKit 1.8.1.** There are no changes
since 1.9.0.rc1.

## 1.9.0.rc1

### Potentially breaking changes

  * The SSHKit DSL is no longer automatically included when you `require` it.
    **This means you  must now explicitly `include SSHKit::DSL`.**
    See [PR #219](https://github.com/capistrano/sshkit/pull/219) for details.
  * `SSHKit::Backend::Printer#test` now always returns true
    [PR #312](https://github.com/capistrano/sshkit/pull/312) @mikz

### New features

  * `SSHKit::Formatter::Abstract` now accepts an optional Hash of options
    [PR #308](https://github.com/capistrano/sshkit/pull/308) @mattbrictson
  * Add `SSHKit::Backend.current` so that Capistrano plugin authors can refactor
    helper methods and still have easy access to the currently-executing Backend
    without having to use global variables.
  * Add `SSHKit.config.default_runner` options that allows to override default \ 
command runner.
    This option also accepts a name of the custom runner class.
  * The ConnectionPool has been rewritten in this release to be more efficient
    and have a cleaner internal API. You can still completely disable the pool
    by setting `SSHKit::Backend::Netssh.pool.idle_timeout = 0`.
    @mattbrictson @byroot [PR #328](https://github.com/capistrano/sshkit/pull/328)

### Bug fixes

  * make sure working directory for commands is properly cleared after `within` \ 
    [PR #307](https://github.com/capistrano/sshkit/pull/307)
  * display more accurate string for commands with spaces being output in \ 
    [PR #304](https://github.com/capistrano/sshkit/pull/304)
    [PR #319](https://github.com/capistrano/sshkit/pull/319) @mattbrictson
  * Fix a race condition experienced in JRuby that could cause multi-server
    deploys to fail. [PR #322](https://github.com/capistrano/sshkit/pull/322)
   2015-12-13 18:18:07 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-sshkit to 1.8.1.

## 1.8.1

  * Change license to MIT, thanks to all the patient contributors who gave
    their permissions.

## 1.8.0

  * add SSHKit::Backend::ConnectionPool#close_connections
    [PR #285](https://github.com/capistrano/sshkit/pull/285)
  * Clean up rubocop lint warnings
    [PR #275](https://github.com/capistrano/sshkit/pull/275)
    * Prepend unused parameter names with an underscore
    * Prefer “safe assignment in condition”
    * Disambiguate regexp literals with parens
    * Prefer `sprintf` over `String#%`
    * No longer shadow `caller_line` variable in `DeprecationLogger`
    * Rescue `StandardError` instead of `Exception`
    * Remove useless `private` access modifier in `TestAbstract`
    * Disambiguate block operator with parens
    * Disambiguate between grouped expression and method params
    * Remove assertion in `TestHost#test_assert_hosts_compare_equal` that \ 
compares something with itself
  * Export environment variables and execute command in a subshell.
    [PR #273](https://github.com/capistrano/sshkit/pull/273)
  * Introduce `log_command_start`, `log_command_data`, `log_command_exit` \ 
methods on `Formatter`
    [PR #257](https://github.com/capistrano/sshkit/pull/257)
    * Deprecate `@stdout` and `@stderr` accessors on `Command`
  * Add support for deprecation logging options.
    [PR #258](https://github.com/capistrano/sshkit/pull/258)
  * Quote environment variable values.
    [PR #250](https://github.com/capistrano/sshkit/pull/250)
    @Sinjo - Chris Sinjakli
  * Simplified formatter hierarchy.
    [PR #248](https://github.com/capistrano/sshkit/pull/248)
    * `SimpleText` formatter now extends `Pretty`, rather than duplicating.
  * Hide ANSI color escape sequences when outputting to a file.
    [Issue #245](https://github.com/capistrano/sshkit/issues/245),
    [PR #246](https://github.com/capistrano/sshkit/pull/246)
    * Now only color the output if it is associated with a tty,
      or the `SSHKIT_COLOR` environment variable is set.
  * Removed broken support for assigning an `IO` to the `output` config option.
    [Issue #243](https://github.com/capistrano/sshkit/issues/243),
    [PR #244](https://github.com/capistrano/sshkit/pull/244)
    * Use `SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)` instead
  * Added support for `:interaction_handler` option on commands.
    [PR #234](https://github.com/capistrano/sshkit/pull/234),
    [PR #242](https://github.com/capistrano/sshkit/pull/242)
  * Removed partially supported `TRACE` log level.
[2aa7890](https://github.com/capistrano/sshkit/co … a438d5ee78)
  * Add support for the `:strip` option to the `capture` method and strip by \ 
default on the `Local` backend.
    [PR #239](https://github.com/capistrano/sshkit/pull/239),
    [PR #249](https://github.com/capistrano/sshkit/pull/249)
    * The `Local` backend now strips by default to be consistent with the \ 
`Netssh` one.
    * This reverses change \ 
[7d15a9a](https://github.com/capistrano/sshkit/co … c038ce6218) \ 
to the `Local` capture API to remove stripping by default.
    * If you require the raw, unstripped output, pass the `strip: false` option: \ 
`capture(:ls, strip: false)`
  * Simplified backend hierarchy.
    [PR #235](https://github.com/capistrano/sshkit/pull/235),
    [PR #237](https://github.com/capistrano/sshkit/pull/237)
    * Moved duplicate implementations of `make`, `rake`, `test`, `capture`, \ 
`background` on to `Abstract` backend.
    * Backend implementations now only need to implement `execute_command`, \ 
`upload!` and `download!`
    * Removed `Printer` from backend hierarchy for `Local` and `Netssh` backends \ 
(they now just extend `Abstract`)
    * Removed unused `Net::SSH:LogLevelShim`
  * Removed dependency on the `colorize` gem. SSHKit now implements its own ANSI \ 
color logic, with no external dependencies. Note that SSHKit now only supports \ 
the `:bold` or plain modes. Other modes will be gracefully ignored. \ 
  * New API for setting the formatter: `use_format`. This differs from `format=` \ 
in that it accepts options or arguments that will be passed to the formatter's \ 
constructor. The `format=` syntax will be deprecated in a future release. \ 
  * SSHKit now immediately raises a `NameError` if you try to set a formatter \ 
that does not exist. [#295](https://github.com/capistrano/sshkit/issues/295)
   2015-11-04 02:18:12 by Alistair G. Crooks | Files touched by this commit (434)
Log message:
Add SHA512 digests for distfiles for security category

Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.