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: Thu Sep 5 15:02:42 UTC 2024
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby33: PLIST distinfo
pkgsrc/lang/ruby33/patches: patch-lib_rubygems_installer.rb
Log Message:
lang/ruby33: update to 3.3.5
pkgsrc change
* Add fix from Issue #7939: Installer lock file cleanup.
3.3.5 (2024-09-03)
What's Changed
* retry on cancelling of getaddrinfo by ko1 · Pull Request #11131
* Bug #20633: compile error at vm_insnhelper.c when
HAVE_DECL_ATOMIC_SIGNAL_FENCE is 0
* Bug #20641: lib/bundled_gems.rb makes Kernel.require over 100x slower
* Bug #20650: Memory leak in Regexp capture group when timeout
* Bug #20088: Ruby 3.3.0 does not cross-complie on arm64-darwin
* Bug #20653: Memory leak in String#start_with? when regexp times out
* Bug #20654: Floor and ceil have unexpected behaviour when ndigits is large
* Update RubyGems 3.5.16 and Bundler 2.5.16 for Ruby 3.3 by hsbt · Pull
Request #11252
* Bug #20668: [3.3] shareable_constant_value: literal crash
* Backport warning feature for bundled gems from master by hsbt · Pull
Request #11420
* Bug #20688: Use-after-free in WeakMap and WeakKeyMap
* Bug #20691: Use-after-free in WeakKeyMap#clear
* Merge URI-0.13.1 for Ruby 3.3 by hsbt · Pull Request #11466
* Bug #20667: Backport REXML CVE fixes
* Bug #20651: false && (1 in 1) produces argument stack underflow (-1)
* Bug #20649: Ripper fails to tokenize def f; (x)::A =
* Bug #20344: argument stack underflow (-1)
* Bug #20701: Hash argument passed as keyword splat can be mutated inside
method
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
https://github.com/ruby/ruby/compare/v3_3_4...v3_3_5
To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 pkgsrc/lang/ruby/rubyversion.mk
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ruby33/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/ruby33/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/lang/ruby33/patches/patch-lib_rubygems_installer.rb
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.283 pkgsrc/lang/ruby/rubyversion.mk:1.284
--- pkgsrc/lang/ruby/rubyversion.mk:1.283 Sun Jul 28 15:36:48 2024
+++ pkgsrc/lang/ruby/rubyversion.mk Thu Sep 5 15:02:42 2024
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.283 2024/07/28 15:36:48 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.284 2024/09/05 15:02:42 taca Exp $
#
# This file determines which Ruby version is used as a dependency for
@@ -215,7 +215,7 @@ RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/rub
# current supported Ruby's version
RUBY31_VERSION= 3.1.6
RUBY32_VERSION= 3.2.5
-RUBY33_VERSION= 3.3.4
+RUBY33_VERSION= 3.3.5
# current API compatible version; used for version of shared library
RUBY31_API_VERSION= 3.1.0
@@ -469,7 +469,7 @@ RUBY_ABBREV_VER= 0.1.2
RUBY_BASE64_VER= 0.2.0
RUBY_BENCHMARK_VER= 0.3.0
RUBY_BIGDECIMAL_VER= 3.1.5
-RUBY_BUNDLER_VER= 2.5.11
+RUBY_BUNDLER_VER= 2.5.16
RUBY_CGI_VER= 0.4.1
RUBY_CSV_VER= 3.2.8
RUBY_DATE_VER= 3.3.4
@@ -531,7 +531,7 @@ RUBY_TIMEOUT_VER= 0.4.1
RUBY_TMPDIR_VER= 0.2.0
RUBY_TSORT_VER= 0.2.0
RUBY_UN_VER= 0.3.0
-RUBY_URI_VER= 0.13.0
+RUBY_URI_VER= 0.13.1
RUBY_WEAKREF_VER= 0.1.3
RUBY_YAML_VER= 0.3.0
RUBY_ZLIB_VER= 3.1.1
@@ -549,8 +549,8 @@ RUBY_PRIME_VER= 0.1.2
RUBY_RACC_VER= 1.7.3
RUBY_RAKE_VER= 13.1.0
RUBY_RBS_VER= 3.4.0
-RUBY_REXML_VER= 3.2.8
-RUBY_RSS_VER= 0.3.0
+RUBY_REXML_VER= 3.3.6
+RUBY_RSS_VER= 0.3.1
RUBY_TEST_UNIT_VER= 3.6.1
RUBY_TYPEPROF_VER= 0.21.9
Index: pkgsrc/lang/ruby33/PLIST
diff -u pkgsrc/lang/ruby33/PLIST:1.5 pkgsrc/lang/ruby33/PLIST:1.6
--- pkgsrc/lang/ruby33/PLIST:1.5 Sat Jul 13 15:25:25 2024
+++ pkgsrc/lang/ruby33/PLIST Thu Sep 5 15:02:42 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2024/07/13 15:25:25 taca Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/09/05 15:02:42 taca Exp $
bin/bundle${RUBY_SUFFIX}
bin/bundler${RUBY_SUFFIX}
bin/erb${RUBY_SUFFIX}
@@ -259,6 +259,7 @@ ${RUBY_LIB}/bundler/compact_index_client
${RUBY_LIB}/bundler/compact_index_client/cache.rb
${RUBY_LIB}/bundler/compact_index_client/cache_file.rb
${RUBY_LIB}/bundler/compact_index_client/gem_parser.rb
+${RUBY_LIB}/bundler/compact_index_client/parser.rb
${RUBY_LIB}/bundler/compact_index_client/updater.rb
${RUBY_LIB}/bundler/constants.rb
${RUBY_LIB}/bundler/current_ruby.rb
Index: pkgsrc/lang/ruby33/distinfo
diff -u pkgsrc/lang/ruby33/distinfo:1.6 pkgsrc/lang/ruby33/distinfo:1.7
--- pkgsrc/lang/ruby33/distinfo:1.6 Sat Jul 13 15:25:25 2024
+++ pkgsrc/lang/ruby33/distinfo Thu Sep 5 15:02:42 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2024/07/13 15:25:25 taca Exp $
+$NetBSD: distinfo,v 1.7 2024/09/05 15:02:42 taca Exp $
-BLAKE2s (ruby-3.3.4.tar.xz) = d9d746109d9a21905a44f22104f48ee9b91b8bc33e76d92660bf2af50731e9dd
-SHA512 (ruby-3.3.4.tar.xz) = b26461a13ff82a08a282f10108028bb2a2e4a28da6182a291062fc54089c6655d79c22cc69d59156f9b11cb10a17fe8c69d489343fbae123a45f03361b95c9eb
-Size (ruby-3.3.4.tar.xz) = 16366580 bytes
+BLAKE2s (ruby-3.3.5.tar.xz) = 283f60cdae55b100478eba63bf4ff156d7dfc1c2012d184358ce5ab4b0d299cc
+SHA512 (ruby-3.3.5.tar.xz) = dd5c6a7f74854e143e0ca46b9d7c0d1983fc4886f5f733cd108345dbf4b21f61ad978ad6806e05a57b7af28fd9216dd38d7145808188bbb3695a7f3a4eda3883
+Size (ruby-3.3.5.tar.xz) = 16403660 bytes
SHA1 (patch-common.mk) = c23eed58427b2fd4ba8fdb3692f609701a666c6d
SHA1 (patch-configure) = 668341ef5ad8b510a3057d979402e66dfa66f9d3
SHA1 (patch-ext_openssl_openssl__missing.h) = 3f8d79736fd14806dfaf76e333eec63ff3ff5890
@@ -14,7 +14,7 @@ SHA1 (patch-lib_rubygems_commands_setup_
SHA1 (patch-lib_rubygems_config__file.rb) = 584f8cd9ef1d1b9bf25efc7e85c2219166db7ac9
SHA1 (patch-lib_rubygems_dependency__installer.rb) = d143128b21a3803136c2d0000d75a1cf50d77155
SHA1 (patch-lib_rubygems_install__update__options.rb) = 0cd0816e1cd7c84c1dab1e091787c4dc38d28273
-SHA1 (patch-lib_rubygems_installer.rb) = 36835bfc42d6e5b45564973b910e7cb602a7f17a
+SHA1 (patch-lib_rubygems_installer.rb) = 88ea4f6f0fd01dd945794595b4a72bf0ca693659
SHA1 (patch-lib_rubygems_platform.rb) = bde36a8fc1ba2fbf4d6fb8829bc116fb4d09b404
SHA1 (patch-test_rubygems_test__gem.rb) = 32f7c7d7f8a024c045d78c2bce93944fc3113d04
SHA1 (patch-thread__pthread.c) = 7c1231933a2d6ce9d56891ab512371841697fbca
Index: pkgsrc/lang/ruby33/patches/patch-lib_rubygems_installer.rb
diff -u pkgsrc/lang/ruby33/patches/patch-lib_rubygems_installer.rb:1.1 pkgsrc/lang/ruby33/patches/patch-lib_rubygems_installer.rb:1.2
--- pkgsrc/lang/ruby33/patches/patch-lib_rubygems_installer.rb:1.1 Sun Jan 21 08:22:03 2024
+++ pkgsrc/lang/ruby33/patches/patch-lib_rubygems_installer.rb Thu Sep 5 15:02:42 2024
@@ -1,10 +1,11 @@
-$NetBSD: patch-lib_rubygems_installer.rb,v 1.1 2024/01/21 08:22:03 taca Exp $
+$NetBSD: patch-lib_rubygems_installer.rb,v 1.2 2024/09/05 15:02:42 taca Exp $
* Add install_root option for pkgsrc's rubygems support.
* Tweak build_info directory with destdir to store build_args.
+* Fix from "Installer lock file cleanup #7939".
---- lib/rubygems/installer.rb.orig 2023-12-25 05:59:38.000000000 +0000
-+++ lib/rubygems/installer.rb
+--- lib/rubygems/installer.rb.orig 2024-09-03 01:09:08.000000000 +0900
++++ lib/rubygems/installer.rb 2024-09-05 23:34:15.179174905 +0900
@@ -167,6 +167,9 @@ class Gem::Installer
# foo_exec18.
# :ignore_dependencies:: Don't raise if a dependency is missing.
@@ -15,6 +16,24 @@ $NetBSD: patch-lib_rubygems_installer.rb
# :security_policy:: Use the specified security policy. See Gem::Security
# :user_install:: Indicate that the gem should be unpacked into the users
# personal gem directory.
+@@ -538,7 +541,7 @@
+ def generate_bin_script(filename, bindir)
+ bin_script_path = File.join bindir, formatted_program_filename(filename)
+
+- Gem.open_file_with_flock("#{bin_script_path}.lock") do
++ Gem.open_file_with_flock("#{bin_script_path}.lock") do |lock|
+ require "fileutils"
+ FileUtils.rm_f bin_script_path # prior install may have been --no-wrappers
+
+@@ -546,6 +549,8 @@
+ file.write app_script_text(filename)
+ file.chmod(options[:prog_mode] || 0o755)
+ end
++ ensure
++ FileUtils.rm_f lock.path
+ end
+
+ verbose bin_script_path
@@ -676,12 +679,20 @@ class Gem::Installer
@build_args = options[:build_args]
Home |
Main Index |
Thread Index |
Old Index