Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby33
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pullup ticket #7338 - requested by taca
lang/ruby33: Security fix
Revisions pulled up:
- lang/ruby/rubyversion.mk 1.335
- lang/ruby33/Makefile 1.16
- lang/ruby33/distinfo 1.21
- lang/ruby33/patches/patch-lib_resolv.rb deleted
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 25 14:35:56 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby33: Makefile distinfo
Removed Files:
pkgsrc/lang/ruby33/patches: patch-lib_resolv.rb
Log Message:
lang/ruby33: update to 3.3.13
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.3.13 (2026-10-23)
* Bug #21703: RUBY_CRASH_REPORT does not work when shelling out in some=
cases
* Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because
pipe2() and dup3() are unavailable
* Prevent double free for too big repetition quantifiers by makenowjust=
=B7
Pull Request #13332
* 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/ruby33: update to 3.3.13 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.3.13 (2026-10-23) * Bug #21703: RUBY_CRASH_REPORT does not work when shelling out in some cases * Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because pipe2() and dup3() are unavailable * Prevent double free for too big repetition quantifiers by makenowjust · Pull Request #13332 * 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)
lang/ruby33: fix build problem patch to reesolv.gemspec contains extra code to use git. Bump PKGREVISION.
lang/ruby33: update resolv gem Update resolv gem to 0.3.2 to fix CVE-2026-80212 and CVE-2026-80213. Bump PKGREVISION.
Pullup ticket #7206 - requested by taca
lang/ruby33: Security fix
Revisions pulled up:
- lang/ruby/rubyversion.mk 1.327
- lang/ruby33/Makefile 1.13
- lang/ruby33/PLIST 1.11
- lang/ruby33/distinfo 1.19
- lang/ruby33/patches/patch-lib_erb.rb deleted
- lang/ruby33/patches/patch-lib_erb_version.rb deleted
- lang/ruby33/patches/patch-test_erb_test__erb.rb deleted
---
Module Name: pkgsrc
Committed By: taca
Date: Sat Jul 18 14:09:03 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby33: Makefile PLIST distinfo
Removed Files:
pkgsrc/lang/ruby33/patches: patch-lib_erb.rb patch-lib_erb_version.rb
patch-test_erb_test__erb.rb
Log Message:
lang/ruby33: update to 3.3.12
pkgsrc change: stop installing obsolete ChangeLog.
Note: erb's security problem was already fixed with ruby33-3.3.11nb2.
3.3.12 (2026-07-16)
What's Changed
This release includes the following security fixes.
* CVE-2026-41316: ERB @_init deserialization guard bypass via def_module /
def_method / def_class
This release updates the default gem erb to 4.0.3.1 and the bundled gem
net-imap to 0.4.25. The net-imap update fixes CVE-2026-42245,
CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258,
CVE-2026-47240, CVE-2026-47241 and CVE-2026-47242. Please see the release
notes of net-imap v0.4.24 and net-imap v0.4.25 for the details of these
fixes.
lang/ruby33: update to 3.3.12 pkgsrc change: stop installing obsolete ChangeLog. Note: erb's security problem was already fixed with ruby33-3.3.11nb2. 3.3.12 (2026-07-16) What's Changed This release includes the following security fixes. * CVE-2026-41316: ERB @_init deserialization guard bypass via def_module / def_method / def_class This release updates the default gem erb to 4.0.3.1 and the bundled gem net-imap to 0.4.25. The net-imap update fixes CVE-2026-42245, CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258, CVE-2026-47240, CVE-2026-47241 and CVE-2026-47242. Please see the release notes of net-imap v0.4.24 and net-imap v0.4.25 for the details of these fixes.
lang/ruby33: improve rdoc * Fix rdoc problem on C locale, backported from rdoc-7.0.4. * Remove pkglint warning. Bump PKGREVISION.
Pullup ticket #7105 - requested by taca lang/ruby33: security fix Revisions pulled up: - lang/ruby/rubyversion.mk 1.322 - lang/ruby33/Makefile 1.11 - lang/ruby33/distinfo 1.17 - lang/ruby33/patches/patch-lib_erb.rb 1.1 - lang/ruby33/patches/patch-lib_erb_version.rb 1.1 - lang/ruby33/patches/patch-test_erb_test__erb.rb 1.1 --- Module Name: pkgsrc Committed By: taca Date: Wed May 6 05:28:23 UTC 2026 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby33: Makefile distinfo Added Files: pkgsrc/lang/ruby33/patches: patch-lib_erb.rb patch-lib_erb_version.rb patch-test_erb_test__erb.rb Log Message: lang/ruby33: update default gem erb to 4.0.3.1 Update default gem erb to 4.0.3.1 to fix security problem of CVE-2026-41316. Bump PKGREVISION.
lang/ruby33: update default gem erb to 4.0.3.1 Update default gem erb to 4.0.3.1 to fix security problem of CVE-2026-41316. Bump PKGREVISION.
Pullup ticket #7059 - requested by taca
lang/ruby33: Security fix
Revisions pulled up:
- lang/ruby/rubyversion.mk 1.315
- lang/ruby33/Makefile 1.10
- lang/ruby33/PLIST 1.10
- lang/ruby33/distinfo 1.16
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Mar 26 14:05:17 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby33: Makefile PLIST
Log Message:
lang/ruby33: update to 3.3.11
Ruby 3.3.11 (2026-03-26)
From=20release announce:
This release includes an update to the zlib gem addressing CVE-2026-278=
20,
along with some bug fixes.
This is the last release of normal maintenance for the Ruby 3.3 series.=
After this release, Ruby 3.3 enters a security maintenance phase. Duri=
ng
this phase, we will only backport security fixes and fixes for critical=
build issues, without any regular bug fixes.
The security maintenance phase is scheduled to last for one year, until=
the
end of March 2027. At that point, official support for Ruby 3.3 will e=
nd.
We recommend that you begin planning your migration to Ruby 3.4 or 4.0.=
Changes
* Bug #21625: Allow IO#wait_readable together with IO#ungetc even in te=
xt
mode
* Fix indents in Onigmo files to use spaces instead of tabs by makenowj=
ust =B7
Pull Request #14047
* Bug #13671: Regexp with lookbehind and case-insensitivity raises
RegexpError only on strings with certain characters
* Bug #21560: RUBY_MN_THREADS=3D1 causes large performance regression i=
n
Puma 7
* Bug #21668: Backport 6cc66469a007d2fb272397e5e27c20b4ce628f5e
* Bug #21652: Marshal#dump documentation out-of-date/unclear regarding =
Data
class
* Bug #21673: Segmentation Fault in IRB when refining Kernel#puts using=
Module#refine (Regression since Ruby 3.4)
* Bug #21655: segfault when building 3.3.10 with GCC 15.2.1, regression=
from
3.3.9
* Bug #21666: Math.lgamma(-1).should =3D=3D [infinity_value, 1] fails w=
ith
Fedora glibc-2.42.9000-8.fc44
* Bug #21680: Integer#digits bug starting from Ruby 3.1
* Bug #21705: UNIXServer.open(nil) segfaults on Windows
* Bug #21715: Miscompilation on x86-64-v2 due to undefined behavior in
search_nonascii in string.c
* Bug #21860: Process.fork: the child may deadlock on th->interrupt_loc=
k in
threadptr_interrupt_exec_cleanup
* Bug #21873: UnboundMethod#=3D=3D returns false for methods from
included/extended modules
* Bug #21931: GC Crash in String#% (backport
726205b354d1068147719fb42e1de743f1838ef1)
* Bug #21266: YJIT GC safety crash with proc objects as block argument
* Bug #21847: Backport syntax_suggest 2.0.3 to supported branches
* Bug #21959: rb_internal_thread_event_hooks_rw_lock is not reinitializ=
ed
after fork causing deadlocks
* Bug #21703: RUBY_CRASH_REPORT does not work when shelling out in some=
cases
* Bug #21446: StackOverflow when changing visibility in reopened refine=
ment
* Bug #21779: Do not export functions from statically linked extensions=
* Bug #21811: Fix underflow in Array#pack
* Bug #21814: 0.pow(2,-9999999999999999990) should be zero
* Bug #21819: A Data object should be frozen even if it has no members
* Bug #21961: Marshal.load freeze option fail to free linked strings
* Feature #16495: Inconsistent quotes in error messages
* Bug #21880: The ultra_safe mode of pstore bundled with Ruby 4.0 is br=
oken.
---
Module Name: pkgsrc
Committed By: kikadf
Date: Fri Mar 27 10:38:43 UTC 2026
Modified Files:
pkgsrc/lang/ruby33: distinfo
Log Message:
ruby33: fix distinfo
lang/ruby33: update to 3.3.11 Ruby 3.3.11 (2026-03-26) From release announce: This release includes an update to the zlib gem addressing CVE-2026-27820, along with some bug fixes. This is the last release of normal maintenance for the Ruby 3.3 series. After this release, Ruby 3.3 enters a security maintenance phase. During this phase, we will only backport security fixes and fixes for critical build issues, without any regular bug fixes. The security maintenance phase is scheduled to last for one year, until the end of March 2027. At that point, official support for Ruby 3.3 will end. We recommend that you begin planning your migration to Ruby 3.4 or 4.0. Changes * Bug #21625: Allow IO#wait_readable together with IO#ungetc even in text mode * Fix indents in Onigmo files to use spaces instead of tabs by makenowjust · Pull Request #14047 * Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters * Bug #21560: RUBY_MN_THREADS=1 causes large performance regression in Puma 7 * Bug #21668: Backport 6cc66469a007d2fb272397e5e27c20b4ce628f5e * Bug #21652: Marshal#dump documentation out-of-date/unclear regarding Data class * Bug #21673: Segmentation Fault in IRB when refining Kernel#puts using Module#refine (Regression since Ruby 3.4) * Bug #21655: segfault when building 3.3.10 with GCC 15.2.1, regression from 3.3.9 * Bug #21666: Math.lgamma(-1).should == [infinity_value, 1] fails with Fedora glibc-2.42.9000-8.fc44 * Bug #21680: Integer#digits bug starting from Ruby 3.1 * Bug #21705: UNIXServer.open(nil) segfaults on Windows * Bug #21715: Miscompilation on x86-64-v2 due to undefined behavior in search_nonascii in string.c * 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 * Bug #21931: GC Crash in String#% (backport 726205b354d1068147719fb42e1de743f1838ef1) * Bug #21266: YJIT GC safety crash with proc objects as block argument * Bug #21847: Backport syntax_suggest 2.0.3 to supported branches * Bug #21959: rb_internal_thread_event_hooks_rw_lock is not reinitialized after fork causing deadlocks * Bug #21703: RUBY_CRASH_REPORT does not work when shelling out in some cases * Bug #21446: StackOverflow when changing visibility in reopened refinement * Bug #21779: Do not export functions from statically linked extensions * Bug #21811: Fix underflow in Array#pack * Bug #21814: 0.pow(2,-9999999999999999990) should be zero * Bug #21819: A Data object should be frozen even if it has no members * Bug #21961: Marshal.load freeze option fail to free linked strings * Feature #16495: Inconsistent quotes in error messages * Bug #21880: The ultra_safe mode of pstore bundled with Ruby 4.0 is broken.
ruby33: limit gcc workaround to gcc<11
ruby33: work around miniruby core dump Following Gentoo's solution to the same problem. Bump PKGREVISION just in case.
lang/ruby33: update to 3.3.9 pkgsrc change: * Enable sigaltstack(2) on NetBSD refering to PR pkg/59017. * Make "make test" pass. Ruby 3.3.9 (2025-07-24) What's Changed * Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing * Bug #21220: Memory corruption in update_line_coverage() [write at index -1] * Bug #21331: heap-use-after-free caused by rehash during transform_values! * Bug #21327: Windows builds seem broken after clock_gettime changes? * Bug #21344: Segment Fault Caused by no Backported Patches * Bug #21257: YJIT can generate infinite loop when OOM * 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 #21310: YJIT optimization causes incorrect is_a? method evaluation * Bug #21354: Symbol#to_proc is not ractor safe * Bug #21340: Bump autoconf version to properly handle C23 bool/stdbool defines * Bug #21283: Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0 * Bug #21255: Can't build Ruby with Windows SDK 10.0.26100 * Bug #21380: Use-After-Free in String#split with In-Block String Modification * Bug #21440: Cannot create instances of frozen Data subclasses * Bug #21437: Date#hash may return different values for equal dates with large years * Bug #21441: SEGV during thread cleanup if profiler calls thread_profiles_frames at wrong time * Bug #21438: use-after-free when resizing exivars * Bug #20009: Marshal.load raises exception when load dumped class include non-ASCII * Bug #21448: Random.urandom may fail to fall back to reading /dev/urandom on Linux < 3.17 * Bug #21497: building issue when using gcc15, because C23 is default * Fix bigand_int edgecase returning false by tompng · Pull Request #13987
Pullup ticket #6987 - requested by taca lang/ruby33: Security fix Revisions pulled up: - lang/ruby/rubyversion.mk 1.300 - lang/ruby33/Makefile 1.6 - lang/ruby33/distinfo 1.13 - lang/ruby33/patches/patch-lib_resolv.rb 1.1 - lang/ruby33/patches/patch-test_resolv_test__dns.rb 1.1 --- Module Name: pkgsrc Committed By: taca Date: Sun Jul 13 15:32:01 UTC 2025 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby33: Makefile distinfo Added Files: pkgsrc/lang/ruby33/patches: patch-lib_resolv.rb patch-test_resolv_test__dns.rb Log Message: lang/ruby33: update resolv gem Update resolve gem to 0.3.1 to fix security problem of CVE-2025-24294. Bump PKGREVISION.
lang/ruby33: update resolv gem Update resolve gem to 0.3.1 to fix security problem of CVE-2025-24294. Bump PKGREVISION.
ruby33/Makefile: a small clean up Remove unused substituion from PKGNAME.
lang/ruby33: update to 3.3.4 3.3.4 (2024-07-09) * Bug #20573: Warning.warn shouldn't be called for disabled warnings * Bug #20585: Size of memory allocated by String.new(:capacity) is different from the specified value * Bug #20581: Ruby 3.3.3 install has missing deps for bundled net-pop gem * Bug #20595: Corruption of encoding name string * Bug #20598: Corruption of internal encoding string * Bug #20562: Categorize RUBY_FREE_AT_EXIT warning * Bug #20468: Segfault on safe navigation in for target * Bug #20592: Interrupting Addrinfo causes Segmentation fault on alpine * Bug #20239: Segmentation fault when using Regex on a large String * Bug #20570: Nokey behavior changed since 3.3. * Bug #20605: Add explicit compiler fence when pushing frames to ensure safe profiling
lang/ruby33: update to 3.3.1 This is security release. Note CVE-2024-27280 and CVE-2024-27281 were already fixed by ruby31-base-3.3.0nb1. 3.3.1 (2024-04-23) * CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search * CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc
lang/ruby33: fix CVE-2024-27281 Update rdoc to 6.6.3.1 to fix for CVE-2024-27281. Bump PKGREVISION.
lang/ruby33: add version 3.3.0 Add ruby33 version 3.3.0 (Ruby 3.3.0). Since Ruby 3.3.0 dose not contains devel/ruby-readline anymore, no ruby33-base package now. 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.3 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.