head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.10.0.2
	pkgsrc-2026Q1-base:1.10
	pkgsrc-2025Q4:1.8.0.6
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.4
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.2
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.7.0.2
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.5.0.2
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.4.0.8
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.6
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.4
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.2
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q2:1.2.0.8
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.6
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.4
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.2
	pkgsrc-2022Q3-base:1.2;
locks; strict;
comment	@# @;


1.10
date	2026.02.11.08.44.48;	author taca;	state Exp;
branches;
next	1.9;
commitid	rnLzKTh7xiox7WtG;

1.9
date	2026.02.03.15.32.34;	author taca;	state Exp;
branches;
next	1.8;
commitid	ZfmcabEGZJUmDWsG;

1.8
date	2025.05.17.07.57.04;	author taca;	state Exp;
branches;
next	1.7;
commitid	pBQVU2TngdUdxeVF;

1.7
date	2025.02.11.16.15.39;	author taca;	state Exp;
branches;
next	1.6;
commitid	7LrpdBy4rlrvl4JF;

1.6
date	2025.01.02.05.41.25;	author taca;	state Exp;
branches;
next	1.5;
commitid	9b6ddVtBK3xI7SDF;

1.5
date	2024.12.09.15.27.03;	author taca;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	BUfNvmmNxHgu8QAF;

1.4
date	2023.12.14.15.24.43;	author taca;	state Exp;
branches;
next	1.3;
commitid	xpsbdbYGeKrYIrQE;

1.3
date	2023.09.09.14.01.35;	author taca;	state dead;
branches;
next	1.2;
commitid	lRYyKBl9K9KUl6EE;

1.2
date	2022.09.03.04.10.15;	author taca;	state Exp;
branches;
next	1.1;
commitid	fkYxn1k5FZPp0nSD;

1.1
date	2022.08.28.04.09.37;	author taca;	state Exp;
branches;
next	;
commitid	EnSfePppeTZKbBRD;

1.5.2.1
date	2025.02.12.07.25.16;	author maya;	state Exp;
branches;
next	;
commitid	iDAgp8sg0rEGn9JF;


desc
@@


1.10
log
@net/ruby-net-imap: downgrade to 0.5.13

This package is for ruby-redmine{60,61} package and they require
net-imap 0.5.x on ruby32.  So downgrade now.

Changes from previous 0.5.11:

0.5.12 (2025-10-06)

What's Changed

TruffleRuby is not (yet) "officially supported" but it seems to work (with a
few small caveats).  Several tests are still marked as pending, but the rest
all pass.  #528 protects us from merging PRs that break TruffleRuby and (in
some cases) JRuby.

Fixed

* Fix loading of net/imap for JRuby/TruffleRuby by @@nevans in #530

Miscellaneous

* Test overriding inherited ::Data methods by @@nevans in #531
* Add TruffleRuby to CI by @@nevans in #528


0.5.13 (2025-12-18)

What's Changed

Fixed

* Fix SequenceSet#delete?(num..num) to return set (backport to 0.5) by
  @@nevans in #585
* Fix SequenceSet#max(n) when cardinality < n <= size (backport to 0.5) by
  @@nevans in #586
* Fix config.responses_without_block = :frozen_dup (backport to 0.5) by
  @@nevans in #588, reported by @@yurikoval in #581

Documentation

* Improve rdoc example for #uid_fetch with partial by @@nevans in #532

Other Changes

* Refactor Config.versioned_defaults to reduce merge conflicts (backport to
  0.5) by @@nevans in #584

Miscellaneous

