pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Jul 26 06:25:23 UTC 2025

Modified Files:
        pkgsrc/lang/ruby: rubyversion.mk
        pkgsrc/lang/ruby33: Makefile PLIST distinfo
        pkgsrc/lang/ruby33/patches: patch-configure
Added Files:
        pkgsrc/lang/ruby33/patches: patch-tool_leaked-globals patch-vm__core.h
Removed Files:
        pkgsrc/lang/ruby33/patches: patch-lib_resolv.rb
            patch-test_resolv_test__dns.rb

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 pkgsrc/lang/ruby/rubyversion.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/ruby33/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/ruby33/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/ruby33/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ruby33/patches/patch-configure
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/ruby33/patches/patch-lib_resolv.rb \
    pkgsrc/lang/ruby33/patches/patch-test_resolv_test__dns.rb
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/ruby33/patches/patch-tool_leaked-globals \
    pkgsrc/lang/ruby33/patches/patch-vm__core.h

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

Modified files:

Index: pkgsrc/lang/ruby/rubyversion.mk
diff -u pkgsrc/lang/ruby/rubyversion.mk:1.303 pkgsrc/lang/ruby/rubyversion.mk:1.304
--- pkgsrc/lang/ruby/rubyversion.mk:1.303       Sat Jul 26 06:21:35 2025
+++ pkgsrc/lang/ruby/rubyversion.mk     Sat Jul 26 06:25:23 2025
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.303 2025/07/26 06:21:35 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.304 2025/07/26 06:25:23 taca Exp $
 #
 
 # This file determines which Ruby version is used as a dependency for
@@ -214,7 +214,7 @@ RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/rub
 
 # current supported Ruby's version
 RUBY32_VERSION=                3.2.9
-RUBY33_VERSION=                3.3.8
+RUBY33_VERSION=                3.3.9
 RUBY34_VERSION=                3.4.5
 
 # current API compatible version; used for version of shared library
@@ -446,7 +446,7 @@ RUBY_DEBUG_VER=                     1.9.2
 RUBY_MATRIX_VER=               0.4.2
 RUBY_MINITEST_VER=             5.20.0
 RUBY_NET_FTP_VER=              0.3.4
-RUBY_NET_IMAP_VER=             0.4.19
+RUBY_NET_IMAP_VER=             0.4.21
 RUBY_NET_POP_VER=              0.1.2
 RUBY_NET_SMTP_VER=             0.5.1
 RUBY_POWER_ASSERT_VER=         2.0.3

Index: pkgsrc/lang/ruby33/Makefile
diff -u pkgsrc/lang/ruby33/Makefile:1.6 pkgsrc/lang/ruby33/Makefile:1.7
--- pkgsrc/lang/ruby33/Makefile:1.6     Sun Jul 13 15:32:01 2025
+++ pkgsrc/lang/ruby33/Makefile Sat Jul 26 06:25:23 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2025/07/13 15:32:01 taca Exp $
+# $NetBSD: Makefile,v 1.7 2025/07/26 06:25:23 taca Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-${RUBY_VERSION}
-PKGREVISION=   1
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 

Index: pkgsrc/lang/ruby33/PLIST
diff -u pkgsrc/lang/ruby33/PLIST:1.8 pkgsrc/lang/ruby33/PLIST:1.9
--- pkgsrc/lang/ruby33/PLIST:1.8        Sun Apr 13 16:05:55 2025
+++ pkgsrc/lang/ruby33/PLIST    Sat Jul 26 06:25:23 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2025/04/13 16:05:55 taca Exp $
+@comment $NetBSD: PLIST,v 1.9 2025/07/26 06:25:23 taca Exp $
 bin/bundle${RUBY_SUFFIX}
 bin/bundler${RUBY_SUFFIX}
 bin/erb${RUBY_SUFFIX}
@@ -73,6 +73,7 @@ ${RUBY_INC}/ruby/internal/attr/nodiscard
 ${RUBY_INC}/ruby/internal/attr/noexcept.h
 ${RUBY_INC}/ruby/internal/attr/noinline.h
 ${RUBY_INC}/ruby/internal/attr/nonnull.h
