The NetBSD Project

CVS log for pkgsrc/security/ruby-net-scp/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / security / ruby-net-scp

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 5 15:04:05 2026 UTC (10 days, 13 hours ago) by taca
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -10 lines
security/ruby-net-scp: update to 4.2.1

4.1.1 (2026-10-22)

* Allow net-ssh 8
* Fix frozen string literal compatibility [npezza93, mfazekas]
  - Use mutable string for scp command construction
  - Use mutable string for error_string initialization
* Add Ruby 3.4 and ruby-head to CI matrix
* Add Ruby 4.0+ compatibility (logger, rdoc gems)
* Drop EOL Ruby 2.3-2.5 from CI

4.1.2 (2026-10-25)

* Security: Downloads no longer apply setuid, setgid or sticky bits sent by
  the server, check that a server-chosen local name matches the requested
  remote basename (as OpenSSH does since CVE-2019-6111), and refuse to
  follow an existing local symlink at a server-named path instead of writing
  through it.  The local path passed by the caller may still be a symlink.
  O_NOFOLLOW suggested in net-sftp#162 by srosenhamer [#104]
* Security: Recursive downloads, and downloads into a directory, reject file
  names from the server that are not a single path component (such as `../x`
  or `a/b`) instead of writing outside the target directory.  Reported in
  net-sftp#162 by srosenhamer [#103]
* Raise `Net::SCP::Error` when the server ends a transfer before the SCP
  protocol finishes, instead of reporting a truncated transfer as successful
  [#105, #96]
* Opening an `scp://` URI through `uri/open-scp` now percent-decodes the
  user, password and path (once, keeping a literal `+`) and passes an IPv6
  address to SSH without its brackets, so `scp://user@[::1]/a%20b` downloads
  `/a b` from `::1`.  Thanks @OskarEichler [#94]
* Opening an `scp://` URI through `uri/open-scp` now writes the download
  into the OpenURI buffer as it arrives, so large files spill to a temporary
  file instead of being held in memory twice.  Thanks @OskarEichler [#93]
* Parsing an `scp://` URI with a valueless query entry (`?flag`) or an empty
  one (`?a=1&&b=2`) no longer raises `NoMethodError`, and `URI::SCP#options`
  reflects the current query after `query=`.  Thanks @OskarEichler [#92]
* Opening an `scp://` URI through `uri/open-scp` now calls `:progress_proc`
  with the number of bytes received, as OpenURI documents, instead of with
  the SCP progress arguments (which raised `ArgumentError` for a lambda),
  and calls `:content_length_proc` once with the file size.  Thanks
  @OskarEichler [#91]
* Opening an `scp://` URI through `uri/open-scp` now uses the port and
  password given in the URI; they were passed outside the `:ssh` options and
  ignored.  Options given in `:ssh` still take precedence.  Thanks
  @OskarEichler [#90]
* Close the local file net-scp opened for an upload or download when the
  transfer fails, so it is not left open (and locked on Windows) [#89, #20]
* With `preserve: true`, recursive downloads now keep directories'
  modification times, which were overwritten when their contents were
  created.  Thanks @OskarEichler [#88]
* `upload`/`upload!` with a zero, negative or non-Integer `:chunk_size` now
  raises `ArgumentError` before opening a channel; previously `0` hung
  forever sending empty chunks, a negative value or a String failed only
  after the channel was open, and a Float was silently truncated.  Thanks
  @OskarEichler [#87]
* Uploading from an IO that isn't at its start now announces only the
  remaining bytes, instead of the full size, which made the transfer hang or
  fail.  Thanks @OskarEichler [#86]
* Accept a `Pathname` as the local path for uploads and downloads;
  previously uploads looped forever and downloads kept only the last chunk.
  Thanks @OskarEichler [#85, #29]

4.1.3 (2026-10-27)

* Load again on Ruby 2.3-2.5 (4.1.2 needed 2.5), and declare
  `required_ruby_version >= 2.3` [#112, #110]
* Add a `quote:` option to `upload`/`download` for the remote path: `:posix`
  (default), `:windows` for Win32-OpenSSH under cmd.exe or PowerShell
  (double-quoted, `\` sent as `/`, paths containing `"`, `$`, `` ` ``, `%`,
  `!`, curly quotes, CR, LF or NUL rejected), `:none` to send the path
  unchanged to servers without a shell, or a callable.  By default a leading
  `~` or `~/` is now left for the remote shell to expand to the home
  directory; such paths previously referred to a literal `~` entry in the
  login directory and usually failed.  Thanks @ArtsiomMusin for the Windows
  patch in #34 [#109, #34, #9]
* Recursive uploads no longer abort on a broken symlink: it is skipped with
  a warning, the rest is uploaded, and a Net::SCP::Error listing the skipped
  paths is raised at the end, like OpenSSH scp.  Based on #23 by
  @maage. [#108, #23]

4.2.0 (2026-10-29)

* BREAKING: Require Ruby 2.6 or later.  Bundler on Ruby 2.3-2.5 resolves to
  4.1.3. [#114]

* Package only `lib`, `CHANGES.txt`, `LICENSE.txt` and `README.md` in the
  gem, about 40% smaller.  Thanks @yuri-zubov [#118]
* An exception raised during a transfer, such as `upload!` of a missing
  local file or an error from a progress callback, no longer leaves the
  channel registered and re-raises on later operations on the same session;
  the original error is raised once, library-opened files are closed and
  caller-passed IO is left open.  Thanks @ThomasSevestre and @OskarEichler
  [#107, #26, #97]

4.2.1 (2026-11-02)

* Add a `:limit` option to `upload`/`download` to cap bandwidth in Kbit/s,
  like `scp -l`.  Based on #53 by @marcelrouw [#119, #53]

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 9 14:56:25 2025 UTC (21 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3 lines
security/ruby-net-scp: update to 4.1.0

4.1.0 (2025-01-22)

There is no release notes, please refer commit log:
<https://github.com/net-ssh/net-scp/compare/v4.0.0...v4.1.0>.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 5 15:28:43 2019 UTC (7 years ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -7 lines
security/ruby-net-scp: update to 2.0.0

Update to ruby-net-scp to 2.0.0.

o pkgsr change:

  * Add "USE_LANGUAGES=	# none".


=== 2.0.0

* NetSSH 5.* support

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Feb 4 16:11:32 2015 UTC (11 years, 9 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Update ruby-net-scp to 1.2.1.

=== 1.2.1 / 30 Apr 2014

* Resign gem with new pubkey

=== 1.2.0 / 11 Apr 2014

* Get the error string during download [jkeiser]

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 02:07:09 2013 UTC (13 years, 9 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -4 lines
Update ruby-net-scp to 1.1.0.

=== 1.1.0 / 06 Feb 2013

* Added public cert. All gem releases are now signed. See INSTALL in readme.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Dec 2 14:33:54 2009 UTC (16 years, 11 months ago) by fhajny
Branches: TNF
CVS tags: pkgsrc-base, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Import ruby18-net-scp-1.0.2 as security/ruby-net-scp.

Library built on top of Net::SSH that implements the SCP "secure copy"
protocol for transfering files.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Dec 2 14:33:54 2009 UTC (16 years, 11 months ago) by fhajny
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>