Skip to content

Commit a625725

Browse files
committed
Merge branch 'master' into dist/3.0/bullseye
2 parents 8ee827f + 53cd32c commit a625725

7 files changed

+40
-8
lines changed

debian/Dockerfile.bionic

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN sed -i -e 's|archive\.ubuntu\.com/ubuntu|ap-northeast-1.ec2.archive.ubuntu.c
88
# Allow use of debhelper-compat 12 in backport
99
# https://help.ubuntu.com/community/UbuntuBackports
1010
RUN /bin/echo -e "Package: debhelper\nPin: release a=bionic-backports\nPin-Priority: 500\n" | tee -a /etc/apt/preferences
11+
RUN /bin/echo -e "Package: dwz\nPin: release a=bionic-backports\nPin-Priority: 500\n" | tee -a /etc/apt/preferences
1112

1213
ENV DEBIAN_FRONTEND=noninteractive
1314
RUN mkdir -p /build \

debian/patches/Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Bug: #954293
99
1 file changed, 3 insertions(+)
1010

1111
diff --git a/configure.ac b/configure.ac
12-
index c143c23..19533b8 100644
12+
index 2dcebdd..abd1c59 100644
1313
--- a/configure.ac
1414
+++ b/configure.ac
15-
@@ -2403,6 +2403,9 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [
15+
@@ -2433,6 +2433,9 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [
1616
[arm64-darwin*], [
1717
rb_cv_coroutine=arm64
1818
],

debian/patches/Make-gemspecs-reproducible.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ index a47f795..5141413 100644
3737
3838

3939
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
40-
index 743e5e9..3751ceb 100644
40+
index 8a0df83..b370b73 100644
4141
--- a/ext/io/console/io-console.gemspec
4242
+++ b/ext/io/console/io-console.gemspec
43-
@@ -4,6 +4,7 @@ _VERSION = "0.5.6"
43+
@@ -4,6 +4,7 @@ _VERSION = "0.5.7"
4444
Gem::Specification.new do |s|
4545
s.name = "io-console"
4646
s.version = _VERSION
@@ -61,7 +61,7 @@ index 5187f3b..9e83268 100644
6161
6262

6363
diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
64-
index fd222d4..fe8f39b 100644
64+
index 7725e40..79698f5 100644
6565
--- a/lib/rdoc/rdoc.gemspec
6666
+++ b/lib/rdoc/rdoc.gemspec
6767
@@ -7,6 +7,7 @@ end

debian/patches/Mark-Gemspec-reproducible-change-fixing-784225-too.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Signed-off-by: Christian Hofstaedtler <[email protected]>
1212
1 file changed, 3 insertions(+), 1 deletion(-)
1313

1414
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
15-
index d59f57c..b51038e 100644
15+
index 2b3792e..a612bf7 100644
1616
--- a/lib/rubygems/specification.rb
1717
+++ b/lib/rubygems/specification.rb
18-
@@ -1695,7 +1695,9 @@ class Gem::Specification < Gem::BasicSpecification
18+
@@ -1692,7 +1692,9 @@ class Gem::Specification < Gem::BasicSpecification
1919
raise(Gem::InvalidSpecificationException,
2020
"invalid date format in specification: #{date.inspect}")
2121
end

debian/patches/lib-mkmf.rb-sort-list-of-object-files-in-generated-Makefi.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Signed-off-by: Reiner Herrmann <[email protected]>
1414
1 file changed, 1 insertion(+), 1 deletion(-)
1515

1616
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
17-
index 672c544..def8476 100644
17+
index 9468a2c..516fa1e 100644
1818
--- a/lib/mkmf.rb
1919
+++ b/lib/mkmf.rb
2020
@@ -2315,7 +2315,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Make-gemspecs-reproducible.patch
55
exclude-several-tests-unstable-in-Docker.patch
66
Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch
77
TestProcess-disable-gems-to-disable-rubygems_integration.patch
8+
test-openssl-test_cipher-skip-AES-CCM-tests-on-OpenSSL-1..patch
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From: Kazuki Yamaguchi <[email protected]>
2+
Date: Tue, 16 Mar 2021 22:05:04 +0900
3+
Subject: test/openssl/test_cipher: skip AES-CCM tests on OpenSSL <= 1.1.1b
4+
5+
AES CCM mode in OpenSSL <= 1.1.1b was overly strict in the parameters
6+
assignment order. This has been relaxed by OpenSSL 1.1.1c.
7+
8+
https://github.com/openssl/openssl/commit/b48e3be947ddc5da6b5a86db8341081c72b9a4ee
9+
10+
The test case is failing on Ubuntu 18.04 because it still uses the
11+
initial 1.1.1 release and has the issue:
12+
13+
http://rubyci.s3.amazonaws.com/graviton2/ruby-master/log/20210316T120003Z.fail.html.gz
14+
---
15+
test/openssl/test_cipher.rb | 2 +-
16+
1 file changed, 1 insertion(+), 1 deletion(-)
17+
18+
diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb
19+
index 65b36dd..3652f9c 100644
20+
--- a/test/openssl/test_cipher.rb
21+
+++ b/test/openssl/test_cipher.rb
22+
@@ -214,7 +214,7 @@ class OpenSSL::TestCipher < OpenSSL::TestCase
23+
assert_raise(OpenSSL::Cipher::CipherError) { cipher.update(ct2) }
24+
end if has_cipher?("aes-128-ccm") &&
25+
OpenSSL::Cipher.new("aes-128-ccm").authenticated? &&
26+
- OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10101000 # version >= v1.1.1
27+
+ OpenSSL::OPENSSL_VERSION_NUMBER >= 0x1010103f # version >= 1.1.1c
28+
29+
def test_aes_gcm
30+
# GCM spec Appendix B Test Case 4

0 commit comments

Comments
 (0)