The NetBSD Project

CVS log for pkgsrc/lang/ruby40/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby40

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 9 08:16:34 2026 UTC (6 days, 23 hours ago) by maya
Branches: pkgsrc-2026Q3
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -4 lines
Pullup ticket #7336 - requested by taca
lang/ruby40: Security fix

Revisions pulled up:
- lang/ruby/rubyversion.mk                                      1.333
- lang/ruby40/distinfo                                          1.12

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Oct 25 14:26:19 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby: rubyversion.mk
   	pkgsrc/lang/ruby40: distinfo

   Log Message:
   lang/ruby40: update to 4.0.9

   pkgsrc change: reflect default/bundled gem changes.

   This update contains these security fixes.

   * CVE-2026-93577: Integer Overflow issue in Regular Expression Compiler=

     (GitLab 19.4.1)

   * CVE-2026-97229: Integer Overflow issue in CI/CD Regular Expression
     Compiler (GitLab 19.4.2)

   * CVE-2026-110264: Integer Overflow issue in Regular Expression Compile=
   r
     (GitLab 19.5.1)

   4.0.8 (2026-10-22)

   * Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because
     pipe2() and dup3() are unavailable

   * Bug #22174: Set operations (&, ^, collect!, flatten, classify, divide=
   ) do
     not preserve compare_by_identity

   * Bug #22383: Fix inverted STR_SHARED check in rb_str_tmp_frozen_releas=
   e

   * Bug #22387: str_shared_replace incorrectly recalculates termlen

   * Bug #22327: RubyVM::ZJIT.reset_stats! aborts the process (Rust panic)=
    when
     ZJIT is not enabled

   * Bug #22381: MatchData assigned to $~ is incorrectly reused

   * Bug #22321: Assertion Failed:
     rb_vm_search_method_slowpath:RB_TYPE_2_P(klass, RUBY_T_CLASS,
     RUBY_T_ICLASS): klass: T_MODULE

   * Bug #22315: heap-use-after-free in String unpack with a block that mu=
   tates
     the receiver

   * Bug #22318: heap uaf triggered in array.flatten

   * Bug #22319: heap buffer overflow triggered by array's zip function

   * Bug #22322: AddressSanitizer: use-after-poison in econv_description
     /ruby-src/build/../transcode.c

   * Bug #22334: Assertion Failed: VM_ENV_FLAGS:FIXNUM_P(flags)

   * Bug #22336: IO:Buffer Heap uaf

   * Bug #22330: heap uaf from string.encode()

   * Bug #22340: Win32: File.stat succeeds on symbolic-link loops on Windo=
   ws

   * Bug #22335: Stack corruption with >31 keyword args and refined Intege=
   r#=3D=3D

   * Bug #22339: Ruby::Box: crash / hang at VM shutdown with
     RUBY_FREE_AT_EXIT=3D1

   * Bug #22342: IO#gets can ignore the limit argument in some edge cases

   * Bug #22391: Fix propagation of errno in rb_io_maybe_wait.

   * Bug #22384: Regexp compile error in the 2nd+ branch of a top-level
     alternation leaks the parse tree (regression from #13332, Ruby 4.0)

   * Bug #22388: Use-after-free when an Enumerable retains its each block

   * Bug #22284: Passing an object with to_int to curry as its arity cause=
   s
     problems with LLP64.

   * Bug #22416: Respect timezone abbreviation encodings in Time#strftime

   * Bug #22426: ZJIT: keyword arguments swapped when passed out of declar=
   ed
     order to a method with a block (please backport d81a11d4e6 to 4.0)

   * Bug #22406: Process.fork can leave the child unable to resolve hostna=
   mes:
     getaddrinfo helper threads take glibc's resolver lock after releasing=
    the
     fork lock

   * Bug #22445: On macOS, a child of Kernel#fork can abort with "[BUG]
     pthread_rwlock_destroy: Resource busy (EBUSY)"

   * Bug #22415: Thread.handle_interrupt needs to preserve errinfo

   * Bug #22434: "No live threads left. Deadlock?" when running system() o=
   r
     spawn in Ractors

   * Backport the regexp compiler program size overflow fixes to ruby_4_0 =
   by
     hsbt =B7 Pull Request #19025

   4.0.9 (2026-10-23)

   * Reject overflowed repeat/null-check IDs in huge regexps by makenowjus=
   t =B7
     Pull Request #16801

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 25 14:26:19 2026 UTC (3 weeks ago) by taca
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
lang/ruby40: update to 4.0.9

pkgsrc change: reflect default/bundled gem changes.

This update contains these security fixes.

* CVE-2026-93577: Integer Overflow issue in Regular Expression Compiler
  (GitLab 19.4.1)

* CVE-2026-97229: Integer Overflow issue in CI/CD Regular Expression
  Compiler (GitLab 19.4.2)

* CVE-2026-110264: Integer Overflow issue in Regular Expression Compiler
  (GitLab 19.5.1)

4.0.8 (2026-10-22)

* Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because
  pipe2() and dup3() are unavailable

* Bug #22174: Set operations (&, ^, collect!, flatten, classify, divide) do
  not preserve compare_by_identity

* Bug #22383: Fix inverted STR_SHARED check in rb_str_tmp_frozen_release

* Bug #22387: str_shared_replace incorrectly recalculates termlen

* Bug #22327: RubyVM::ZJIT.reset_stats! aborts the process (Rust panic) when
  ZJIT is not enabled

* Bug #22381: MatchData assigned to $~ is incorrectly reused

* Bug #22321: Assertion Failed:
  rb_vm_search_method_slowpath:RB_TYPE_2_P(klass, RUBY_T_CLASS,
  RUBY_T_ICLASS): klass: T_MODULE

* Bug #22315: heap-use-after-free in String unpack with a block that mutates
  the receiver

* Bug #22318: heap uaf triggered in array.flatten

* Bug #22319: heap buffer overflow triggered by array's zip function

* Bug #22322: AddressSanitizer: use-after-poison in econv_description
  /ruby-src/build/../transcode.c

* Bug #22334: Assertion Failed: VM_ENV_FLAGS:FIXNUM_P(flags)

* Bug #22336: IO:Buffer Heap uaf

* Bug #22330: heap uaf from string.encode()

* Bug #22340: Win32: File.stat succeeds on symbolic-link loops on Windows

* Bug #22335: Stack corruption with >31 keyword args and refined Integer#==

* Bug #22339: Ruby::Box: crash / hang at VM shutdown with
  RUBY_FREE_AT_EXIT=1

* Bug #22342: IO#gets can ignore the limit argument in some edge cases

* Bug #22391: Fix propagation of errno in rb_io_maybe_wait.

* Bug #22384: Regexp compile error in the 2nd+ branch of a top-level
  alternation leaks the parse tree (regression from #13332, Ruby 4.0)

* Bug #22388: Use-after-free when an Enumerable retains its each block

* Bug #22284: Passing an object with to_int to curry as its arity causes
  problems with LLP64.

* Bug #22416: Respect timezone abbreviation encodings in Time#strftime

* Bug #22426: ZJIT: keyword arguments swapped when passed out of declared
  order to a method with a block (please backport d81a11d4e6 to 4.0)

* Bug #22406: Process.fork can leave the child unable to resolve hostnames:
  getaddrinfo helper threads take glibc's resolver lock after releasing the
  fork lock

* Bug #22445: On macOS, a child of Kernel#fork can abort with "[BUG]
  pthread_rwlock_destroy: Resource busy (EBUSY)"

* Bug #22415: Thread.handle_interrupt needs to preserve errinfo

* Bug #22434: "No live threads left. Deadlock?" when running system() or
  spawn in Ractors

* Backport the regexp compiler program size overflow fixes to ruby_4_0 by
  hsbt · Pull Request #19025


4.0.9 (2026-10-23)

* Reject overflowed repeat/null-check IDs in huge regexps by makenowjust ·
  Pull Request #16801

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Sep 16 14:08:24 2026 UTC (8 weeks, 4 days ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base
Branch point for: pkgsrc-2026Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5 lines
lang/ruby40: update to 4.0.7

This release contains fix for CVE-2026-80212 and CVE-2026-80213 in resolv
gem.

4.0.7 (2026-09-15)

* Bug #22188: addr2line doesn't find symbols when compiled with GCC LTO

* Bug #22210: Check if issue #19969 is still reproducible / re-opened in 4.0.x

* Bug #22217: Segmentation fault when resuming execution with Coverage.start
  and ruby/debug

* Fix formatting in ObjectSpace._id2ref error path by eregon · Pull Request
  #18206

* Bug #22200: ObjectSpace._id2ref can return a different object than the
  id's owner on Ruby 4.0 (stale id2ref_tbl entry for objects with generic
  fields)

* Bug #22123: Ruby::Box + BUNDLER_SETUP can evaluate gemspecs before
  main-box RubyGems initialization

* Bump ERB to 6.0.7 by k0kubun · Pull Request #18282

* Bug #22237: GC.auto_compact corrupts a String or segfaults from String#tr
  with dup or gsub

* Bug #22243: Change fork behavior when Process._fork raises an exception
  during fork with a block argument

* Bug #22223: Socket.tcp with connect_timeout returns a phantom "connected"
  socket for a refused connection on macOS 27 (kernel answers EISCONN on
  connect retry; SO_ERROR never consulted)

* Bug #22220: Performance regression when requiring aws-sdk-ec2 in Ruby
  4.0.6

* Bug #22218: Line TracePoint misses executed loop condition after a guard

* Bug #22198: win32: heap overflow in Kernel#system

* Bug #22196: Heap-use-after-free in fiber_switch with transfer-terminated
  async tasks on 3.4.10

* Bug #22190: Class#subclasses does not include clones of classes that
  include modules

* Bug #11438: native_thread_init_stack() get machine.stack_start unequal to
  thread's stack start address, x86 win32

* Bug #22257: Prepending a module to an already-included module leaves stale
  super caches

* Bug #22242: SEGV in method dispatch (vm_call_iseq_setup_kwparm_nokwarg /
  def_iseq_ptr) on Ruby 4.0.6 — Rails CI

* Bug #22269: Coverage.line_stub clobbers already-collected coverage data

* Bug #22290: Adding instance variables to anonymous object may bloat all
  future classes

* Bug #22292: YJIT/ZJIT: Struct accessor crashes after an instance variable
  is set on a Struct that exactly fills the largest GC slot

* Bug #20958: fix ENV.keys encoding on windows

* Bug #22259: Arrays sharding a buffer segfault when concatenating with each
  other

* Bug #22264: Warning missing from parse.y hash literals

* Bug #22303: EncodingError from interpolating symbol crashes whole process

* Bug #22224: YJIT: rb_yjit_invalidate_ep_is_bp takes the VM lock stopping
  Ractors on every Proc materialization; multi-Ractor throughput collapses
  (up to ~150x)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:04:38 2026 UTC (3 months, 4 weeks ago) by taca
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
lang/ruby40: update to 4.0.6

pkgsrc change: stop installing obsolete ChangeLog.


4.0.6 (2026-07-14)

What's Changed

* Bug #22070: Thread.each_caller_location(1, 1) segfaults when called from a
  cfunc
* Bug #22075: heap-use-after-free in rb_vm_ci_lookup under parallel Ractors
* Bug #22076: defined? returns nil for protected methods defined in a module
  even when callable
* Bug #22072: [BUG] should have cvar cache entry
* Bug #22074: YJIT misaligns locals when there are > 256 local variables
* Bug #22064: GC compaction breaks compare-by-identity sets
* Bug #22084: invokesuper from define_method in Ractor can call wrong super
  method or crash
* Bug #22092: Array#sum takes slow path, does not perform compensated
  summation of Float elements when init argument is a Float
* Bug #14635: Float#round(n) returns a wrong result when n is big
* Bug #22079: Float#ceil gives incorrect result
* Bug #22096: Freeing a mutex locked by a fiber inside fiber scheduler can
  crash
* Bug #21996: Crash when modifying instance variables during inspect or
  Marshal dump
* Bug #22101: ASAN heap-use-after-free in rb_data_free after TypedData dfree
  frees dynamic rb_data_type_t
* Bug #22103: Constant-folded /o regexp crashes with dupstring of a Regexp
* Bug #21991: $! stays as the first exception in Ruby Box
* Feature #21881: Split the root box into the (newer) root box and the
  master of copied user boxes
* Bug #22120: Segfault caused by ar_find_entry_hint() not checking for
  conversion to st_table
* Bug #22129: error_highlight raises NotImplementedError for ArgumentErrors
  that get wrapped
* Bug #21864: Inconsistencies in type coercion error messages for integers
* Bug #21882: IO::Buffer#locked leaves the buffer locked when the block
  raises
* Bug #22127: parse.y regexp crash on invalid encoding
* Bug #22126: Stack underflow for partial DCE and loops
* Bug #22124: void value missed in parse.y
* Bug #22104: Segfault in PRISM while Bootsnap compiles aws-sdk
  client_api.rb
* Bug #21685: Unnecessary context-switching, especially bad on multi-core
  machines.
* Bug #22099: Keyword-only method silently accepts a positional argument
* Bug #22183: parse.y interpolation inside lambda literal
* Bug #22181: SEGV in branch peephole optimization due to label/insn struct
  aliasing
* Bug #22133: Ruby's default SIGINT handling ignores Thread.handle_interrupt
  masking.
* Bug #22189: Enumerator::Lazy#to_enum does not accept method names as
  strings
* Bug #22191: Signal.trap(:EXIT) exception only shown if at_exit also raises

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu May 21 03:07:30 2026 UTC (5 months, 3 weeks ago) by maya
Branches: pkgsrc-2026Q1
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +5 -5 lines
Pullup ticket #7124 - requested by taca
lang/ruby40: Security fix

Revisions pulled up:
- lang/ruby/rubyversion.mk                                      1.323-1.324
- lang/ruby40/Makefile                                          1.3
- lang/ruby40/PLIST                                             1.3
- lang/ruby40/distinfo                                          1.6-1.9
- lang/ruby40/patches/patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_generator_template_aliki___header.rhtml deleted
- lang/ruby40/patches/patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_parser_c.rb deleted
- lang/ruby40/patches/patch-.bundle_gems_rdoc-7.0.4_lib_rdoc_encoding.rb 1.1
- lang/ruby40/patches/patch-template_Makefile.in                1.3-1.4

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Fri May 15 16:56:19 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby40: Makefile distinfo
   Added Files:
   	pkgsrc/lang/ruby40/patches: patch-template_Makefile.in

   Log Message:
   ruby40: fix parallel build and dtrace-related build problem

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Fri May 15 16:58:55 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby40: distinfo
   	pkgsrc/lang/ruby40/patches: patch-template_Makefile.in

   Log Message:
   ruby40: add upstream bug report to patch

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Tue May 19 14:58:52 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby: rubyversion.mk
   	pkgsrc/lang/ruby40: PLIST distinfo
   Added Files:
   	pkgsrc/lang/ruby40/patches:
   	    patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_parser_c.rb
   Removed Files:
   	pkgsrc/lang/ruby40/patches:
   	    patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_generator_template_aliki___header.rhtml

   Log Message:
   lang/ruby40: update to 4.0.4

   pkgsrc change:

   * Fix rdoc problem on C locale, backported from rdoc-7.0.4.
     (So, no need to patch a template file to character entity reference.)

   Ruby 4.0.4 (2026-05-11)

   * Bug #21955: Fiber#transfer: machine stack not released when fiber
     terminates, causing FiberError: can't set a guard page
   * Bug #21964: Fiber stack acquire can expand unnecessarily
   * Bug #21971: Fix regexp performance regression for patterns starting with
     s/k
   * Bug #21961: Marshal.load freeze option fail to freeze linked strings
   * Bug #21959: rb_internal_thread_event_hooks_rw_lock is not reinitialized
     after fork causing deadlocks
   * Bug #21954: NoMethodError instead of Gem::LoadError on gem activation
     problem in Ruby 4.0.2
   * Bug #21844: Inconsistent ArgumentError message for Data::define.new
   * Bug #21992: Defining BasicObject#initialize causes segmentation fault
   * Bug #22018: ISeq created via RubyVM::InstructionSequence.compile don't
     support coverage
   * Bug #21985: RubyVM::AST negative numbers do not include - in location
   * Bug #21986: RubyVM::AST incorrect location for literals followed by
     modifier if
   * Bug #21933: Ruby::Box: named capture local variable can become nil after
     non-matching lines
   * Bug #21940: Ruby::Box: $_ returns stale value due to gvar_tbl caching
   * Bug #22004: parse.y doesn't executes loop body with while true || true
     condition
   * Bug #21952: Ruby::Box double free at process exit when fiddle/import is
     required in multiple boxes
   * Bug #22003: .bundle extensions not built when doing out-of-source build
   * Bug #22002: argument stack underflow (-1)

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed May 20 13:13:37 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby: rubyversion.mk
   	pkgsrc/lang/ruby40: distinfo
   Added Files:
   	pkgsrc/lang/ruby40/patches:
   	    patch-.bundle_gems_rdoc-7.0.4_lib_rdoc_encoding.rb
   Removed Files:
   	pkgsrc/lang/ruby40/patches:
   	    patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_parser_c.rb

   Log Message:
   lang/ruby40: update to 4.0.5

   Ruby 4.0.5 (2026-05-20)

   * CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout
     handler

   * Bug #22065: make rdoc fails with invalid byte sequence in US-ASCII on Ruby
     4.0.4 under C locale - Ruby - Ruby Issue Tracking System

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed May 20 13:13:37 2026 UTC (5 months, 3 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -6 lines
lang/ruby40: update to 4.0.5

Ruby 4.0.5 (2026-05-20)

* CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout
  handler

* Bug #22065: make rdoc fails with invalid byte sequence in US-ASCII on Ruby
  4.0.4 under C locale - Ruby - Ruby Issue Tracking System

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue May 19 14:58:52 2026 UTC (5 months, 4 weeks ago) by taca
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5 lines
lang/ruby40: update to 4.0.4

pkgsrc change:

* Fix rdoc problem on C locale, backported from rdoc-7.0.4.
  (So, no need to patch a template file to character entity reference.)

Ruby 4.0.4 (2026-05-11)

* Bug #21955: Fiber#transfer: machine stack not released when fiber
  terminates, causing FiberError: can't set a guard page
* Bug #21964: Fiber stack acquire can expand unnecessarily
* Bug #21971: Fix regexp performance regression for patterns starting with
  s/k
* Bug #21961: Marshal.load freeze option fail to freeze linked strings
* Bug #21959: rb_internal_thread_event_hooks_rw_lock is not reinitialized
  after fork causing deadlocks
* Bug #21954: NoMethodError instead of Gem::LoadError on gem activation
  problem in Ruby 4.0.2
* Bug #21844: Inconsistent ArgumentError message for Data::define.new
* Bug #21992: Defining BasicObject#initialize causes segmentation fault
* Bug #22018: ISeq created via RubyVM::InstructionSequence.compile don't
  support coverage
* Bug #21985: RubyVM::AST negative numbers do not include - in location
* Bug #21986: RubyVM::AST incorrect location for literals followed by
  modifier if
* Bug #21933: Ruby::Box: named capture local variable can become nil after
  non-matching lines
* Bug #21940: Ruby::Box: $_ returns stale value due to gvar_tbl caching
* Bug #22004: parse.y doesn't executes loop body with while true || true
  condition
* Bug #21952: Ruby::Box double free at process exit when fiddle/import is
  required in multiple boxes
* Bug #22003: .bundle extensions not built when doing out-of-source build
* Bug #22002: argument stack underflow (-1)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 15 16:58:55 2026 UTC (6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
ruby40: add upstream bug report to patch

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri May 15 16:56:18 2026 UTC (6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
ruby40: fix parallel build and dtrace-related build problem

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat May 9 16:21:05 2026 UTC (6 months, 1 week ago) by bsiegert
Branches: pkgsrc-2026Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
Pullup ticket #7103 - requested by taca
lang/ruby40: security fix

Revisions pulled up:
- lang/ruby/rubyversion.mk                                      1.320
- lang/ruby40/Makefile                                          1.2
- lang/ruby40/PLIST                                             1.2
- lang/ruby40/distinfo                                          1.5

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Tue May  5 14:09:07 UTC 2026

   Modified Files:
   	pkgsrc/lang/ruby: rubyversion.mk
   	pkgsrc/lang/ruby40: Makefile PLIST distinfo

   Log Message:
   lang/ruby: update to 4.0.3

   4.0.3 (2026-04-21)

   What's Changed

   * Prohibit def_method on marshal-loaded ERB instances (CVE-2026-41316)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 5 14:09:07 2026 UTC (6 months, 1 week ago) by taca
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
lang/ruby: update to 4.0.3

4.0.3 (2026-04-21)

What's Changed

* Prohibit def_method on marshal-loaded ERB instances (CVE-2026-41316)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Mar 22 13:20:18 2026 UTC (7 months, 3 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base
Branch point for: pkgsrc-2026Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
lang/ruby40: update to 4.0.2

This release contains security fix for zlib gem version 3.3.2 which fixes
CVE-2026-27820.

Quote from release announce:

This is a routine update that includes a bugfix in YJIT for NoMethodError on
Puma. Please see the GitHub Releases for further details.

Release Schedule

We intend to release the latest stable Ruby version (currently Ruby 4.0)
every two months following the most recent release. Ruby 4.0.3 will be
released in May, 4.0.4 in July, 4.0.5 in September, and 4.0.6 in November.

If a change arises that significantly affects users, a release may occur
earlier than planned, and the subsequent schedule may shift accordingly.

Changes from GitHub release page:

4.0.2 (2026-03-16)

* Bug #21941: Local variable becomes nil when YJIT enabled mid-method with
  fork/signal/ensure

* Bug #21832: segfault with argument forwarding, when combined with splat &
  positional arg

* Bug #21723: binding.irb raises a LoadError under bundle exec when Gemfile
  contains path: or git:

* Bug #21847: Backport syntax_suggest 2.0.3 to supported branches

* Bug #21866: Backport Fix for integer overflow checks in enumerator

* Bug #21865: Crash on signal raise

* Bug #21842: Encoding of rb_interned_str

* Bug #21838: Rails seeing degradation (20% slowdown) related to Revision
  079ef92b "Implement global allocatable slots and empty pages" (from Sep 5
  2024)

* Bug #21873: UnboundMethod#== returns false for methods from
  included/extended modules

* ZJIT: Avoid runtime exceptions from RubyVM::ZJIT.stats_string by k0kubun ·
  Pull Request #16139

* Bug #21931: GC Crash in String#% (backport
  726205b354d1068147719fb42e1de743f1838ef1)

* Bug #21944: "Cannot allocate memory" with M:N threads or Ractors on a low
  RAM Linux machine

* Bug #21927: Prism: misleading error message for forwarding in lambda
  argument

* Bug #21925: Prism misparses standalone "in" pattern matching in "case/in"

* Bug #21828: An incorrect warning message related to benchmark is shown
  when using benchmark-ips

* Bug #21917: Unable to build 4.0.1 on AIX 7.2

* Bug #21945: Ripper lexes newline between identifier and and? as ignored
  newline

* Bug #21947: Timeout.timeout doesn't use Timeout::ExitException when Fiber
  scheduler is in use.

* Bug #21926: Thread#value on popen3 wait thread hangs in finalizer

* Bug #21880: The ultra_safe mode of pstore bundled with Ruby 4.0 is broken.

* Bug #21097: x = a rescue b in c and def f = a rescue b in c parsed
  differently between parse.y and prism

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 5 13:07:17 2026 UTC (9 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
ruby40: revert previous, -g should not be in CPPFLAGS

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Feb 5 10:07:44 2026 UTC (9 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
ruby40: fix build with CPPFLAGS=-g

CPPFLAGS got passed unmodified to dtrace, but that does not support
all compiler flags that can be passed this way.

Add link to upstream bug report.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 3 16:00:33 2026 UTC (9 months, 1 week ago) by taca
Branches: MAIN
lang/ruby40: add version 4.0.1

Add Ruby 4.0.1 as lang/ruby40.


Ruby is an interpreted object-oriented programming language often used
for web development.  It also offers many scripting features to
process plain text and serialized files, or manage system tasks.  It
is simple, straightforward, and extensible.

Ruby 4.0 introduces a number of new features and performance improvements,
here are some of them:
  * Ruby Box

	a new (experimental) feature to provide separation about definitions

  * Performance: ZJIT

	a new just-in-time (JIT) compiler, which is developed as the
	next generation of YJIT

	It is not enabled on pkgsrc for now.

  * Ractor Improvements
  * Stdlib updates
  * Retirement of RJIT: Experital pure-Ruby JIT compiler

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>