Package: ruby3.1 / 3.1.2-7+deb12u1

Metadata

Package Version Patches format
ruby3.1 3.1.2-7+deb12u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 rdoc build reproducible documentation.patch | (download)

lib/rdoc/generator/json_index.rb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 rdoc: build reproducible documentation

- provide a fixed timestamp to the gzip compression

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
Signed-off-by: Christian Hofstaedtler <zeha@debian.org>

0002 lib mkmf.rb sort list of object files in generated M.patch | (download)

lib/mkmf.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 lib/mkmf.rb: sort list of object files in generated makefile

Without sorting the list explicitly, its order is indeterministic,
because readdir() is also not deterministic.
When the list of object files varies between builds, they are linked
0003 Mark Gemspec reproducible change fixing 784225 too.patch | (download)

lib/rubygems/specification.rb | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 mark gemspec-reproducible change fixing #784225, too

I think the UTC date change will fix the Multi-Arch not-same file issue,
too.

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
Signed-off-by: Christian Hofstaedtler <zeha@debian.org>

0004 Disable tests failing on Ubuntu builders.patch | (download)

test/excludes/TestAddressResolve.rb | 1 1 + 0 - 0 !
test/excludes/TestFileUtils.rb | 1 1 + 0 - 0 !
test/excludes/TestProcess.rb | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+)

 disable some problematic tests


0005 Make gemspecs reproducible.patch | (download)

ext/bigdecimal/bigdecimal.gemspec | 1 1 + 0 - 0 !
ext/fiddle/fiddle.gemspec | 1 1 + 0 - 0 !
ext/io/console/io-console.gemspec | 1 1 + 0 - 0 !
lib/ipaddr.gemspec | 1 1 + 0 - 0 !
lib/rdoc/rdoc.gemspec | 1 1 + 0 - 0 !
5 files changed, 5 insertions(+)

 make gemspecs reproducible

Without an explicit date, they will get the current date and make the
build unreproducible

0006 Fix FTBS on hurd.patch | (download)

io.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 fix ftbs on hurd

Closes: #896509

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

0007 Port to kfreebsd amd64.patch | (download)

ext/socket/option.c | 1 1 + 0 - 0 !
ext/socket/raddrinfo.c | 22 22 + 0 - 0 !
test/fiddle/test_handle.rb | 3 2 + 1 - 0 !
test/socket/test_socket.rb | 2 1 + 1 - 0 !
4 files changed, 26 insertions(+), 2 deletions(-)

 port to kfreebsd-amd64

Closes: #899267

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
Signed-off-by: Svante Signell <svante.signell@gmail.com>

0009 Fix FTBFS on x32 misdetected as i386 or amd64.patch | (download)

configure.ac | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 fix ftbfs on x32: misdetected as i386 or amd64

Bug: #954293

0011 don t try to download stuff in configure.patch | (download)

defs/gmake.mk | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't try to download stuff in configure


0012 Make resolv accept dash in zone_id of IPv6 link local addresses.patch | (download)

lib/resolv.rb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 make resolv accept dash in zone_id of ipv6 link local addresses

One could use the network interface name as zone_id and it might contain
a dash in it.

