Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby34
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pullup ticket #7337 - requested by taca
lang/ruby34: Security fix
Revisions pulled up:
- lang/ruby/rubyversion.mk 1.334
- lang/ruby34/distinfo 1.21
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 25 14:32:43 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby34: distinfo
Log Message:
lang/ruby34: update to 3.4.12
This update contains these security fixes.
* CVE-2026-89078: Double Free issue in Regular Expression Parser (GitLa=
b
19.4.1)
* 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)
3.4.12 (2026-10-23)
* Bug #22342: IO#gets can ignore the limit argument in some edge cases
* Bug #22284: Passing an object with to_int to curry as its arity cause=
s
problems with LLP64.
* Bug #22387: str_shared_replace incorrectly recalculates termlen
* Bug #22391: Fix propagation of errno in rb_io_maybe_wait.
* Bug #22388: Use-after-free when an Enumerable retains its each block
* Bug #22326: heap buffer overflow in array.values_at()
* Bug #22423: String#initialize(encoding:) stores an inflated capacity =
and
writes past the malloc'd buffer on append (rb_str_init termlen
double-adjust)
* Prevent double free for too big repetition quantifiers by makenowjust=
=B7
Pull Request #13332
* Bug #22415: Thread.handle_interrupt needs to preserve errinfo
* 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)"
* Reject overflowed repeat/null-check IDs in huge regexps by makenowjus=
t =B7
Pull Request #16801
* Bug #22384: Regexp compile error in the 2nd+ branch of a top-level
alternation leaks the parse tree (regression from #13332, Ruby 4.0)
lang/ruby34: update to 3.4.12 This update contains these security fixes. * CVE-2026-89078: Double Free issue in Regular Expression Parser (GitLab 19.4.1) * 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) 3.4.12 (2026-10-23) * Bug #22342: IO#gets can ignore the limit argument in some edge cases * Bug #22284: Passing an object with to_int to curry as its arity causes problems with LLP64. * Bug #22387: str_shared_replace incorrectly recalculates termlen * Bug #22391: Fix propagation of errno in rb_io_maybe_wait. * Bug #22388: Use-after-free when an Enumerable retains its each block * Bug #22326: heap buffer overflow in array.values_at() * Bug #22423: String#initialize(encoding:) stores an inflated capacity and writes past the malloc'd buffer on append (rb_str_init termlen double-adjust) * Prevent double free for too big repetition quantifiers by makenowjust · Pull Request #13332 * Bug #22415: Thread.handle_interrupt needs to preserve errinfo * 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)" * Reject overflowed repeat/null-check IDs in huge regexps by makenowjust · Pull Request #16801 * Bug #22384: Regexp compile error in the 2nd+ branch of a top-level alternation leaks the parse tree (regression from #13332, Ruby 4.0)
Pullup ticket #7276 - requested by taca
lang/ruby34: Security fix
Revisions pulled up:
- lang/ruby/rubyversion.mk 1.332
- lang/ruby34/Makefile 1.13
- lang/ruby34/distinfo 1.19-1.20
- lang/ruby34/patches/patch-lib_resolv.rb deleted
- lang/ruby34/patches/patch-template_Makefile.in 1.2
---
Module Name: pkgsrc
Committed By: taca
Date: Tue Sep 22 09:29:37 UTC 2026
Modified Files:
pkgsrc/lang/ruby34: distinfo
pkgsrc/lang/ruby34/patches: patch-template_Makefile.in
Log Message:
lang/ruby34: Fix ruby-rjit option
Fix build problem with ruby-rjit PKG_OPTIONS provided by PR pkg/60763.
No PKGREVISION bump since it is simply build problem.
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Sep 24 15:28:57 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby34: Makefile distinfo
Removed Files:
pkgsrc/lang/ruby34/patches: patch-lib_resolv.rb
Log Message:
lang/ruby34: update to 3.4.11
3.4.11 (2026-09-23)
* Bug #22196: Heap-use-after-free in fiber_switch with transfer-termina=
ted
async tasks on 3.4.10
* Guard fiber target across fiber_store. by samuel-williams-shopify =B7=
Pull
Request #17951
* Bug #21842: Encoding of rb_interned_str
* Bug #22126: Stack underflow for partial DCE and loops
* Bug #22124: void value missed in parse.y
* Bug #22183: parse.y interpolation inside lambda literal
* Bug #22099: Keyword-only method silently accepts a positional argumen=
t
* Bug #22133: Ruby's default SIGINT handling ignores Thread.handle_inte=
rrupt
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 r=
aises
* Bug #22198: win32: heap overflow in Kernel#system
* Bug #20958: fix ENV.keys encoding on windows
* Bug #11438: native_thread_init_stack() get machine.stack_start unequa=
l to
thread's stack start address, x86 win32
* Bug #22218: Line TracePoint misses executed loop condition after a gu=
ard
* Bug #22223: Socket.tcp with connect_timeout returns a phantom "connec=
ted"
socket for a refused connection on macOS 27 (kernel answers EISCONN o=
n
connect retry; SO_ERROR never consulted)
* Bug #22290: Adding instance variables to anonymous object may bloat a=
ll
future classes
* Bug #22269: Coverage.line_stub clobbers already-collected coverage da=
ta
* Bug #22257: Prepending a module to an already-included module leaves =
stale
super caches
* Handle spurious wakeups in Thread#join. by samuel-williams-shopify =B7=
Pull
Request #13532
* Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because
pipe2() and dup3() are unavailable
* 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 pro=
cess
* 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 #22321: Assertion Failed:
rb_vm_search_method_slowpath:RB_TYPE_2_P(klass, RUBY_T_CLASS,
RUBY_T_ICLASS): klass: T_MODULE
* Bug #22334: Assertion Failed: VM_ENV_FLAGS:FIXNUM_P(flags)
* Bug #22336: IO:Buffer Heap uaf
* Bug #9932: Permutation - Segment fault
* 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 #22338: [Backport] win32: create directory symlinks for relative
directory targets
lang/ruby34: update to 3.4.11 3.4.11 (2026-09-23) * Bug #22196: Heap-use-after-free in fiber_switch with transfer-terminated async tasks on 3.4.10 * Guard fiber target across fiber_store. by samuel-williams-shopify · Pull Request #17951 * Bug #21842: Encoding of rb_interned_str * Bug #22126: Stack underflow for partial DCE and loops * Bug #22124: void value missed in parse.y * Bug #22183: parse.y interpolation inside lambda literal * Bug #22099: Keyword-only method silently accepts a positional argument * 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 * Bug #22198: win32: heap overflow in Kernel#system * Bug #20958: fix ENV.keys encoding on windows * Bug #11438: native_thread_init_stack() get machine.stack_start unequal to thread's stack start address, x86 win32 * Bug #22218: Line TracePoint misses executed loop condition after a guard * 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 #22290: Adding instance variables to anonymous object may bloat all future classes * Bug #22269: Coverage.line_stub clobbers already-collected coverage data * Bug #22257: Prepending a module to an already-included module leaves stale super caches * Handle spurious wakeups in Thread#join. by samuel-williams-shopify · Pull Request #13532 * Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because pipe2() and dup3() are unavailable * 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 #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 #22321: Assertion Failed: rb_vm_search_method_slowpath:RB_TYPE_2_P(klass, RUBY_T_CLASS, RUBY_T_ICLASS): klass: T_MODULE * Bug #22334: Assertion Failed: VM_ENV_FLAGS:FIXNUM_P(flags) * Bug #22336: IO:Buffer Heap uaf * Bug #9932: Permutation - Segment fault * 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 #22338: [Backport] win32: create directory symlinks for relative directory targets
lang/ruby34: Fix ruby-rjit option Fix build problem with ruby-rjit PKG_OPTIONS provided by PR pkg/60763. No PKGREVISION bump since it is simply build problem.
lang/ruby34: update resolv gem Update resolv gem to 0.7.2 to fix CVE-2026-80212 and CVE-2026-80213. Bump PKGREVISION.
ruby34: fix parallel build and dtrace-related build problem
lang/ruby34: update to 3.4.10 pkgsrc change: * Don't install ChangeLog files since recent version of them dose not provided any more. Ruby 3.4.10 (2026-06-30) * Bug #21992: Defining BasicObject#initialize causes segmentation fault * Bug #22004: parse.y doesn't executes loop body with while true || true condition * Bug #22018: ISeq created via RubyVM::InstructionSequence.compile don't support coverage * Bug #21941: Local variable becomes nil when YJIT enabled mid-method with fork/signal/ensure * Bug #21947: Timeout.timeout doesn't use Timeout::ExitException when Fiber scheduler is in use. * Bug #21847: Backport syntax_suggest 2.0.3 to supported branches * Bug #21880: The ultra_safe mode of pstore bundled with Ruby 4.0 is broken. * Bug #22070: Thread.each_caller_location(1, 1) segfaults when called from a cfunc * Bug #21955: Fiber#transfer: machine stack not released when fiber terminates, causing FiberError: can't set a guard page * 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 #21985: RubyVM::AST negative numbers do not include - in location * Bug #22017: Backport win32-resolv * Bug #21927: Prism: misleading error message for forwarding in lambda argument * Bug #21925: Prism misparses standalone "in" pattern matching in "case/in" * Bug #21831: Prism doesn't count underscores in the fraction part of rational float * Bug #21986: RubyVM::AST incorrect location for literals followed by modifier if * Bug #22003: .bundle extensions not built when doing out-of-source build * Bug #22002: argument stack underflow (-1) * Bug #22076: defined? returns nil for protected methods defined in a module even when callable * Bug #22074: YJIT misaligns locals when there are > 256 local variables * Bug #22079: Float#ceil gives incorrect result * Bug #21882: IO::Buffer#locked leaves the buffer locked when the block raises * Bug #22112: Backport for IO::Buffer USF issues * Bug #22092: Array#sum takes slow path, does not perform compensated summation of Float elements when init argument is a Float * Bug #22101: ASAN heap-use-after-free in rb_data_free after TypedData dfree frees dynamic rb_data_type_t * Bug #22120: Segfault caused by ar_find_entry_hint() not checking for conversion to st_table
lang/ruby34: improve rdoc * Fix rdoc problem on C locale, backported from rdoc-7.0.4. * Remove pkglint warning. Bump PKGREVISION.
Pullup ticket #7104 - requested by taca lang/ruby34: security fix Revisions pulled up: - lang/ruby/rubyversion.mk 1.321 - lang/ruby34/Makefile 1.8 - lang/ruby34/distinfo 1.14 - lang/ruby34/patches/patch-lib_erb.rb 1.1 - lang/ruby34/patches/patch-lib_erb_version.rb 1.1 - lang/ruby34/patches/patch-test_erb_test__erb.rb 1.1 --- Module Name: pkgsrc Committed By: taca Date: Wed May 6 05:15:35 UTC 2026 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby34: Makefile distinfo Added Files: pkgsrc/lang/ruby34/patches: patch-lib_erb.rb patch-lib_erb_version.rb patch-test_erb_test__erb.rb Log Message: lang/ruby34: update default gem erb to 4.0.4.1 Update default gem erb to 4.0.4.1 to fix security problem of CVE-2026-41316. Bump PKGREVISION.
lang/ruby34: update default gem erb to 4.0.4.1 Update default gem erb to 4.0.4.1 to fix security problem of CVE-2026-41316. Bump PKGREVISION.
lang/ruby34: update to 3.4.9 3.4.9 (2026-03-11) This release includes an update to the zlib gem addressing CVE-2026-27820, along with other bug fixes. What's Changed: * Bug #21715: Miscompilation on x86-64-v2 due to undefined behavior in search_nonascii in string.c * Bug #21787: IO::Buffer Integer Overflow in Range Validation Leads to Out-of-Bounds Memory Access * Bug #21757: Splatted args array is mutated when passing unexpected kwargs * Bug #21326: Instruction generation differences between parse.y and prism for def a(x, ...); b(...); end * Bug #21814: 0.pow(2,-9999999999999999990) should be zero * Bug #21819: A Data object should be frozen even if it has no members * Bug #21811: Fix underflow in Array#pack * Bug #21838: Rails seeing degradation (20% slowdown) related to Revision 079ef92b "Implement global allocatable slots and empty pages" (from Sep 5 2024) * Bug #21931: GC Crash in String#% (backport 726205b354d1068147719fb42e1de743f1838ef1) * Bug #21860: Process.fork: the child may deadlock on th->interrupt_lock in threadptr_interrupt_exec_cleanup * Bug #21873: UnboundMethod#== returns false for methods from included/extended modules
lang/ruby34: update to 3.4.8 Ruby 3.4.8 (2025-12-16) * Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21 * Bug #21626: Backport WASI setjmp handler memory leak fixes * Bug #21631: Backport openssl gem bugfix releases * Bug #21632: Backport REXML CVE-2025-58767 fix * Bug #21644: Stack consistency error for the newrange INSN peephole optimization with chilled string * Bug #21668: Improve performance of UnicodeNormalize.canonical_ordering_one * Bug #21638: Ractor-local $DEBUG is not marked * Bug #21652: Marshal#dump documentation out-of-date/unclear regarding Data class * Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters * Bug #21625: Allow IO#wait_readable together with IO#ungetc even in text mode * Bug #21671: Rails CI raises Assertion Failed: rbimpl_rstring_getmem:RB_TYPE_P(str, RUBY_T_STRING): actual type: 26 with "-DENABLE_PATH_CHECK=0 -DRUBY_DEBUG=1" enabled * Update next stable version to 4.0 from 3.5 by hsbt · Pull Request #15146 * Bug #21679: Segfault when ruby calls pthread_detach in rb_getnameinfo * Bug #21694: Crash when looking up super method from BasicObject * Bug #21707: Destructuring assignment of SimpleDelegator wrapped array bug with YJIT * Bug #21265: Crash when proc from Symbol#to_proc called outside refinement scope * Bug #21703: RUBY_CRASH_REPORT does not work when shelling out in some cases * Bug #21666: Math.lgamma(-1).should == [infinity_value, 1] fails with Fedora glibc-2.42.9000-8.fc44 * Bug #21655: segfault when building 3.3.10 with GCC 15.2.1, regression from 3.3.9 * Bug #21680: Integer#digits bug starting from Ruby 3.1 * Bug #21705: UNIXServer.open(nil) segfaults on Windows * Bug #21648: [prism] ruby crashes for for * in [10]; end * Bug #21187: Strings concatenated with \ getting frozen with literal hashes (PRISM only) * Bug #21757: Splatted args array is mutated when passing unexpected kwargs * Bug #21772: ruby: YJIT has panicked StackOpnd(1) should be a heap object, but was ImmSymbol for VALUE(137647867319760) * Bug #21446: StackOverflow when changing visibility in reopened refinement * Bug #21779: Do not export functions from statically linked extensions * Bug #21266: YJIT GC safety crash with proc objects as block argument
lang/ruby34: update to 3.4.7 Ruby 3.4.7 (2025-10-07) * Merge URI-1.0.4 for Ruby 3.4 by hsbt - Pull Request #14757 * Bug #21313: it in rescue/ensure on prism * [3.4] compile.c: Handle anonymous variables in outer_variable_cmp by byroot - Pull Request #13493 * Bug #21610: Use ec->interrupt_mask to prevent interrupts. * Bug #21611: Ruby 3.4.6 can't be built with GCC 15.2.1 * Bug #21342: Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC * Bug #21569: [armv7, musl] SIGBUS in ibf_load_object_float due to unaligned VFP double load when reading IBF * Bug #21568: Requiring core libraries when already requiring multiple user defined libraries with the same name can error
lang/ruby34: update to 3.4.6
Ruby 3.4.6 (2025-09-15)
What's Changed
* Bug #21514: Rust deprecation warning building
ruby-3.4.5/yjit/src/codegen.rs
* Bug #21259: The Prism compiler wrongly creates a line number of zero
* Bug #21188: PRISM does not end reading from tty with ^D twice
* Bug #21546: prefix in ruby.pc is wrong when --enable-load-relative
* Bug #21402: ruby2_keywords affects methods/procs with post arguments
* Bug #19417: Regexp \p{Word} and [[:word:]] do not match Unicode
Other_Number character
* Bug #21535: NoMethodError becomes NameErrorwhen using ... delegation and
method call indirection
* YJIT: Add more information to an assert message by k0kubun · Pull Request
#14481
* Bug #21567: Crash when $LOADED_FEATURES is modified during require
* Bug #21561: Wrong encoding for File.dirname result on Windows
* Bump Prism version to 1.5.1 by k0kubun · Pull Request #14549
lang/ruby34: update to 3.4.5 pkgsrc change: * Enable sigaltstack(2) on NetBSD refering to PR pkg/59017. Ruby 3.4.5 (2025-07-15) * Bug #21340: Bump autoconf version to properly handle C23 bool/stdbool defines * Sync lockfile from rubygems/rubygems by deivid-rodriguez · Pull Request #13472 * Bug #21438: use-after-free when resizing exivars * Ensure that memory is not freed before calling free_fast_fallback_getaddrinfo_* by shioimm · Pull Request #12661 * Fix heap-use-after-free in free_fast_fallback_getaddrinfo_entry by shioimm Pull Request #13231 * Bug #21441: SEGV during thread cleanup if profiler calls thread_profiles_frames at wrong time * Bug #21255: Can't build Ruby with Windows SDK 10.0.26100 * Backport GH-13617 for s390x by hsbt · Pull Request #13757 * Bump up resolv-0.6.2 for Ruby 3.4 by hsbt · Pull Request #13818 * Bug #21197: Prism does not accept newline after defined? keyword * Bug #21333: heap-use-after-free caused by rehash during update * Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite * Bug #21383: Prism leaks memory with invalid yield * Bug #21394: Memory leak in Prism's RubyVM::InstructionSequence.new * Bug #21099: TestGc#test_gc_stress_at_startup assertion failure * Bug #21395: Please backport caa6ba1a46afa1bc696adc5fe91ee992f9570c89 * Bug #21439: Crash with PM_SPLAT_NODE compiler error (Prism) * Bug #21354: Symbol#to_proc is not ractor safe * Bug #20009: Marshal.load raises exception when load dumped class include non-ASCII * Bug #21380: Use-After-Free in String#split with In-Block String Modification * Bug #21447: Fix handling of PM_CONSTANT_PATH_NODE node in keyword arguments with ARGS_SPLAT * Bug #21448: Random.urandom may fail to fall back to reading /dev/urandom on Linux < 3.17 * Bug #21440: Cannot create instances of frozen Data subclasses * Bug #21437: Date#hash may return different values for equal dates with large years * Bug #21497: building issue when using gcc15, because C23 is default * Bug #21500: Backport gcc 15 support
Pullup ticket #6988 - requested by taca lang/ruby34: Security fix Revisions pulled up: - lang/ruby/rubyversion.mk 1.301 - lang/ruby34/Makefile 1.6 - lang/ruby34/distinfo 1.8 - lang/ruby34/patches/patch-ext_win32_lib_win32_resolv.rb 1.1 - lang/ruby34/patches/patch-ext_win32_resolv_resolv.c 1.1 - lang/ruby34/patches/patch-lib_resolv.rb 1.1 - lang/ruby34/patches/patch-test_resolv_test__dns.rb 1.1 --- Module Name: pkgsrc Committed By: taca Date: Sun Jul 13 15:39:55 UTC 2025 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby34: Makefile distinfo Added Files: pkgsrc/lang/ruby34/patches: patch-ext_win32_lib_win32_resolv.rb patch-ext_win32_resolv_resolv.c patch-lib_resolv.rb patch-test_resolv_test__dns.rb Log Message: lang/ruby34: update resolv gem Update resolve gem to 0.6.2 to fix security problem of CVE-2025-24294. Bump PKGREVISION.
lang/ruby34: update resolv gem Update resolve gem to 0.6.2 to fix security problem of CVE-2025-24294. Bump PKGREVISION.
lang/ruby34: stop sorting @extensions of Gem::Specification There is a gem (google-protobuf) depends on order of @extensions of Gem::Specification to build its extensions. This sorting was introduced from Ruby 3.4.3 (via RubyGems 3.6.7). So, stop sorting for @extensions to build such a gem again. Bump PKGREVISION.
lang/ruby34: update to 3.4.4 Ruby 3.4.4 (2025-05-14) * YJIT: Split the block on optimized getlocal/setlocal by k0kubun · Pull Request #13331 * Bug #21257: YJIT can generate infinite loop when OOM * Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing * Bug #21327: Windows builds seem broken after clock_gettime changes? * Bug #21331: heap-use-after-free caused by rehash during transform_values! * Bug #21289: Fix C level backtraces for USE_ELF Default gem net-imap is updated to 0.5.8 including fix for CVE-2025-43857.
ruby*: remove Interix support
lang/ruby34: update to 3.4.3 Ruby 3.4.3 (2025-04-14) * Bug #21145: Prism accepts newlines in-between curly unicode escape * Bug #21153: ::Foo ||= p 1 should parse * Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1 * Bug #21131: IO.copy_stream: yielded string changes value when duped * Feature #19521: Support for Module#name= and Class#name=. * Bug #21159: Module#set_temporary_name should freeze given name * Bug #21161: Crash when locale is set to Turkish tr_TR.UTF-8 * Bug #21144: Win32: Use Windows time zone ID as the time zone name if TZ is not set * Bug #21170: Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash * Bug #21172: Race condition in register_fstring * Bug #21163: Inconsistencies in Kernel.Float compared to other number parsing methods * Bug #21173: RUBY_FREE_AT_EXIT does not work when error in -r * Bug #21179: Introduction Happy Eyeballs Version 2 broke Socket.tcp from secondary Ractors * Bug #19841: Marshal.dump stack overflow with recursive Time * Bug #21180: SEGV while marking imemo_env->iseq * Bug #21186: Inconsistent parsing of ?あand 0 * Bug #21094: Module#set_temporary_name does not affect a name of a nested module * Bug #21195: Crash when using IO#timeout * Bug #21196: Ruby 3.4 ignores visibility when passing arguments using ... * Bug #21141: Time#utc? does not work with a timezone object * Bug #21211: Incomplete Backtrace for Socket Errors in Ruby 3.4+ * Bug #21197: Prism does not accept newline after defined? keyword * Bug #21183: Ractor error with Prism::VERSION * Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18 * Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
lang/ruby34: Fix PRISM parser behavior on NetBSD Fix segmentation fault when execute ruby binary without argument reported by ryoon@ and mef@. prism/prism.c use "fgets" as functions's parameter and the parameter is function pointer. On NetBSD, fgets(3) was called instead of passed function pointer. So, replace "fgets" to other name. Bump PKGREVISION.
lang/ruby34: update to 3.4.2
pkgsrc change: stop building YJIT_LIBS each time.
* Bug #21024: Ruby including generates compilation warning with GCC 15,
header is deprecated in C++17,
* Bug #21021: "try to mark T_NONE object" with 3.4.1
* Bug #20997: YJIT panic assertion left == right failed: leave instruction
expects stack size 1, but was: 2
* Bug #20981: rb_undefine_finalizer is missing
* Bug #20989: Segmentation fault in Ripper when lexing /#{"\xcd"}/
* Bug #21003: unexpected warning about ignored block
* Bug #21002: Please include license information of turbo_tests
* Bug #21001: unexpected nil result from proc with ensure and next
* Bug #21010: Endless method definition of []= is SyntaxError in parse.y but
allowed in Prism
* Bug #20992: eval(ascii_encoded_code) raises EncodingError when multibyte
local variable exists
* Bug #21017: --with-parser=parse.y configure option does not work
* Bug #21014: Prism doesn't set node_id on iseqs correctly
* Bug #21027: not() receiver should be nil
* Bug #20995: exception escapes block given to IO.popen("-") in child
process
* Bug #21008: Array#sum, Enumerator#sum, Numeric subclass
* Bug #21044: Prism maximum recursion depth is 1_000, parse.y is 10_000
* Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed
forwarding variables
* Bug #21085: [BUG] Stack consistency error with -ne
* Bug #21048: [Prism] rescue in modifier form with condition behaves
differently
* Bug #21046: Backport: TLS fix for ARM64
* Bug #21012: Compiling a['a','b'],=1 with parse.y fails
* Bug #21038: Preserve errno in rb_fiber_scheduler_unblock
* Bug #21032: Module#autoload? is slow when $LOAD_PATH contains a relative
path
* Bug #21092: error building ruby 3.4.1 on cygwin/msys2
* Bug #21095: Prefer uname -n over hostname in tests.
* Bug #21103: Binding problem with delegate methods
* Bug #21088: TCPSocket.new raises Socket::ResolutionError instead of
Errno::ECONNREFUSED for hosts defined in /etc/hosts
* Bug #21112: Typo in error message when an incorrect key is used with
WeakKeyMap
* Bug #21117: Inconsistent behaviour between "_1" and "it" variables
* Bug #21114: Prism hangs up while parsing deeply nested def
* Bug #20984: ENV.inspect is not encoding aware
* Bug #20982: Inconsistency between Hash#inspect and ENV.inspect in Ruby 3.4
lang/ruby34: add package version 3.4.1. Add latest release of Ruby Programming Language version 3.4.1. 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. Features of Ruby are shown below. + Simple Syntax + *Normal* Object-Oriented features (ex. class, method calls) + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method) + Operator Overloading + Exception Handling + Iterators and Closures + Garbage Collection + Dynamic Loading of Object files (on some architecture) + Highly Portable (works on many UNIX machines, and on Windows, Mac, etc.) Ruby 3.4 introduces a number of new features and performance improvements, here are some of them: * Prsim parser (as a default gem). * Performance: YJIT: Verious improvements including performance. * Performance: RJIT: Experital pure-Ruby JIT compiler replace MJIT. * M:N thread scheduler. * Retirement of ext/readline.