* Drop digest from Gemfile (workaround for #576, backport to 0.5) by @@nevans
  in #591
@
text
@@@comment $NetBSD: PLIST,v 1.9 2026/02/03 15:32:34 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/BSDL
${GEM_LIBDIR}/COPYING
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/LICENSE.txt
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/docs/styles.css
${GEM_LIBDIR}/lib/net/imap.rb
${GEM_LIBDIR}/lib/net/imap/authenticators.rb
${GEM_LIBDIR}/lib/net/imap/command_data.rb
${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/config/attr_version_defaults.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
${GEM_LIBDIR}/lib/net/imap/errors.rb
${GEM_LIBDIR}/lib/net/imap/esearch_result.rb
${GEM_LIBDIR}/lib/net/imap/fetch_data.rb
${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
${GEM_LIBDIR}/lib/net/imap/sasl/authenticators.rb
${GEM_LIBDIR}/lib/net/imap/sasl/client_adapter.rb
${GEM_LIBDIR}/lib/net/imap/sasl/cram_md5_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/digest_md5_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/external_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/gs2_header.rb
${GEM_LIBDIR}/lib/net/imap/sasl/login_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/oauthbearer_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/plain_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/protocol_adapters.rb
${GEM_LIBDIR}/lib/net/imap/sasl/scram_algorithm.rb
${GEM_LIBDIR}/lib/net/imap/sasl/scram_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl/stringprep.rb
${GEM_LIBDIR}/lib/net/imap/sasl/xoauth2_authenticator.rb
${GEM_LIBDIR}/lib/net/imap/sasl_adapter.rb
${GEM_LIBDIR}/lib/net/imap/search_result.rb
${GEM_LIBDIR}/lib/net/imap/sequence_set.rb
${GEM_LIBDIR}/lib/net/imap/stringprep.rb
${GEM_LIBDIR}/lib/net/imap/stringprep/nameprep.rb
${GEM_LIBDIR}/lib/net/imap/stringprep/saslprep.rb
${GEM_LIBDIR}/lib/net/imap/stringprep/saslprep_tables.rb
${GEM_LIBDIR}/lib/net/imap/stringprep/tables.rb
${GEM_LIBDIR}/lib/net/imap/stringprep/trace.rb
${GEM_LIBDIR}/lib/net/imap/uidplus_data.rb
${GEM_LIBDIR}/lib/net/imap/vanished_data.rb
${GEM_LIBDIR}/net-imap.gemspec
${GEM_LIBDIR}/rakelib/benchmarks.rake
${GEM_LIBDIR}/rakelib/rdoc.rake
${GEM_LIBDIR}/rakelib/rfcs.rake
${GEM_LIBDIR}/rakelib/saslprep.rake
${GEM_LIBDIR}/rakelib/string_prep_tables_generator.rb
${GEM_LIBDIR}/sample/net-imap.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
@


1.9
log
@net/ruby-net-imap: update to 0.6.2

0.6.0 (2025-12-15)

Breaking Changes

* Update default config for v0.6 by @@nevans in #539
	- responses_without_block changed from :warn to :frozen_dup
	- parser_use_deprecated_uidplus_data changed from :up_to_max_size to
          false (and is deprecated)
	- parser_max_deprecated_uidplus_data_size changed from 100 to 0 (and
          is deprecated)
* Use psych (>= 5.2.5) for encoding Data objects by @@nevans in #543
  This changes the YAML tag for Data subclasses from
  ruby/object:Net::IMAP::DataSubclass to ruby/data:Net::IMAP::DataSubclass.
  YAML dumped by earlier net-imap versions may not load correctly.  Psych >=
  5.2.5 is required to dump these objects correctly.
* Require ruby >= 3.2 (drop support for 3.1) by @@nevans in #538
* Change SequenceSet#size to count * and repeated numbers by @@nevans in #564
  SequenceSet is used to represent both sorted sets and ordered lists (which
  may contain duplicates).  Members are non-zero UInt32 numbers, but "*" has
  special meaning as "the number corresponding to the last mailbox entry".
  So there are four different ways to count the members of a SequenceSet.
  Previously, #size was an alias for #count. Now it differs in both relevant
  aspects.

					| * is a unique member	| * is treated like 2^32 - 1
distinct set members			| #cardinality		| #count
ordered list, including duplicates	| #size			| #count_with_duplicates

* Remove deprecated UIDPlusData class by @@nevans in #540
  UIDPlusData was deprecated by v0.5.6. AppendUIDData or CopyUIDData will
  always be returned instead.
* Delete deprecated MessageSet by @@nevans in #573
  MessageSet was deprecated by v0.5.0. Use SequenceSet instead.
* Do not include OpenSSL and OpenSSL::SSL modules into Net::IMAP by @@nevans
  in #533
  This only affects the ability to use OpenSSL constants from the Net::IMAP
  namespace.
* Don't set verify_callback to VerifyCallbackProc by @@nevans in #534
  This functionality was never documented and is redundant with the
  verify_callback option.

Deprecated

* Deprecated config options for UIDPlusData in #540
  The parser_use_deprecated_uidplus_data and
  parser_max_deprecated_uidplus_data_size config options will be removed in
  v0.7.0.  They are kept for backward compatibility, but they do not affect
  response parser results.  When parser_use_deprecated_uidplus_data is
  changed from the default value (false), deprecation warnings are printed
  when parsing APPENDUID or COPYUID response codes.

Added

* Add when_capabilities_cached option for Config#sasl_ir by @@nevans in #561
* Net::IMAP::Config improvements
	- Improve Config#inspect output by @@nevans in #546
	- Improve Config#pretty_print (for Kernel::pp) by @@nevans in #547
	- Update Config#inherited? for any number of args by @@nevans in #552
* Net::IMAP::SequenceSet improvements
	- Add SequenceSet#intersect! for in-place set AND by @@nevans in #549
	- Add SequenceSet#xor! for in-place set XOR by @@nevans in #550
	- Coalesce entries in SequenceSet#append by @@nevans in #553
	- Add SequenceSet#normalized? by @@nevans in #558
	- Add SequenceSet#cardinality method by @@nevans in #563
	- Change SequenceSet#size to count * and repeated numbers by @@nevans
          in #564

* Net::IMAP::NumValidator improvements
	- Support mod-sequence-valzer (RFC4551) in NumValidator by @@nevans
          in #570
	- Add NumValidator.coerce_{type} methods by @@nevans in #571

Documentation

* mprove rdoc example for #uid_fetch with partial by @@nevans in #532
* ocument SearchResult/ESearchResult compatibility by @@nevans in #559
* inor rdoc formatting fixes by @@nevans in #560

Other Changes

* Drop Data polyfill by @@nevans in #541
  This was only used for ruby 3.1, which is no longer supported. So this is
  not considered a breaking change.
* Refactor Config.versioned_defaults to reduce merge conflcts by @@nevans in
  #544
* Improved Net::IMAP::SequenceSet performance
	- Don't memoize SequenceSet#string on normalized sets by @@nevans in
          #554
	- aster SequenceSet#normalize when frozen by @@nevans in #556
	- Faster SequenceSet#full? by @@nevans in #565
	- Slightly faster SequenceSet#xor by @@nevans in #567
	- Avoid allocating arrays for SequenceSet bsearch (extract abstract
          strategy methods) by @@nevans in #569
	- Rename SequenceSet internals by @@nevans in #562
	- Reorganize SequenceSet internals by @@nevans in #568

Miscellaneous (omitted)

0.6.1 (2025-12-17)

Fixed
* Fix SequenceSet#max(n) when cardinality < n <= size by @@nevans in #580
Miscellaneous
* Bump step-security/harden-runner from 2.13.3 to 2.14.0 by @@dependabot[bot]
  in #579

0.6.2 (2025-12-17)

Fixed
* Fix SequenceSet#delete?(num..num) to return set by @@nevans in #583
* Fix #responses() freezing internal arrays by @@nevans in #587, reported by
  @@yurikoval in #581
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.8 2025/05/17 07:57:04 taca Exp $
d20 1
@


1.8
log
@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
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.7 2025/02/11 16:15:39 taca Exp $
d17 1
a19 1
${GEM_LIBDIR}/lib/net/imap/data_lite.rb
@


1.7
log
@net/ruby-net-imap: update PLIST

Forgot to commit with previous update.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.6 2025/01/02 05:41:25 taca Exp $
d17 1
d28 1
@


1.6
log
@net/ruby-net-imap: update to 0.5.4

pkgsrc change: restrict Ruby's version (not for Ruby 3.4).


0.5.4 (2024-12-23)

What's Changed

Added

* Add support for PARTIAL extension (RFC9394) by @@nevans in #367

Fixed

* Fix partial-range encoding of exclusive ranges by @@nevans in #370

Documentation

* Fix documentation for #fetch by @@nevans in #369


0.5.3 (2024-12-22)

What's Changed

Added

* Add support for VANISHED responses by @@nevans in #329

Documentation

* Fix rdoc issues by @@nevans in #365


0.5.2 (2024-12-17)

What's Changed

Added

* Raise ArgumentError on multiple search charset args by @@nevans in #363
* Add keyword argument for search charset by @@nevans in #364
* Add basic ESEARCH support (RFC4466, RFC4731) by @@nevans in #333

Fixed

* Return empty SearchResult for no search result by @@nevans in #362

Documentation

* Fix README example by @@nevans in #354
* Add release.yml for better release note generation by @@nevans in #355
* Fix rdoc 6.8 CSS styles by @@nevans in #356
* Update IMAP#search docs (again) by @@nevans in #360
* Consistent heading levels inside method rdoc by @@nevans in #361

Other Changes

* Add Data polyfill for ruby 3.1 by @@nevans in #352
*  Refactor internal command data classes by @@nevans in #358

Miscellaneous

* Drop YAML.unsafe_load_file refinement (tests only) by @@nevans in #353
* Bump step-security/harden-runner from 2.10.1 to 2.10.2 by @@dependabot in
  #357
* Enabled windows-latest on GHA by @@hsbt in #359
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.5 2024/12/09 15:27:03 taca Exp $
d53 1
@


1.5
log
@net/ruby-net-imap: update to 0.5.1

pkgsrc change: do not restrict Ruby's version.

Changes from 0.3.7 are too many to write here, please refer:
<https://github.com/ruby/net-imap/releases>.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.4 2023/12/14 15:24:43 taca Exp $
d18 1
d21 1
d53 1
@


1.5.2.1
log
@Pullup ticket #6945 - requested by taca
net/ruby-net-imap: Security fix

Revisions pulled up:
- net/ruby-net-imap/Makefile                                    1.8-1.10
- net/ruby-net-imap/PLIST                                       1.6-1.7
- net/ruby-net-imap/distinfo                                    1.5-1.7

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Thu Jan  2 05:41:25 UTC 2025

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

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

   pkgsrc change: restrict Ruby's version (not for Ruby 3.4).

   0.5.4 (2024-12-23)

   What's Changed

   Added

   * Add support for PARTIAL extension (RFC9394) by @@nevans in #367

   Fixed

   * Fix partial-range encoding of exclusive ranges by @@nevans in #370

   Documentation

   * Fix documentation for #fetch by @@nevans in #369

   0.5.3 (2024-12-22)

   What's Changed

   Added

   * Add support for VANISHED responses by @@nevans in #329

   Documentation

   * Fix rdoc issues by @@nevans in #365

   0.5.2 (2024-12-17)

   What's Changed

   Added

   * Raise ArgumentError on multiple search charset args by @@nevans in #363
   * Add keyword argument for search charset by @@nevans in #364
   * Add basic ESEARCH support (RFC4466, RFC4731) by @@nevans in #333

   Fixed

   * Return empty SearchResult for no search result by @@nevans in #362

   Documentation

   * Fix README example by @@nevans in #354
   * Add release.yml for better release note generation by @@nevans in #355
   * Fix rdoc 6.8 CSS styles by @@nevans in #356
   * Update IMAP#search docs (again) by @@nevans in #360
   * Consistent heading levels inside method rdoc by @@nevans in #361

   Other Changes

   * Add Data polyfill for ruby 3.1 by @@nevans in #352
   *  Refactor internal command data classes by @@nevans in #358

   Miscellaneous

   * Drop YAML.unsafe_load_file refinement (tests only) by @@nevans in #353
   * Bump step-security/harden-runner from 2.10.1 to 2.10.2 by @@dependabot in
     #357
   * Enabled windows-latest on GHA by @@hsbt in #359

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jan 19 16:28:20 UTC 2025

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

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

   0.5.5 (2025-01-04)

   What's Changed

   Breaking Changes

   * Remove accidental Data#attributes method by @@nevans in #371
   * For ruby 3.2 and above, this PR is not a breaking change, and it fixes a
     YAML serialization bug.
   * Net::IMAP::Data#attributes was only available in ruby 3.1, with net-imap
     v0.5.2 - v0.5.4. It can be replaced by #to_h.

   Added

   * RFC9586 UIDONLY support by @@avdi in #366

   Documentation

   * Fix rdoc issues by @@nevans in #372
   * Use standard www.rfc-editor.org links for RFCs by @@nevans in #374
   * Documentation updates by @@nevans in #373

   New Contributors

   * @@avdi made their first contribution in #366

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Feb  9 14:40:07 UTC 2025

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

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

   0.5.6 (2025-02-08)

   Security Fix

   Fixes CVE-2025-25186 (GHSA-7fc5-f82f-cx69): A malicious server can exhaust
   client memory by sending APPENDUID or COPYUID responses with very large
   uid-set ranges.  Net::IMAP::UIDPlusData expands these ranges into arrays of
   integers.

   Fix with minor API changes

   Set config.parser_use_deprecated_uidplus_data to false to replace
   UIDPlusData with AppendUIDData and CopyUIDData.  These classes store their
   UIDs as Net::IMAP::SequenceSet objects (not expanded into arrays of
   integers).  Code that does not handle APPENDUID or COPYUID responses should
   not see any difference.  Code that does handle these responses may need to
   be updated.

   For v0.3.8, this option is not available
   For v0.4.19, the default value is true.
   For v0.5.6, the default value is :up_to_max_size.
   For v0.6.0, the only allowed value will be false (UIDPlusData will be
   removed from v0.6).

   Mitigate with backward compatible API

   Adjust config.parser_max_deprecated_uidplus_data_size to limit the maximum
   UIDPlusData UID set size.
   When config.parser_use_deprecated_uidplus_data == true, larger sets will
   crash.
   When config.parser_use_deprecated_uidplus_data == :up_to_max_size, larger
   sets will use AppendUIDData or CopyUIDData.

   For v0.3,8, this limit is hard-coded to 10,000.
   For v0.4.19, this limit defaults to 1000.
   For v0.5.6, this limit defaults to 100.
   For v0.6.0, the only allowed value will be 0 (UIDPlusData will be removed
   from v0.6).

   Please Note: unhandled responses

   If the client does not add response handlers to prune unhandled responses, a
   malicious server can still eventually exhaust all client memory, by
   repeatedly sending malicious responses.  However, net-imap has always
   retained unhandled responses, and it has always been necessary for
   long-lived connections to prune these responses.  This is not significantly
   different from connecting to a trusted server with a long-lived connection.
   To limit the maximum number of retained responses, a simple handler might
   look something like the following:

     limit = 1000
     imap.add_response_handler do |resp|
       next unless resp.respond_to?(:name) && resp.respond_to?(:data)
       name = resp.name
       code = resp.data.code&.name if resp.data.in?(Net::IMAP::ResponseText)
       imap.responses(name) { _1.slice!(0...-limit) }
       imap.responses(code) { _1.slice!(0...-limit) }
     end

   Added

   * Ensure ResponseParser config is mutable and non-global by @@nevans in #381
   * Add SequenceSet methods for querying about duplicates by @@nevans in #384
   * Add SequenceSet#each_ordered_number by @@nevans in #386
   * Add SequenceSet#find_ordered_index by @@nevans in #396
   * Add SequenceSet#ordered_at by @@nevans in #397
   * Add AppendUIDData and CopyUIDData classes by @@nevans in #400
   * Add parser config for APPENDUID/COPYUID, Deprecate UIDPlusData by @@nevans
     in #401

   Fixed

   * Fix SequenceSet#append when its @@string is nil by @@nevans in #376
   * Fix SequenceSet merging in another SequenceSet by @@nevans in #377
   * Fix SequenceSet count dups with multiple "*" by @@nevans in #387
   * Re-raise #starttls error from receiver thread by @@nevans in #395

   Documentation

   * Fix SequenceSet#cover? documentation by @@nevans in #379
   * Document COPYUID in tagged vs untagged responses by @@nevans in #398

   Other Changes

   * Move UIDPlusData to its own file by @@nevans in #391
   * Parse uid-set as sequence-set without * by @@nevans in #393

   Miscellaneous

   * Bump step-security/harden-runner from 2.10.2 to 2.10.3 by @@dependabot in #375
   * Bump step-security/harden-runner from 2.10.3 to 2.10.4 by @@dependabot in #380
   * Improve test coverage for SequenceSet enums by @@nevans in #383
   *  Refactor SequenceSet enumerator tests by @@nevans in #385
   * Add "irb" to Gemfile to silence warning by @@nevans in #388
   * Omit flaky test with macOS platform by @@hsbt in #389
   * Improve UIDPlusData test coverage by @@nevans in #392
   * Rename UIDPLUS test file for consistency by @@nevans in #399

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Tue Feb 11 16:15:39 UTC 2025

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

   Log Message:
   net/ruby-net-imap: update PLIST

   Forgot to commit with previous update.
@
text
@d1 1
a1 1
@@comment $NetBSD$
a17 1
${GEM_LIBDIR}/lib/net/imap/data_lite.rb
a19 1
${GEM_LIBDIR}/lib/net/imap/esearch_result.rb
a50 2
${GEM_LIBDIR}/lib/net/imap/uidplus_data.rb
${GEM_LIBDIR}/lib/net/imap/vanished_data.rb
@


1.4
log
@net/ruby-net-imap: add version 0.3.7

devel/ruby-redmine51 require net-imap gem version 0.3.4 but ruby31 bundles
0.2.3.  So, it add latest version of net-imap gem 0.3.x as ruby-net-imap.

Ruby client api for Internet Message Access Protocol.


Changes from 0.2.3:

0.3.0 (2022-11-17)

What's Changed

* Added dependabot.yml for actions by @@hsbt in #59
* Bump actions/checkout from 2 to 3 by @@dependabot in #60
* Adding RFC licenses by @@nevans in #57
* Warn when using deprecated SASL mechanisms by @@nevans in #62

New Contributors

* @@dependabot made their first contribution in #60

0.3.1 (2022-11-17)

What's Changed

* Add XOAUTH2 authenticator by @@ssunday in #63

New Contributors

* @@ssunday made their first contribution in #63

0.3.2 (2022-12-09)

What's Changed

* Support UIDPLUS extension by @@hoffi in #65
* Fixes "bundle exec rake" clash with test/unit by @@nevans in #67
* Fix some UIDPLUS issues by @@nevans in #69
* Fixes date-time format, and adds decode_datetime by @@nevans in #66
* Add SASLprep. Code generated & tested with RFC3454 by @@nevans in #64
* Add the UNSELECT command by @@nevans in #72
*  Fix mailbox attrs by @@nevans in #73
* RFCs and references by @@nevans in #71
* Nodocs and remove warning by @@nevans in #70
* ResponseParser docs by @@nevans in #76
* Response Data docs by @@nevans in #75

New Contributors

* @@hoffi made their first contribution in #65

0.3.3 (2022-12-21)

What's Changed

* Revert "Fixes "bundle exec rake", clash with test/unit" by @@znz in #88

New Contributors

* @@znz made their first contribution in #88

0.3.4 (2023-01-18)

What's Changed

* Net::IMAP Client docs by @@nevans in #74

0.3.5 (2023-06-12)

* Fix #response documentation error, by @@nevans in 87ba74e
* Add RFC3454 data, to support offline testing, by @@nevans in #137
* Adds Ruby 3.2 to the CI matrix, by @@petergoldstein in #99
* Use reusing workflow, by @@hsbt in #151
* Decode UTF-7 more strictly, by @@nobu in #152
* ️Continue testing 0.3.x branch against ruby 2.6, by @@nevans in 115d190
* Fix decode utf-7 test for ruby 2.6, by @@nevans in 7a60c8f
* Fix XOAUTH2 authenticator for ruby 2.6, by @@nevans in bd4faa0

0.3.6 (2023-06-12)

* Fixes file permissions regression in v0.3.5 release, reported by
  @@aaronjensen in #154

0.3.7 (2023-07-26)

What's Changed

* Backport: Fix for Digest MD5 bad challenges by @@nobu in #160 PR for
  backport is #161
@
text
@d1 1
a1 1
@@comment $NetBSD$
d3 2
a4 3
${GEM_LIBDIR}/.github/dependabot.yml
${GEM_LIBDIR}/.github/workflows/test.yml
${GEM_LIBDIR}/.gitignore
a8 2
${GEM_LIBDIR}/benchmarks/stringprep.yml
${GEM_LIBDIR}/benchmarks/table-regexps.yml
a11 5
${GEM_LIBDIR}/lib/net/imap/authenticators/cram_md5.rb
${GEM_LIBDIR}/lib/net/imap/authenticators/digest_md5.rb
${GEM_LIBDIR}/lib/net/imap/authenticators/login.rb
${GEM_LIBDIR}/lib/net/imap/authenticators/plain.rb
${GEM_LIBDIR}/lib/net/imap/authenticators/xoauth2.rb
d13 4
d18 1
d20 1
d24 1
d26 14
a39 2
${GEM_LIBDIR}/lib/net/imap/sasl/saslprep.rb
${GEM_LIBDIR}/lib/net/imap/sasl/saslprep_tables.rb
d41 10
a50 1
${GEM_LIBDIR}/lib/net/imap/sasl/stringprep_tables.rb
d52 1
d57 1
@


1.3
log
@net/ruby-net-imap: remove package

* This package was kept only for devel/ruby-remdine50 on Ruby 3.0.

* Ruby 3.1 and 3.2 contains ruby-net-imap as default gem.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.2 2022/09/03 04:10:15 taca Exp $
d3 1
d10 3
d19 1
d26 5
d32 4
@


1.2
log
@net/ruby-net-imap: add dependencies

* This package is mainly for redmine50 on Ruby 2.7.
* This package require ruby-net-protocol and ruby-digest on Ruby 2.7.
* Remove a duplicate entry from PLIST.

Bump PKGREVISION.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.1 2022/08/28 04:09:37 taca Exp $
@


1.1
log
@net/ruby-net-imap: add package versio 0.2.3

It is required for forthcoming redmine50 package on Ruby 2.7 or 3.0.

Ruby client api for Internet Message Access Protocol.
@
text
@d1 1
a1 2
@@comment $NetBSD$
${GEM_HOME}/cache/${GEM_NAME}.gem
@

