unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 66198@debbugs.gnu.org
Subject: [bug#66198] [PATCH] gnu: openssl-3.0: replace with 3.1.3.
Date: Mon, 25 Sep 2023 21:17:00 +0100	[thread overview]
Message-ID: <319db45acb202e19aaf6b6479a2bcbec1ba78980.1695673020.git.mail@cbaines.net> (raw)

From: Sevan Janiyan <venture37@geeklan.co.uk>

Address various CVEs.

* gnu/packages/tls.scm (openssl-3.1.3): New variable.
(openssl-3.0)[replacement]: Use it.
---
 gnu/packages/tls.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index b669ac2e8d..62af3589a7 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -571,6 +571,7 @@ (define-public openssl-3.0
   (package
     (inherit openssl-1.1)
     (version "3.0.8")
+    (replacement openssl-3.1.3)
     (source (origin
               (method url-fetch)
               (uri (list (string-append "https://www.openssl.org/source/openssl-"
@@ -605,6 +606,24 @@ (define-public openssl-3.0
 
 (define-public openssl openssl-3.0)
 
+(define-public openssl-3.1.3
+  (package
+    (inherit openssl-3.0)
+    (version "3.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (list (string-append "https://www.openssl.org/source/openssl-"
+                                        version ".tar.gz")
+                         (string-append "ftp://ftp.openssl.org/source/"
+                                        "openssl-" version ".tar.gz")
+                         (string-append "ftp://ftp.openssl.org/source/old/"
+                                        (string-trim-right version char-set:letter)
+                                        "/openssl-" version ".tar.gz")))
+              (patches (search-patches "openssl-3.0-c-rehash-in.patch"))
+              (sha256
+               (base32
+                "1xmc5s5ihapvj9k4d33qjch3104zd1c58i3n54sz5rw9plp6lcgh"))))))
+
 (define-public bearssl
   (package
     (name "bearssl")

base-commit: fafd3caef0d51811a5da81d6061789e2908b0dac
-- 
2.41.0





                 reply	other threads:[~2023-09-25 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=319db45acb202e19aaf6b6479a2bcbec1ba78980.1695673020.git.mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=66198@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).