me
/
guix
Archived
1
0
Fork 0

gnu: nginx: Update to 1.11.4.

* gnu/packages/web.scm (nginx): Update to 1.11.4.
[source] Use https.
[home-page]: Use https.
master
Efraim Flashner 2016-10-06 22:01:00 +03:00
parent 0f43f8354c
commit 59fed2b609
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 6 additions and 5 deletions

View File

@ -121,14 +121,14 @@ and its related documentation.")
(define-public nginx (define-public nginx
(package (package
(name "nginx") (name "nginx")
(version "1.10.1") (version "1.11.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://nginx.org/download/nginx-" (uri (string-append "https://nginx.org/download/nginx-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"00d8hxj8453c7989qd7z4f1mjp0k3ib8k29i1qyf11b4ar35ilqz")))) "0fvb09ycxz3xnyynav6ybj6miwh9kv8jcb2vzrmvqhzn8cgiq8h6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("pcre" ,pcre) (inputs `(("pcre" ,pcre)
("openssl" ,openssl) ("openssl" ,openssl)
@ -140,7 +140,8 @@ and its related documentation.")
(add-before 'configure 'patch-/bin/sh (add-before 'configure 'patch-/bin/sh
(lambda _ (lambda _
(substitute* "auto/feature" (substitute* "auto/feature"
(("/bin/sh") (which "bash"))))) (("/bin/sh") (which "bash")))
#t))
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((flags (let ((flags
@ -186,7 +187,7 @@ and its related documentation.")
(string-append share "/conf")) (string-append share "/conf"))
(rename-file (string-append out "/html") (rename-file (string-append out "/html")
(string-append share "/html")))))))) (string-append share "/html"))))))))
(home-page "http://nginx.org") (home-page "https://nginx.org")
(synopsis "HTTP and reverse proxy server") (synopsis "HTTP and reverse proxy server")
(description (description
"Nginx (\"engine X\") is a high-performance web and reverse proxy server "Nginx (\"engine X\") is a high-performance web and reverse proxy server