me
/
guix
Archived
1
0
Fork 0

gnu: nginx: Update to 1.27.0.

* gnu/packages/web.scm (nginx): Update to 1.27.0.
  (nginx-documentation): Update to 1.27.0.
  (nginx-accept-language-module)[arguments]: Add configure flags
  to enable compatibility and fix build.

Change-Id: I447e0bb8677d3f3b14c3a8948c625bcad437ca73
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
master
Andy Tai 2024-06-17 22:52:32 -07:00 committed by Maxim Cournoyer
parent 0fe46e53bb
commit cd15d417e3
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 8 additions and 7 deletions

View File

@ -510,14 +510,14 @@ the same, being completely separated from the Internet.")
;; Track the mainline branch. Upstream considers it more reliable than
;; 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/)
(version "1.23.3")
(version "1.27.0")
(source (origin
(method url-fetch)
(uri (string-append "https://nginx.org/download/nginx-"
version ".tar.gz"))
(sha256
(base32
"0m5s8a04jlpv6qhk09sfqbj4rxj38g6923w12j5y3ymrvf3mgjvm"))))
"170ja338zh7wdyva34cr7f3wfq59434sssn51d5jvakyz0y0w8xp"))))
(build-system gnu-build-system)
(inputs (list libxml2 libxslt openssl pcre zlib))
(arguments
@ -607,9 +607,9 @@ and as a proxy to reduce the load on back-end HTTP or mail servers.")
(define-public nginx-documentation
;; This documentation should be relevant for the current nginx package.
(let ((version "1.23.3")
(revision 2916)
(changeset "178f55cf631a"))
(let ((version "1.27.0")
(revision 3081)
(changeset "1b23e39a3b94"))
(package
(name "nginx-documentation")
(version (simple-format #f "~A-~A-~A" version revision changeset))
@ -621,7 +621,7 @@ and as a proxy to reduce the load on back-end HTTP or mail servers.")
(file-name (string-append name "-" version))
(sha256
(base32
"0b03dnniwm3p3gd76vqs6lj2z4blqmb7y4lhn9vg7xjz0yqgzvn2"))))
"0xnfda8xh8mv00fsycqbwicm8bb7rsvdqmmwv0h372kiwxnazjkh"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no test suite
@ -631,7 +631,7 @@ and as a proxy to reduce the load on back-end HTTP or mail servers.")
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(let ((output (assoc-ref outputs "out")))
(substitute* "umasked.sh"
(substitute* "tools/umasked.sh"
((" /bin/sh") (string-append " " (which "sh"))))
;; The documentation includes a banner, which makes sense on
;; the NGinx website, but doesn't make much sense when
@ -733,6 +733,7 @@ ngx_http_accept_language_module~%")
"--with-http_v2_module"
"--with-pcre-jit"
"--with-debug"
"--with-compat"
;; Even when not cross-building, we pass the
;; --crossbuild option to avoid customizing for the
;; kernel version on the build machine.