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 18 14:04:38 UTC 2026

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.325 -r1.326 pkgsrc/lang/ruby/rubyversion.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/ruby40/Makefile pkgsrc/lang/ruby40/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/ruby40/distinfo

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.325 pkgsrc/lang/ruby/rubyversion.mk:1.326
--- pkgsrc/lang/ruby/rubyversion.mk:1.325       Sat Jul  4 06:14:12 2026
+++ pkgsrc/lang/ruby/rubyversion.mk     Sat Jul 18 14:04:38 2026
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.325 2026/07/04 06:14:12 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.326 2026/07/18 14:04:38 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
 RUBY33_VERSION=                3.3.11
 RUBY34_VERSION=                3.4.10
-RUBY40_VERSION=                4.0.5
+RUBY40_VERSION=                4.0.6
 
 # current API compatible version; used for version of shared library
 RUBY33_API_VERSION=    3.3.0
@@ -466,16 +466,16 @@ RUBY_VERSION=             ${RUBY40_VERSION}
 RUBY_ABI_VERSION=      ${RUBY_VERSION}
 RUBY_SUFFIX=           ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
 
-RUBY_RUBYGEMS_VER=             4.0.10
+RUBY_RUBYGEMS_VER=             4.0.16
 
 # default gems
-RUBY_BUNDLER_VER=              4.0.10
+RUBY_BUNDLER_VER=              4.0.16
 RUBY_CGI_VER=                  0.4.2   #
 RUBY_DELEGATE_VER=             0.6.1
 RUBY_DID_YOU_MEAN_VER=         2.0.0
 RUBY_ENGLISH_VER=              0.8.1
 RUBY_ERB_VER=                  6.0.1.1
-RUBY_ERROR_HIGHLIGHT_VER=      0.7.1
+RUBY_ERROR_HIGHLIGHT_VER=      0.7.2
 RUBY_FILEUTILS_VER=            1.8.0
 RUBY_FIND_VER=                 0.2.0
 RUBY_FORWARDABLE_VER=          1.4.0
@@ -514,7 +514,7 @@ RUBY_IO_CONSOLE_VER=                0.8.2
 RUBY_IO_NONBLOCK_VER=          0.3.2
 RUBY_IO_WAIT_VER=              0.4.0
 RUBY_JSON_VER=                 2.18.0
-RUBY_OPENSSL_VER=              4.0.0
+RUBY_OPENSSL_VER=              4.0.2
 RUBY_OSTRUCT_VER=              0.6.3
 RUBY_PATHNAME_VER=             0.4.0
 RUBY_PSTORE_VER=               0.2.1
@@ -539,7 +539,7 @@ RUBY_MATRIX_VER=            0.4.3
 RUBY_MINITEST_VER=             6.0.0
 RUBY_MUTEX_M_VER=              0.3.0
 RUBY_NET_FTP_VER=              0.3.9
-RUBY_NET_IMAP_VER=             0.6.2
+RUBY_NET_IMAP_VER=             0.6.4.1
 RUBY_NET_POP_VER=              0.1.2
 RUBY_NET_SMTP_VER=             0.5.1
 RUBY_NKF_VER=                  0.2.0

Index: pkgsrc/lang/ruby40/Makefile
diff -u pkgsrc/lang/ruby40/Makefile:1.3 pkgsrc/lang/ruby40/Makefile:1.4
--- pkgsrc/lang/ruby40/Makefile:1.3     Fri May 15 16:56:18 2026
+++ pkgsrc/lang/ruby40/Makefile Sat Jul 18 14:04:38 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2026/05/15 16:56:18 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/07/18 14:04:38 taca Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-${RUBY_VERSION}
@@ -84,13 +84,15 @@ pre-configure:
        ${CHMOD} -x ${WRKSRC}/sample/test.rb
        find ${WRKSRC}/.bundle -name '*.orig' -exec ${RM} {} \;
 
+pre-install:
+       ${RM} -fr ${WRKSRC}/doc/ChangeLog
+
 post-install:
        cd ${DESTDIR}${PREFIX}/${GEM_HOME} && \
                find . \! -type d \( -name 'Makefile*' -o -name '.*.time' \
                        -o -name '*.o' -o -name 'gem_make.out' \
                        -o -name 'mkmf.log' \) -exec rm {} \;
        cd ${WRKSRC}/doc && ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_DOC}
-       ${MV} ${DESTDIR}${PREFIX}/${RUBY_DOC}/ChangeLog  ${DESTDIR}${PREFIX}/${RUBY_DOC}/ChangeLog.prev
 .for f in ${DOCS}
        ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}
 .endfor
