All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/ruby: security bump to version 3.1.3
@ 2022-12-10  9:54 Francois Perrad
  2022-12-11 10:42 ` Thomas Petazzoni via buildroot
  2022-12-20 12:12 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Francois Perrad @ 2022-12-10  9:54 UTC (permalink / raw)
  To: buildroot

fix CVE-2021-33621: HTTP response splitting in CGI

see https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/ruby/0001-Fix-build-with-LibreSSL-3-5.patch | 2 +-
 package/ruby/ruby.hash                              | 4 ++--
 package/ruby/ruby.mk                                | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/ruby/0001-Fix-build-with-LibreSSL-3-5.patch b/package/ruby/0001-Fix-build-with-LibreSSL-3-5.patch
index 039a6466d..805dfd2f8 100644
--- a/package/ruby/0001-Fix-build-with-LibreSSL-3-5.patch
+++ b/package/ruby/0001-Fix-build-with-LibreSSL-3-5.patch
@@ -14,7 +14,7 @@ diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c
 index 2a4835a2..24d0da46 100644
 --- a/ext/openssl/ossl_pkey.c
 +++ b/ext/openssl/ossl_pkey.c
-@@ -670,7 +670,7 @@ ossl_pkey_export_traditional(int argc, VALUE *argv, VALUE self, int to_der)
+@@ -710,7 +710,7 @@ ossl_pkey_export_traditional(int argc, VALUE *argv, VALUE self, int to_der)
  	}
      }
      else {
diff --git a/package/ruby/ruby.hash b/package/ruby/ruby.hash
index da6221ec5..42d8a2497 100644
--- a/package/ruby/ruby.hash
+++ b/package/ruby/ruby.hash
@@ -1,5 +1,5 @@
-# https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-1-2-released/
-sha512  4a74e9efc6ea4b3eff4fec7534eb1fff4794d021531defc2e9937e53c6668db8ecdc0fff2bc23d5e6602d0df344a2caa85b31c5414309541e3d5313ec82b6e21  ruby-3.1.2.tar.xz
+# https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/
+sha512  4b0fd334ae56132ba98b8a69adad54bdcf7f7aeabd5eba5b0f0399a3868e2054f9026ca1b1cb2dbb197a9e9b0610b263481949c0623a62071546bc5adff8ca69  ruby-3.1.3.tar.xz
 
 # License files, Locally calculated
 sha256  794c384f94396ab07e3e6f53a9f8be093facb7eb4193266024302b93b29e12dc  LEGAL
diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index cbdfa4b82..28b1ec13e 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 RUBY_VERSION_MAJOR = 3.1
-RUBY_VERSION = $(RUBY_VERSION_MAJOR).2
+RUBY_VERSION = $(RUBY_VERSION_MAJOR).3
 RUBY_VERSION_EXT = 3.1.0
 RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR)
 RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz
-- 
2.37.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/ruby: security bump to version 3.1.3
  2022-12-10  9:54 [Buildroot] [PATCH] package/ruby: security bump to version 3.1.3 Francois Perrad
@ 2022-12-11 10:42 ` Thomas Petazzoni via buildroot
  2022-12-20 12:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-11 10:42 UTC (permalink / raw)
  To: Francois Perrad; +Cc: buildroot

On Sat, 10 Dec 2022 10:54:35 +0100
Francois Perrad <fperrad@gmail.com> wrote:

> fix CVE-2021-33621: HTTP response splitting in CGI
> 
> see https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/ruby/0001-Fix-build-with-LibreSSL-3-5.patch | 2 +-
>  package/ruby/ruby.hash                              | 4 ++--
>  package/ruby/ruby.mk                                | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/ruby: security bump to version 3.1.3
  2022-12-10  9:54 [Buildroot] [PATCH] package/ruby: security bump to version 3.1.3 Francois Perrad
  2022-12-11 10:42 ` Thomas Petazzoni via buildroot
@ 2022-12-20 12:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-12-20 12:12 UTC (permalink / raw)
  To: Francois Perrad; +Cc: buildroot

>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:

 > fix CVE-2021-33621: HTTP response splitting in CGI
 > see https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/

 > Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Committed to 2022.11.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-20 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-10  9:54 [Buildroot] [PATCH] package/ruby: security bump to version 3.1.3 Francois Perrad
2022-12-11 10:42 ` Thomas Petazzoni via buildroot
2022-12-20 12:12 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.