gnu: nginx: Update to 1.11.4.

* gnu/packages/web.scm (nginx): Update to 1.11.4.
[source] Use https.
[home-page]: Use https.
This commit is contained in:
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

View file

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