Index: pkgsrc/lang/ruby40/PLIST
diff -u pkgsrc/lang/ruby40/PLIST:1.3 pkgsrc/lang/ruby40/PLIST:1.4
--- pkgsrc/lang/ruby40/PLIST:1.3        Tue May 19 14:58:52 2026
+++ pkgsrc/lang/ruby40/PLIST    Sat Jul 18 14:04:38 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2026/05/19 14:58:52 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/07/18 14:04:38 taca Exp $
 bin/bundle${RUBY_SUFFIX}
 bin/bundler${RUBY_SUFFIX}
 bin/erb${RUBY_SUFFIX}
@@ -369,6 +369,7 @@ ${RUBY_LIB}/bundler/plugin/installer/git
 ${RUBY_LIB}/bundler/plugin/installer/path.rb
 ${RUBY_LIB}/bundler/plugin/installer/rubygems.rb
 ${RUBY_LIB}/bundler/plugin/source_list.rb
+${RUBY_LIB}/bundler/plugin/unloaded_source.rb
 ${RUBY_LIB}/bundler/process_lock.rb
 ${RUBY_LIB}/bundler/remote_specification.rb
 ${RUBY_LIB}/bundler/resolver.rb
@@ -516,7 +517,6 @@ ${RUBY_LIB}/bundler/vendor/thor/lib/thor
 ${RUBY_LIB}/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb
 ${RUBY_LIB}/bundler/vendor/thor/lib/thor/util.rb
 ${RUBY_LIB}/bundler/vendor/thor/lib/thor/version.rb
-${RUBY_LIB}/bundler/vendor/tsort/lib/tsort.rb
 ${RUBY_LIB}/bundler/vendor/uri/lib/uri.rb
 ${RUBY_LIB}/bundler/vendor/uri/lib/uri/common.rb
 ${RUBY_LIB}/bundler/vendor/uri/lib/uri/file.rb
@@ -2899,17 +2899,6 @@ ${RUBY_DOC}/BSDL
 ${RUBY_DOC}/CONTRIBUTING.md
 ${RUBY_DOC}/COPYING
 ${RUBY_DOC}/COPYING.ja
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-0.06_to_0.52
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-0.50_to_0.60
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-0.60_to_1.1
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-1.8.0
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-1.9.3
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-2.0.0
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-2.1.0
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-2.2.0
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-2.3.0
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-2.4.0
-${RUBY_DOC}/ChangeLog.prev/ChangeLog-YARV
 ${RUBY_DOC}/GPL
 ${RUBY_DOC}/KNOWNBUGS.rb
 ${RUBY_DOC}/LEGAL

Index: pkgsrc/lang/ruby40/distinfo
diff -u pkgsrc/lang/ruby40/distinfo:1.9 pkgsrc/lang/ruby40/distinfo:1.10
--- pkgsrc/lang/ruby40/distinfo:1.9     Wed May 20 13:13:37 2026
+++ pkgsrc/lang/ruby40/distinfo Sat Jul 18 14:04:38 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2026/05/20 13:13:37 taca Exp $
+$NetBSD: distinfo,v 1.10 2026/07/18 14:04:38 taca Exp $
 
-BLAKE2s (ruby-4.0.5.tar.xz) = 654cd56c0e98273f2b5e1985eafa2518de957415985c2dbb4b477511b2dea802
-SHA512 (ruby-4.0.5.tar.xz) = 379d78a6d1af0455df60da46551f43438ad3ee81f83787554fc34cb1c8febb1bd363e3dc1a057b34a69f96526efc308d3dccc4b87d368897c2d1ccf179096463
-Size (ruby-4.0.5.tar.xz) = 17893756 bytes
+BLAKE2s (ruby-4.0.6.tar.xz) = 6e92c9aea4ef38b0969693b889fcf67b250573ca95c01d70ebe8918dfbe385de
+SHA512 (ruby-4.0.6.tar.xz) = c9c391675a098b5a27dd687571ab0a164c788cbb8ddcbab6d17a3e8b3c4ba389346b2e6d7807d38db3e74d225c70e378a296d60d0f465cb0fcec9702242c83c6
+Size (ruby-4.0.6.tar.xz) = 17968092 bytes
 SHA1 (patch-.bundle_gems_rdoc-7.0.4_lib_rdoc_encoding.rb) = 896fc0825d59174b508bcfc5d17727f0d0b1050f
 SHA1 (patch-common.mk) = c23eed58427b2fd4ba8fdb3692f609701a666c6d
 SHA1 (patch-configure) = ff1b1e659ddc7cb1d62a71e1447df55f1f7b07c2



Home | Main Index | Thread Index | Old Index