gnu: Varnish: Update to 6.1.1.

* gnu/packages/web.scm (varnish): Update to 6.1.1.
[native-inputs]: Add PYTHON-SPHINX.
[arguments]: Add "--disable-pcre-jit" to #:configure-flags.
This commit is contained in:
Marius Bakke 2019-02-13 17:39:36 +01:00
parent 95991e4517
commit cb94d5e161
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 2 deletions

View File

@ -4781,13 +4781,13 @@ deployments.")
(package
(name "varnish")
(home-page "https://varnish-cache.org/")
(version "6.0.0")
(version "6.1.1")
(source (origin
(method url-fetch)
(uri (string-append home-page "_downloads/varnish-" version ".tgz"))
(sha256
(base32
"1vhbdch33m6ig4ijy57zvrramhs9n7cba85wd8rizgxjjnf87cn7"))))
"0gf9hzzrr1lndbbqi8cwlfasi7l517cy3nbgna88i78lm247rvp0"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
@ -4795,6 +4795,10 @@ deployments.")
(string-append "PTHREAD_CC="
(assoc-ref %build-inputs "gcc")
"/bin/gcc")
;; XXX: Disable PCRE-JIT to work around a segmentation
;; fault when using jemalloc 5.x:
;; <https://github.com/varnishcache/varnish-cache/issues/2817>
"--disable-pcre-jit"
"--localstatedir=/var")
#:phases
(modify-phases %standard-phases
@ -4829,6 +4833,7 @@ deployments.")
#t))))))
(native-inputs
`(("pkg-config" ,pkg-config)
("python-sphinx" ,python-sphinx)
("rst2man" ,python-docutils)))
(inputs
`(("jemalloc" ,jemalloc)