+${RUBY_INC}/ruby/internal/attr/nonstring.h
 ${RUBY_INC}/ruby/internal/attr/noreturn.h
 ${RUBY_INC}/ruby/internal/attr/packed_struct.h
 ${RUBY_INC}/ruby/internal/attr/pure.h
@@ -1591,6 +1592,7 @@ ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMA
 ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/response_data.rb
 ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/response_parser.rb
 ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/response_parser/parser_utils.rb
+${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/response_reader.rb
 ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/sasl.rb
 ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/sasl/anonymous_authenticator.rb
 ${GEM_HOME}/gems/net-imap-${RUBY_NET_IMAP_VER}/lib/net/imap/sasl/authentication_exchange.rb

Index: pkgsrc/lang/ruby33/distinfo
diff -u pkgsrc/lang/ruby33/distinfo:1.13 pkgsrc/lang/ruby33/distinfo:1.14
--- pkgsrc/lang/ruby33/distinfo:1.13    Sun Jul 13 15:32:01 2025
+++ pkgsrc/lang/ruby33/distinfo Sat Jul 26 06:25:23 2025
@@ -1,15 +1,14 @@
-$NetBSD: distinfo,v 1.13 2025/07/13 15:32:01 taca Exp $
+$NetBSD: distinfo,v 1.14 2025/07/26 06:25:23 taca Exp $
 
-BLAKE2s (ruby-3.3.8.tar.xz) = f7d0fed309c307262b8d5c30781add4d363c2bbf19db7ffc5a5567c414553976
-SHA512 (ruby-3.3.8.tar.xz) = 71c2f3ac9955e088fa885fd2ff695e67362a770a5d33e5160081eda3dd298ca2c692e299b03d757caecfbc94043fedc4ad093de84c505585d480cb36bbf978b9
-Size (ruby-3.3.8.tar.xz) = 16435924 bytes
+BLAKE2s (ruby-3.3.9.tar.xz) = b10857e4c73d74b396ab8a9187d60c2a91eb7326423c5f4361635bbb2ec73fdd
+SHA512 (ruby-3.3.9.tar.xz) = 52be800daf9e983dd7539f6961ee6d4e863c8f4eefdce4fb1091fdfe05339531832dd88d2a8b6f5cdcd790f9d5aefa3bc08574fcb2bab399200d20fa0ad1db18
+Size (ruby-3.3.9.tar.xz) = 16436904 bytes
 SHA1 (patch-common.mk) = c23eed58427b2fd4ba8fdb3692f609701a666c6d
-SHA1 (patch-configure) = aa01d9346a5d1610ba47ad16831b5774d2998c2b
+SHA1 (patch-configure) = 031792cb999e3624236f8afc3363492b437e35d7
 SHA1 (patch-ext_openssl_openssl__missing.h) = 3f8d79736fd14806dfaf76e333eec63ff3ff5890
 SHA1 (patch-include_ruby_internal_static__assert.h) = 7d5c3ae7ff674b9b34639924fcf08237164de9f8
 SHA1 (patch-lib_mkmf.rb) = 4a3cd18548dbdf43a13695d4e76f817c0347e335
 SHA1 (patch-lib_rdoc_encoding.rb) = 0e82d2942d9bfcb67dc7c994889d7bc5ec2ae85a
-SHA1 (patch-lib_resolv.rb) = b091b1207c6bceafca2b2f65cc3e197377a73b91
 SHA1 (patch-lib_rubygems.rb) = 81af71ae9b0c3fef2ad1de88a542b3ece14b4519
 SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 66c475a5308deb2ed5096b88cf65549732f87421
 SHA1 (patch-lib_rubygems_config__file.rb) = 584f8cd9ef1d1b9bf25efc7e85c2219166db7ac9
@@ -17,8 +16,9 @@ SHA1 (patch-lib_rubygems_dependency__ins
 SHA1 (patch-lib_rubygems_install__update__options.rb) = 0cd0816e1cd7c84c1dab1e091787c4dc38d28273
 SHA1 (patch-lib_rubygems_installer.rb) = 4ef74b4f79837a929e81bcd0e7eba9061a442304
 SHA1 (patch-lib_rubygems_platform.rb) = bde36a8fc1ba2fbf4d6fb8829bc116fb4d09b404
-SHA1 (patch-test_resolv_test__dns.rb) = 4f26c9b1643a4af71f3389bfda17e416297f902c
 SHA1 (patch-test_rubygems_test__gem.rb) = 32f7c7d7f8a024c045d78c2bce93944fc3113d04
 SHA1 (patch-thread__pthread.c) = 7c1231933a2d6ce9d56891ab512371841697fbca
 SHA1 (patch-tool_ifchange) = 1814cd41f0b0a93b181799cb117bd1f57068cf33
+SHA1 (patch-tool_leaked-globals) = f9c39d77fdb463b921c891d08b7461785e0c152a
+SHA1 (patch-vm__core.h) = 93dd424a654d9451cac6c784cc70a54bab35f428
 SHA1 (patch-yjit_not__gmake.mk) = dbdf2b59db668782ea9fae8f6fe5e78bf37827e4

Index: pkgsrc/lang/ruby33/patches/patch-configure
diff -u pkgsrc/lang/ruby33/patches/patch-configure:1.2 pkgsrc/lang/ruby33/patches/patch-configure:1.3
--- pkgsrc/lang/ruby33/patches/patch-configure:1.2      Mon Apr 21 20:54:56 2025
+++ pkgsrc/lang/ruby33/patches/patch-configure  Sat Jul 26 06:25:23 2025
@@ -1,11 +1,7 @@
-$NetBSD: patch-configure,v 1.2 2025/04/21 20:54:56 wiz Exp $
+$NetBSD: patch-configure,v 1.3 2025/07/26 06:25:23 taca Exp $
 
-* Avoid bash specific variable substitution.
-* Ignore doxygen.
 * Ignore VCS.
-* Handle SSP in pkgsrc.
 * Retain _XOPEN_SOURCE, fixes eventmachine.
-* Fix argument for pthread_self() on NetBSD.
 * Explictly stop display with color.
 * Remove bogus MJIT disabling on SunOS.
 

Added files:

Index: pkgsrc/lang/ruby33/patches/patch-tool_leaked-globals
diff -u /dev/null pkgsrc/lang/ruby33/patches/patch-tool_leaked-globals:1.1
--- /dev/null   Sat Jul 26 06:25:23 2025
+++ pkgsrc/lang/ruby33/patches/patch-tool_leaked-globals        Sat Jul 26 06:25:23 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-tool_leaked-globals,v 1.1 2025/07/26 06:25:23 taca Exp $
+
+Pass "make test".
+
+--- tool/leaked-globals.orig   2025-07-24 10:04:28.000000000 +0000
++++ tool/leaked-globals
+@@ -73,6 +73,8 @@ IO.foreach("|#{NM} #{ARGV.join(' ')}") d
+   case n
+   when /\A(?:Init_|InitVM_|pm_|[Oo]nig|dln_|coroutine_)/
+     next
++  when /\A__dtrace/
++    next
+   when /\Aruby_static_id_/
+     next unless so
+   when /\A(?:RUBY_|ruby_|rb_)/
Index: pkgsrc/lang/ruby33/patches/patch-vm__core.h
diff -u /dev/null pkgsrc/lang/ruby33/patches/patch-vm__core.h:1.1
--- /dev/null   Sat Jul 26 06:25:23 2025
+++ pkgsrc/lang/ruby33/patches/patch-vm__core.h Sat Jul 26 06:25:23 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-vm__core.h,v 1.1 2025/07/26 06:25:23 taca Exp $
+
+Enable sigaltstack(2) again on NetBSD.  This has not been relevant for
+a very long time, probably since NetBSD 6.
+
+--- vm_core.h.orig     2025-07-24 10:04:28.000000000 +0000
++++ vm_core.h
+@@ -137,7 +137,7 @@ extern int ruby_assert_critical_section_
+ #  define RUBY_SIGCHLD (SIGCHLD)
+ #endif
+ 
+-#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO) && !defined(__NetBSD__)
++#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO)
+ #  define USE_SIGALTSTACK
+ void *rb_allocate_sigaltstack(void);
+ void *rb_register_sigaltstack(void *);



Home | Main Index | Thread Index | Old Index