Fixes [Bug #18165]

Bug: https://bugs.ruby-lang.org/issues/18165
ruby_default_arch.m4 don t require arhitectures to be kno.patch | (download)

tool/m4/ruby_default_arch.m4 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ruby_default_arch.m4: don't require arhitectures to be known ahead
 of time

Not sure yet if this should be forwarded upstream or not.

Fix filenames for glibc SO files on alpha and ia64.patch | (download)

test/fiddle/helper.rb | 10 8 + 2 - 0 !
1 file changed, 8 insertions(+), 2 deletions(-)

 fix filenames for glibc so files on alpha and ia64

Fixes [Bug #18645]

Fallback PKG_CONFIG to the configured pkg config always.patch | (download)

lib/mkmf.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fallback pkg_config to the configured pkg-config always


Honor the tool prefix against pkg config.patch | (download)

configure.ac | 13 8 + 5 - 0 !
1 file changed, 8 insertions(+), 5 deletions(-)

 honor the tool prefix against pkg-config


Fix for tzdata 2022g.patch | (download)

test/ruby/test_time_tz.rb | 21 15 + 6 - 0 !
1 file changed, 15 insertions(+), 6 deletions(-)

 fix for tzdata-2022g


Merge CGI 0.3.5.patch | (download)

ext/cgi/escape/escape.c | 353 199 + 154 - 0 !
lib/cgi.rb | 4 2 + 2 - 0 !
lib/cgi/cgi.gemspec | 19 15 + 4 - 0 !
lib/cgi/cookie.rb | 44 36 + 8 - 0 !
lib/cgi/core.rb | 45 28 + 17 - 0 !
lib/cgi/util.rb | 49 41 + 8 - 0 !
test/cgi/test_cgi_cookie.rb | 82 82 + 0 - 0 !
test/cgi/test_cgi_header.rb | 8 8 + 0 - 0 !
test/cgi/test_cgi_util.rb | 50 49 + 1 - 0 !
9 files changed, 460 insertions(+), 194 deletions(-)

 merge cgi-0.3.5


openssl 3.0.1.patch | (download)

ext/openssl/History.md | 40 40 + 0 - 0 !
ext/openssl/extconf.rb | 5 3 + 2 - 0 !
ext/openssl/lib/openssl/pkey.rb | 8 8 + 0 - 0 !
ext/openssl/lib/openssl/version.rb | 2 1 + 1 - 0 !
ext/openssl/openssl.gemspec | 2 1 + 1 - 0 !
ext/openssl/ossl_hmac.c | 8 8 + 0 - 0 !
ext/openssl/ossl_pkey.c | 46 43 + 3 - 0 !
ext/openssl/ossl_pkey_ec.c | 4 4 + 0 - 0 !
ext/openssl/ossl_x509cert.c | 6 3 + 3 - 0 !
ext/openssl/ossl_x509crl.c | 6 3 + 3 - 0 !
ext/openssl/ossl_x509req.c | 6 3 + 3 - 0 !
ext/openssl/ossl_x509revoked.c | 6 3 + 3 - 0 !
test/openssl/test_hmac.rb | 8 8 + 0 - 0 !
test/openssl/test_pkey_dsa.rb | 19 19 + 0 - 0 !
test/openssl/test_pkey_ec.rb | 25 25 + 0 - 0 !
test/openssl/test_pkey_rsa.rb | 5 5 + 0 - 0 !
test/openssl/test_ssl.rb | 6 6 + 0 - 0 !
17 files changed, 183 insertions(+), 19 deletions(-)

 openssl 3.0.1

This is a combination of several patches for openssl extension that fix
bugs in its version 3.0.0.

CVE 2024 27280.patch | (download)

ext/stringio/stringio.c | 4 2 + 2 - 0 !
test/stringio/test_stringio.rb | 25 21 + 4 - 0 !
2 files changed, 23 insertions(+), 6 deletions(-)

 [patch] merge stringio 3.0.1.2


CVE 2024 27281.patch | (download)

lib/rdoc/store.rb | 45 26 + 19 - 0 !
lib/rdoc/version.rb | 2 1 + 1 - 0 !
2 files changed, 27 insertions(+), 20 deletions(-)

 [patch] merge rdoc-6.4.1.1


CVE 2024 27282.patch | (download)

regexec.c | 12 11 + 1 - 0 !
1 file changed, 11 insertions(+), 1 deletion(-)

 [patch] fix use-after-free issue for regexp

Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>

Update test certificates.patch | (download)

test/net/fixtures/cacert.pem | 44 22 + 22 - 0 !
test/net/fixtures/server.crt | 99 19 + 80 - 0 !
test/net/fixtures/server.key | 55 27 + 28 - 0 !
3 files changed, 68 insertions(+), 130 deletions(-)

---