From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UJ7vMKqTvGIyPwAAbAwnHQ (envelope-from ) for ; Wed, 29 Jun 2022 20:02:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AFLwMKqTvGJqZQEAauVa8A (envelope-from ) for ; Wed, 29 Jun 2022 20:02:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0F491155B2 for ; Wed, 29 Jun 2022 20:02:18 +0200 (CEST) Received: from localhost ([::1]:55084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6c13-0003HV-3w for larch@yhetil.org; Wed, 29 Jun 2022 14:02:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6c0o-0003F4-Hx for guix-patches@gnu.org; Wed, 29 Jun 2022 14:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6c0o-0006k1-6l for guix-patches@gnu.org; Wed, 29 Jun 2022 14:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6c0o-0006P1-3V for guix-patches@gnu.org; Wed, 29 Jun 2022 14:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56302] [PATCH v2] gnu: ruby: Update to 2.7.6 [security fixes]. References: <20220629155533.5224-1-remco@remworks.net> In-Reply-To: <20220629155533.5224-1-remco@remworks.net> Resent-From: Remco van 't Veer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Jun 2022 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56302 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56302@debbugs.gnu.org Cc: Tobias Geerinckx-Rice , Maxime Devos , Remco van 't Veer Received: via spool by 56302-submit@debbugs.gnu.org id=B56302.165652567321989 (code B ref 56302); Wed, 29 Jun 2022 18:02:02 +0000 Received: (at 56302) by debbugs.gnu.org; 29 Jun 2022 18:01:13 +0000 Received: from localhost ([127.0.0.1]:60158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6bzw-0005eN-My for submit@debbugs.gnu.org; Wed, 29 Jun 2022 14:01:13 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6bzr-0005TR-MO for 56302@debbugs.gnu.org; Wed, 29 Jun 2022 14:01:07 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6E67E5C0533; Wed, 29 Jun 2022 14:00:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 29 Jun 2022 14:00:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1656525658; x=1656612058; bh=EqjwWOoH8e seZjPgFpBBIhpuGa30DvrFyu0B5Wppjvg=; b=Mn+GDOYlJ9RiQKoUxM6lp32cvi q0QZHnYQKA9IEwwY+t6RTtPEY+VlsAHjNH+RsR2naKElJbylzHU8OpxdhRcmmtf6 sv/WNvCXB3kH6kShB6LtGKSFrxsclZQMZf94t14SNYkbSIxKaRlUttShw5PBnwbe +YlNL6qGSvFzs47uazx9ZNBdK/o/q/GEUa+/bDDgqVmWx3Dfuuyq2fj15MK4rOzi 4xCS/q+443ivLa7foV2brPV9iGowOQxWdzK6rAnOBA7/oVLP19L8lK+LAn4rMjFu wJiyI5eUOURQrmDorjyORqckw75+7P7ffi42YkAz6OZ3Ea6w6sIwEemfU5cQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1656525658; x=1656612058; bh=EqjwWOoH8eseZ jPgFpBBIhpuGa30DvrFyu0B5Wppjvg=; b=RDRGk+f2ydzzErbBkDPB6KlOGZN7q +BR8un89l9iRs+EwkRVfHp6TrFzCzAFbvOfXZEJPsg47/XS1QheiNbETaUArCZxe z8Q5LT/eL4Lip78SRK33K+qPHX8bAaDp7NOzPiwsUhiGsDC0MCUSJSGx1YN368AM 59FpzV+9c8ytJn60dPnR46IYKkk2NLNl58TOIqN1hCkXbu9UKxwf20R8JfDTj81W QqPYCkrc2Jeo8ZmhIuYUuvJcFi5RoCHzF6ck/R4uHT2zHU3xUkwqvv6J0O/YF9h5 r6GZY7++TnkYT1Kd2ESbUSldceaCIxthvnfSc6SqPiThSvubhgmdZDtZQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegledguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheptfgvmhgt ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne cuggftrfgrthhtvghrnhepfeffheduteegtdfhfeeugfevleffgfeiffekfeevfeffgeev jeekffekgfduledtnecuffhomhgrihhnpehruhgshidqlhgrnhhgrdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhifvhesfhgrshht mhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i568842cc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Jun 2022 14:00:56 -0400 (EDT) From: Remco van 't Veer Date: Wed, 29 Jun 2022 20:00:37 +0200 Message-Id: <20220629180037.27919-1-remco@remworks.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656525738; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EqjwWOoH8eseZjPgFpBBIhpuGa30DvrFyu0B5Wppjvg=; b=DPotA9dFFvLyAmD3L+4Ix17gG6JMGqT/+/PfmkJhNYbK5f3vZ5vEPVXeJRk6Bmvo7SadhF fScrh2EGk1GjAKxtoCs3KspQoK/+zmAoNUGvsbUo5EIj2L6+rP4EKuUPQG1LmrgFzJJ7WZ SrRtzAy5qI8MFpmAMuKpEx4GCuiT1ght1z+cNlLSAAzumLjo/4cL5i4izcm8V2dVilOq2K yO/Xlsomvc4TyrXbmAA9WUOgSONk06HaYDPpXpGpFH6wbk3uPNiDPLBDnrB2AWwMaxwHp6 IG7JpfFjzWIW0GNrLYWLNNSGwGEi0W4KN6TDUxXNBgTROeSRHlLqj4zdZ9OUow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656525738; a=rsa-sha256; cv=none; b=BjpCTWWe/q+n7D5Qks5KqXJdVUOgLWgqDq/x69ElPIotnHqBByvByc2gMAGKsnHEw7I+l3 /xbb9Gs2DO2yv7KfwK2U5AM6gR7ICjN+vVJoV+YeJJi1jSrVecteRQlQNwFPi6qfcse/di w51lG+qogqSwZm0f2InVOY2R3gk49kF2wM/xWC6dgXxxaOKK1/tEFpXWEp/1M2GJqrDcBc xF/9Rba1a8MsVgVkSeYNbEDWrKLkzwbzzUPCs6ve0oB2J68vCwst8KPqwDxeQaPcgxnyRT DFJykPg7QY/e7R/x82YCfFwGNfFBKcb+/Oqm5ixkUr+DCrMHp2NmBSS4PZjCyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm1 header.b=Mn+GDOYl; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=RDRGk+f2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm1 header.b=Mn+GDOYl; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=RDRGk+f2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0F491155B2 X-Spam-Score: 1.94 X-Migadu-Scanner: scn1.migadu.com X-TUID: sF2aL5EU6MMp Includes fixes for: CVE-2022-28739, CVE-2021-41816, and CVE-2021-41817. * gnu/packages/ruby.scm (ruby-2.7-fixed): New variable. (ruby-2.7)[replacement]: Graft. --- gnu/packages/ruby.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 68e5d8dfd6..0b6626bdf7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2021 EuAndreh ;;; Copyright © 2020 Tomás Ortín Fernández ;;; Copyright © 2021 Giovanni Biscuolo +;;; Copyright © 2022 Remco van 't Veer ;;; ;;; This file is part of GNU Guix. ;;; @@ -152,6 +153,7 @@ (define-public ruby-2.7 (package (inherit ruby-2.6) (version "2.7.4") + (replacement ruby-2.7-fixed) ; security fixes (source (origin (inherit (package-source ruby-2.6)) @@ -186,6 +188,20 @@ (define-public ruby-2.7 (native-inputs (list autoconf)))) +(define ruby-2.7-fixed + (package + (inherit ruby-2.7) + (version "2.7.6") + (source + (origin + (inherit (package-source ruby-2.7)) + (uri (string-append "https://cache.ruby-lang.org/pub/ruby/" + (version-major+minor version) + "/ruby-" version ".tar.gz")) + (sha256 + (base32 + "042xrdk7hsv4072bayz3f8ffqh61i8zlhvck10nfshllq063n877")))))) + (define-public ruby-3.0 (package (inherit ruby-2.7) -- 2.36.1