pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/ruby-net-imap



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat May 17 07:57:04 UTC 2025

Modified Files:
        pkgsrc/net/ruby-net-imap: Makefile PLIST distinfo

Log Message:
net/ruby-net-imap: update to 0.5.8

0.5.7 (2025-04-22)

What's Changed

Security

This release adds two features to prevent unbounded memory use: the
response_handlers keyword argument to Net::IMAP.new (#419) so response
handlers can be added before the server can send any responses, and the
max_response_size config attribute (#444, GHSA-j3g3-5qv5-52mj,
CVE-2025-43857, reported by @Masamuneee).

Note

The default max_response_size is extremely high, to avoid issues with secure
connections to trusted servers that are well-behaved.  It can be configured
more conservatively to guard against untrusted servers (for example,
connecting to user-provided hostnames).  It is the responsibility of
net-imap users to configure their client appropriately for the server they
are connecting to.

Added

* Track IMAP connection state by @nevans in #416
* Add response_handlers kwarg to Net::IMAP.new by @nevans in #419
* Customize SequenceSet YAML serialization by @nevans in #432
* Limit max_response_size by @nevans in #444

Documentation

* Improve docs for unbounded memory use and thread safety by @nevans in #418
* Impove SequenceSet docs by @nevans in #420
* Doc improvements for open_timeout, etc by @nevans in #424

Other Changes

* Reorganize Config.version_defaults creation by @nevans in #412
* Refactor Config attr type coercion by @nevans in #417
* Refactor Net::IMAP#get_response (internal) by @nevans in #422
* Rational config versions by @nevans in #429
* Extract ResponseReader from get_response by @nevans in #433
* Refactor ResponseReader by @nevans in #435

Miscellaneous

* Bump step-security/harden-runner from 2.10.4 to 2.11.0 by @dependabot in
  #409
* Make FakeServer more robust against disconnect by @nevans in #414
* Improvements to FakeServer (tests only) by @nevans in #415
* Ignore more IO errors in some FakeServer tests by @nevans in #421
* Bump step-security/harden-runner from 2.11.0 to 2.11.1 by @dependabot in
  #423

0.5.8 (2025-04-29)

What's Changed

Added

* Add SequenceSet#min(count) and #max(count) by @nevans in #460
* Add SequenceSet#above and SequenceSet#below by @nevans in #462

Fixed

* Check for Ractor (for JRuby, TruffleRuby) by @nevans in #453, reported by
  @rammpeter in #452
* Fix SequenceSet#slice with range (start...0) by @nevans in #456
* Fix inconsistently frozen SequenceSet#[] result by @nevans in #458
* Fix SequenceSet#xor crash when set is frozen by @nevans in #457
* Fix SequenceSet#slice when length > result size by @nevans in #459

Documentation

* Various SequenceSet rdoc improvements by @nevans in #465

Miscellaneous

* Bump step-security/harden-runner from 2.11.1 to 2.12.0 by @dependabot in
  #455
* Test SequenceSet#xor and fuzz test all set operations by @nevans in #464


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/ruby-net-imap/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/ruby-net-imap/PLIST \
    pkgsrc/net/ruby-net-imap/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/ruby-net-imap/Makefile
diff -u pkgsrc/net/ruby-net-imap/Makefile:1.12 pkgsrc/net/ruby-net-imap/Makefile:1.13
--- pkgsrc/net/ruby-net-imap/Makefile:1.12      Wed Apr 16 15:14:05 2025
+++ pkgsrc/net/ruby-net-imap/Makefile   Sat May 17 07:57:04 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2025/04/16 15:14:05 taca Exp $
+# $NetBSD: Makefile,v 1.13 2025/05/17 07:57:04 taca Exp $
 
-DISTNAME=      net-imap-0.5.6
-PKGREVISION=   1
+DISTNAME=      net-imap-0.5.8
 CATEGORIES=    net mail
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -11,7 +10,7 @@ LICENSE=      2-clause-bsd OR ruby-license
 
 USE_LANGUAGES= # none
 
-# Ruby 3.4.3 has the same version as bundled gem.
+# Ruby 3.4.4 has the same version as a bundled gem
 RUBY_VERSIONS_ACCEPTED=        31 32 33
 
 .include "../../lang/ruby/gem.mk"

Index: pkgsrc/net/ruby-net-imap/PLIST
diff -u pkgsrc/net/ruby-net-imap/PLIST:1.7 pkgsrc/net/ruby-net-imap/PLIST:1.8
--- pkgsrc/net/ruby-net-imap/PLIST:1.7  Tue Feb 11 16:15:39 2025
+++ pkgsrc/net/ruby-net-imap/PLIST      Sat May 17 07:57:04 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/02/11 16:15:39 taca Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/05/17 07:57:04 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/BSDL
 ${GEM_LIBDIR}/COPYING
@@ -14,6 +14,7 @@ ${GEM_LIBDIR}/lib/net/imap/config.rb
 ${GEM_LIBDIR}/lib/net/imap/config/attr_accessors.rb
 ${GEM_LIBDIR}/lib/net/imap/config/attr_inheritance.rb
 ${GEM_LIBDIR}/lib/net/imap/config/attr_type_coercion.rb
+${GEM_LIBDIR}/lib/net/imap/connection_state.rb
 ${GEM_LIBDIR}/lib/net/imap/data_encoding.rb
 ${GEM_LIBDIR}/lib/net/imap/data_lite.rb
 ${GEM_LIBDIR}/lib/net/imap/deprecated_client_options.rb
@@ -24,6 +25,7 @@ ${GEM_LIBDIR}/lib/net/imap/flags.rb
 ${GEM_LIBDIR}/lib/net/imap/response_data.rb
 ${GEM_LIBDIR}/lib/net/imap/response_parser.rb
 ${GEM_LIBDIR}/lib/net/imap/response_parser/parser_utils.rb
+${GEM_LIBDIR}/lib/net/imap/response_reader.rb
 ${GEM_LIBDIR}/lib/net/imap/sasl.rb
 ${GEM_LIBDIR}/lib/net/imap/sasl/anonymous_authenticator.rb
 ${GEM_LIBDIR}/lib/net/imap/sasl/authentication_exchange.rb
Index: pkgsrc/net/ruby-net-imap/distinfo
diff -u pkgsrc/net/ruby-net-imap/distinfo:1.7 pkgsrc/net/ruby-net-imap/distinfo:1.8
--- pkgsrc/net/ruby-net-imap/distinfo:1.7       Sun Feb  9 14:40:07 2025
+++ pkgsrc/net/ruby-net-imap/distinfo   Sat May 17 07:57:04 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2025/02/09 14:40:07 taca Exp $
+$NetBSD: distinfo,v 1.8 2025/05/17 07:57:04 taca Exp $
 
-BLAKE2s (net-imap-0.5.6.gem) = 0f18df0054be85dcf9bef655ea88d91277837bf913838da0347bf25c59fd4cc5
-SHA512 (net-imap-0.5.6.gem) = 8f475d44b66708c8af1036d88b7b27e0e44c8f3796307bead6649db8045a2909573fbb41b026b073bfa11cf3ce0c1adaa998bf6c2732f5921a7947da9524dfa3
-Size (net-imap-0.5.6.gem) = 171520 bytes
+BLAKE2s (net-imap-0.5.8.gem) = e5ff205a74df531a247f9f899c2fcc9bce614ea3af5443063e2bf48be7f03f44
+SHA512 (net-imap-0.5.8.gem) = e102b4c32bb2d70c05948c8e188e75f991119e645d52562d23051031f835e67388a83f90b741e6dd28e664a3e60b88b87cf800b9f4a22808ff595a7e063c5138
+Size (net-imap-0.5.8.gem) = 177152 bytes



Home | Main Index | Thread Index | Old Index