gnu: nginx: Update to 1.21.0 [fixes CVE-2021-23017].

* gnu/packages/web.scm (nginx, nginx-documentation): Update to 1.21.0.
This commit is contained in:
Leo Famulari 2021-05-25 12:42:55 -04:00
parent 0ffac75ece
commit d366557b7b
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -368,14 +368,14 @@ (define-public nginx
;; stable and recommends that “in general you deploy the NGINX mainline ;; stable and recommends that “in general you deploy the NGINX mainline
;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/) ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
;; Consider updating the nginx-documentation package together with this one. ;; Consider updating the nginx-documentation package together with this one.
(version "1.19.10") (version "1.21.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://nginx.org/download/nginx-" (uri (string-append "https://nginx.org/download/nginx-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"121d11693d6dbim3lh64hrqi66z129z30cvcrpbnm631yl7jkl78")))) "0w87zhm5nfx88x9hj6drrvm5f3m02kzbjp39x1lsglrbmi5jl6gy"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("libxml2" ,libxml2) (inputs `(("libxml2" ,libxml2)
("libxslt" ,libxslt) ("libxslt" ,libxslt)
@ -466,9 +466,9 @@ (define-public nginx
(define-public nginx-documentation (define-public nginx-documentation
;; This documentation should be relevant for the current nginx package. ;; This documentation should be relevant for the current nginx package.
(let ((version "1.19.10") (let ((version "1.21.0")
(revision 2708) (revision 2726)
(changeset "f8686d85df53")) (changeset "a7a36efd10af"))
(package (package
(name "nginx-documentation") (name "nginx-documentation")
(version (simple-format #f "~A-~A-~A" version revision changeset)) (version (simple-format #f "~A-~A-~A" version revision changeset))
@ -480,7 +480,7 @@ (define-public nginx-documentation
(file-name (string-append name "-" version)) (file-name (string-append name "-" version))
(sha256 (sha256
(base32 (base32
"00b0dkpblw3m2cwbbzv3miw47c0m3s0dvh1xy0hihkggy7mqv2r2")))) "1fl7rkbfdd26c78h85x4w3kas16rpj4pxzjhc071qvx7znwgm2pn"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no test suite '(#:tests? #f ; no test suite