gnu: openssl: Update to 1.1.1j [security fixes].

* gnu/packages/tls.scm (openssl/fixed): New variable.
(openssl)[replacement]: Graft.
This commit is contained in:
Léo Le Bouter 2021-03-11 05:38:57 +01:00
parent ee8e4ba7aa
commit 4a8b529ce1
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -301,6 +301,7 @@ (define-public openssl
(sha256
(base32
"0hjj1phcwkz69lx1lrvr9grhpl4y529mwqycqc1hdla1zqsnmgp8"))))
(replacement openssl/fixed)
(build-system gnu-build-system)
(outputs '("out"
"doc" ;6.8 MiB of man3 pages and full HTML documentation
@ -419,6 +420,24 @@ (define-public openssl
(license license:openssl)
(home-page "https://www.openssl.org/")))
(define-public openssl/fixed
(package
(inherit openssl)
(version "1.1.1j")
(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-1.1-c-rehash-in.patch"))
(sha256
(base32
"1gw17520vh13izy1xf5q0a2fqgcayymjjj5bk0dlkxndfnszrwma"))))))
(define-public openssl-1.0
(package
(inherit openssl)