The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Nov 5 15:04:05 2026 UTC (10 days, 14 hours ago) by taca
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 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.14: 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.13: preferred, colored
Changes since revision 1.13: +2 -2 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.13: download - view: text, markup, annotated - select for diffs
Sun Dec 4 16:35:12 2022 UTC (3 years, 11 months 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
security/ruby-net-scp: update to 4.0.0

* net-ssh7.* support.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 7 14:42:47 2020 UTC (6 years, 5 months ago) by taca
Branches: MAIN
CVS tags: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
security/ruby-net-scp: update to 3.0.0

Update ruby-net-scp to 3.0.0.


=== 3.0.0

* Net::SSH 6.* support

Revision 1.11: 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-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -3 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.10: download - view: text, markup, annotated - select for diffs
Sat Sep 26 23:37:45 2015 UTC (11 years, 1 month 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.

Revision 1.9: 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-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 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.8: download - view: text, markup, annotated - select for diffs
Sun Sep 15 14:57:11 2013 UTC (13 years, 2 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Update ruby-net-scp to 1.1.2.

=== 1.1.2 / 6 Jul 2013

* Explicit convert to string in shellescape [jwils]

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 9 12:29:26 2013 UTC (13 years, 2 months ago) by fhajny
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Resign as maintainer (not really using Ruby at all any more).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 16 17:15:26 2013 UTC (13 years, 5 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Update ruby-net-scp to 1.1.1.

=== 1.1.1 / 13 May 2013

* Allow passing a shell to use when executing scp. [Arthur Schreiber]

Revision 1.5: 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-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 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.4: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:49:34 2010 UTC (16 years, 1 month ago) by taca
Branches: MAIN
CVS tags: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Update security/ruby-net-scp to 1.0.4.

=== 1.0.4 / 16 Sep 2010

* maintain filename sanitization compatibility with ruby 1.8.6 [Sung Pae, Tim Charper]

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Sep 10 07:42:48 2010 UTC (16 years, 2 months ago) by taca
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -9 lines
Update security/ruby-net-scp to 1.0.3.

* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Remove default value of GEM_BUILD.
* Ajust new ruby package's framework.

=== 1.0.3 / 17 Aug 2010

* replace :sanitize_file_name with a call to String#shellescape [Sung Pae]
* Added gemspec file and removed echoe dependency [Miron Cuperman, Delano Mandelbaum]
* Removed Hanna dependency in Rakefile [Delano Mandelbaum]

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 8 14:39:14 2009 UTC (16 years, 11 months ago) by taca
Branches: MAIN
CVS tags: 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: +2 -1 lines
Use DIST_SUBDIR since distfiles changed.

No other functional change at all.

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
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>