parent
be15eb9b91
commit
5b47f50e08
@ -0,0 +1 @@
|
||||
087af286b70b0e17f88c9c4469b471eca2010161 SOURCES/ruby-3.2.2.tar.xz
|
@ -1 +1 @@
|
||||
SOURCES/ruby-3.0.4.tar.xz
|
||||
SOURCES/ruby-3.2.2.tar.xz
|
||||
|
@ -0,0 +1,73 @@
|
||||
From 5e2f8761b2342ee58f9689a7d62d48ec031e59c0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
||||
Date: Mon, 2 Jan 2023 14:30:13 +0100
|
||||
Subject: [PATCH] Revert "Fix test-syntax-suggest order"
|
||||
|
||||
This reverts commit 18c1ca8f4c0748905d5cedb6c044df507ea8ad6a.
|
||||
---
|
||||
common.mk | 12 ++++--------
|
||||
defs/gmake.mk | 2 +-
|
||||
2 files changed, 5 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/common.mk b/common.mk
|
||||
index d0558697d7..e73841aae7 100644
|
||||
--- a/common.mk
|
||||
+++ b/common.mk
|
||||
@@ -767,7 +767,8 @@ clean-spec: PHONY
|
||||
-$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT) 2> $(NULL) || $(NULLCMD)
|
||||
-$(Q) $(RMALL) rubyspec_temp
|
||||
|
||||
-check: main $(DOT_WAIT) test $(DOT_WAIT) test-tool $(DOT_WAIT) test-all
|
||||
+check: main $(DOT_WAIT) test $(DOT_WAIT) test-tool $(DOT_WAIT) test-all \
|
||||
+ $(DOT_WAIT) test-spec $(DOT_WAIT) test-syntax-suggest
|
||||
$(ECHO) check succeeded
|
||||
-$(Q) : : "run only on sh"; \
|
||||
if [ x"$(GIT)" != x ] && $(CHDIR) "$(srcdir)" && \
|
||||
@@ -903,8 +904,6 @@ yes-test-spec: test-spec-precheck
|
||||
$(ACTIONS_ENDGROUP)
|
||||
no-test-spec:
|
||||
|
||||
-check: $(DOT_WAIT) test-spec
|
||||
-
|
||||
RUNNABLE = $(LIBRUBY_RELATIVE:no=un)-runnable
|
||||
runnable: $(RUNNABLE) prog $(tooldir)/mkrunnable.rb PHONY
|
||||
$(Q) $(MINIRUBY) $(tooldir)/mkrunnable.rb -v $(EXTOUT)
|
||||
@@ -1456,7 +1455,6 @@ test-syntax-suggest-precheck: $(TEST_RUNNABLE)-test-syntax-suggest-precheck
|
||||
no-test-syntax-suggest-precheck:
|
||||
yes-test-syntax-suggest-precheck: main
|
||||
|
||||
-test-syntax-suggest-prepare: $(TEST_RUNNABLE)-test-syntax-suggest-prepare
|
||||
no-test-syntax-suggest-prepare: no-test-syntax-suggest-precheck
|
||||
yes-test-syntax-suggest-prepare: yes-test-syntax-suggest-precheck
|
||||
$(ACTIONS_GROUP)
|
||||
@@ -1466,15 +1464,13 @@ yes-test-syntax-suggest-prepare: yes-test-syntax-suggest-precheck
|
||||
|
||||
RSPECOPTS =
|
||||
SYNTAX_SUGGEST_SPECS =
|
||||
-PREPARE_SYNTAX_SUGGEST = test-syntax-suggest-prepare
|
||||
+PREPARE_SYNTAX_SUGGEST = yes-test-syntax-suggest-prepare
|
||||
test-syntax-suggest: $(TEST_RUNNABLE)-test-syntax-suggest
|
||||
-yes-test-syntax-suggest: yes-$(PREPARE_SYNTAX_SUGGEST)
|
||||
+yes-test-syntax-suggest: $(PREPARE_SYNTAX_SUGGEST)
|
||||
$(XRUBY) -C $(srcdir) -Ispec/syntax_suggest .bundle/bin/rspec \
|
||||
--require spec_helper $(RSPECOPTS) spec/syntax_suggest/$(SYNTAX_SUGGEST_SPECS)
|
||||
no-test-syntax-suggest:
|
||||
|
||||
-check: $(DOT_WAIT) $(TEST_RUNNABLE)-$(PREPARE_SYNTAX_SUGGEST) test-syntax-suggest
|
||||
-
|
||||
test-bundler-precheck: $(TEST_RUNNABLE)-test-bundler-precheck
|
||||
no-test-bundler-precheck:
|
||||
yes-test-bundler-precheck: main $(arch)-fake.rb
|
||||
diff --git a/defs/gmake.mk b/defs/gmake.mk
|
||||
index 54fef6685f..0aa403a4eb 100644
|
||||
--- a/defs/gmake.mk
|
||||
+++ b/defs/gmake.mk
|
||||
@@ -84,7 +84,7 @@ endif
|
||||
ORDERED_TEST_TARGETS := $(filter $(TEST_TARGETS), \
|
||||
btest-ruby test-knownbug test-basic \
|
||||
test-testframework test-tool test-ruby test-all \
|
||||
- test-spec test-syntax-suggest-prepare test-syntax-suggest \
|
||||
+ test-spec test-syntax-suggest \
|
||||
test-bundler-prepare test-bundler test-bundler-parallel \
|
||||
test-bundled-gems-precheck test-bundled-gems-fetch \
|
||||
test-bundled-gems-prepare test-bundled-gems-run \
|
@ -0,0 +1,67 @@
|
||||
From cf60e383a9c98da5cd75012f2aabfa4a2774aade Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
||||
Date: Mon, 2 Jan 2023 14:16:39 +0100
|
||||
Subject: [PATCH] Revert "Test syntax_suggest by `make check`"
|
||||
|
||||
This reverts commit cae53842735237ccf71a13873fd0d1ae7f165582.
|
||||
---
|
||||
common.mk | 6 ++----
|
||||
defs/gmake.mk | 6 ++----
|
||||
2 files changed, 4 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/common.mk b/common.mk
|
||||
index 27f6a9d89d..8021f03a58 100644
|
||||
--- a/common.mk
|
||||
+++ b/common.mk
|
||||
@@ -767,8 +767,7 @@ clean-spec: PHONY
|
||||
-$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT) 2> $(NULL) || $(NULLCMD)
|
||||
-$(Q) $(RMALL) rubyspec_temp
|
||||
|
||||
-check: main $(DOT_WAIT) test $(DOT_WAIT) test-tool $(DOT_WAIT) test-all \
|
||||
- $(DOT_WAIT) test-spec $(DOT_WAIT) test-syntax-suggest
|
||||
+check: main $(DOT_WAIT) test $(DOT_WAIT) test-tool $(DOT_WAIT) test-all $(DOT_WAIT) test-spec
|
||||
$(ECHO) check succeeded
|
||||
-$(Q) : : "run only on sh"; \
|
||||
if [ x"$(GIT)" != x ] && $(CHDIR) "$(srcdir)" && \
|
||||
@@ -1464,9 +1463,8 @@ yes-test-syntax-suggest-prepare: yes-test-syntax-suggest-precheck
|
||||
|
||||
RSPECOPTS =
|
||||
SYNTAX_SUGGEST_SPECS =
|
||||
-PREPARE_SYNTAX_SUGGEST = yes-test-syntax-suggest-prepare
|
||||
test-syntax-suggest: $(TEST_RUNNABLE)-test-syntax-suggest
|
||||
-yes-test-syntax-suggest: $(PREPARE_SYNTAX_SUGGEST)
|
||||
+yes-test-syntax-suggest: yes-test-syntax-suggest-prepare
|
||||
$(XRUBY) -C $(srcdir) -Ispec/syntax_suggest .bundle/bin/rspec \
|
||||
--require spec_helper $(RSPECOPTS) spec/syntax_suggest/$(SYNTAX_SUGGEST_SPECS)
|
||||
no-test-syntax-suggest:
|
||||
diff --git a/defs/gmake.mk b/defs/gmake.mk
|
||||
index 0aa403a4eb..dc9d31f49e 100644
|
||||
--- a/defs/gmake.mk
|
||||
+++ b/defs/gmake.mk
|
||||
@@ -27,7 +27,7 @@ TEST_DEPENDS := $(filter-out commit $(TEST_TARGETS),$(MAKECMDGOALS))
|
||||
TEST_TARGETS := $(patsubst great,exam,$(TEST_TARGETS))
|
||||
TEST_DEPENDS := $(filter-out great $(TEST_TARGETS),$(TEST_DEPENDS))
|
||||
TEST_TARGETS := $(patsubst exam,check,$(TEST_TARGETS))
|
||||
-TEST_TARGETS := $(patsubst check,test-syntax-suggest test-spec test-all test-tool test-short,$(TEST_TARGETS))
|
||||
+TEST_TARGETS := $(patsubst check,test-spec test-all test-tool test-short,$(TEST_TARGETS))
|
||||
TEST_TARGETS := $(patsubst test-rubyspec,test-spec,$(TEST_TARGETS))
|
||||
TEST_DEPENDS := $(filter-out exam check test-spec $(TEST_TARGETS),$(TEST_DEPENDS))
|
||||
TEST_TARGETS := $(patsubst love,check,$(TEST_TARGETS))
|
||||
@@ -40,7 +40,6 @@ TEST_TARGETS := $(patsubst test-short,btest-ruby test-knownbug test-basic,$(TEST
|
||||
TEST_TARGETS := $(patsubst test-bundled-gems,test-bundled-gems-run,$(TEST_TARGETS))
|
||||
TEST_TARGETS := $(patsubst test-bundled-gems-run,test-bundled-gems-run $(PREPARE_BUNDLED_GEMS),$(TEST_TARGETS))
|
||||
TEST_TARGETS := $(patsubst test-bundled-gems-prepare,test-bundled-gems-prepare $(PRECHECK_BUNDLED_GEMS) test-bundled-gems-fetch,$(TEST_TARGETS))
|
||||
-TEST_TARGETS := $(patsubst test-syntax-suggest,test-syntax-suggest $(PREPARE_SYNTAX_SUGGEST),$(TEST_TARGETS))
|
||||
TEST_DEPENDS := $(filter-out test-short $(TEST_TARGETS),$(TEST_DEPENDS))
|
||||
TEST_DEPENDS += $(if $(filter great exam love check,$(MAKECMDGOALS)),all exts)
|
||||
endif
|
||||
@@ -84,8 +83,7 @@ endif
|
||||
ORDERED_TEST_TARGETS := $(filter $(TEST_TARGETS), \
|
||||
btest-ruby test-knownbug test-basic \
|
||||
test-testframework test-tool test-ruby test-all \
|
||||
- test-spec test-syntax-suggest \
|
||||
- test-bundler-prepare test-bundler test-bundler-parallel \
|
||||
+ test-spec test-bundler-prepare test-bundler test-bundler-parallel \
|
||||
test-bundled-gems-precheck test-bundled-gems-fetch \
|
||||
test-bundled-gems-prepare test-bundled-gems-run \
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
From 9b9825d6cdda053fea49eb2f613bc62bde465e89 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
||||
Date: Wed, 4 Jan 2023 17:23:35 +0100
|
||||
Subject: [PATCH] Use SHA256 instead of SHA1
|
||||
|
||||
Systems such as CentOS 9 / RHEL 9 are moving away from SHA1 disabling it
|
||||
by default via a system-wide crypto policy. This replaces SHA1 with
|
||||
SHA256 in similar way as [[1]].
|
||||
|
||||
[1]: https://github.com/ruby/openssl/pull/554
|
||||
---
|
||||
spec/ruby/library/openssl/x509/name/verify_spec.rb | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/spec/ruby/library/openssl/x509/name/verify_spec.rb b/spec/ruby/library/openssl/x509/name/verify_spec.rb
|
||||
index a8bf865bd..6dcfc9946 100644
|
||||
--- a/spec/ruby/library/openssl/x509/name/verify_spec.rb
|
||||
+++ b/spec/ruby/library/openssl/x509/name/verify_spec.rb
|
||||
@@ -12,7 +12,7 @@ describe "OpenSSL::X509::Name.verify" do
|
||||
cert.public_key = key.public_key
|
||||
cert.not_before = Time.now - 10
|
||||
cert.not_after = cert.not_before + 365 * 24 * 60 * 60
|
||||
- cert.sign key, OpenSSL::Digest.new('SHA1')
|
||||
+ cert.sign key, OpenSSL::Digest.new('SHA256')
|
||||
store = OpenSSL::X509::Store.new
|
||||
store.add_cert(cert)
|
||||
[store.verify(cert), store.error, store.error_string].should == [true, 0, "ok"]
|
||||
@@ -28,7 +28,7 @@ describe "OpenSSL::X509::Name.verify" do
|
||||
cert.public_key = key.public_key
|
||||
cert.not_before = Time.now - 10
|
||||
cert.not_after = Time.now - 5
|
||||
- cert.sign key, OpenSSL::Digest.new('SHA1')
|
||||
+ cert.sign key, OpenSSL::Digest.new('SHA256')
|
||||
store = OpenSSL::X509::Store.new
|
||||
store.add_cert(cert)
|
||||
store.verify(cert).should == false
|
||||
--
|
||||
2.38.1
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue