gnu: dovecot: Update to 2.3.5.

* gnu/packages/mail.scm (dovecot): Update to 2.3.5.
[arguments]: Patch more tests in ‘patch-file-names’ phase, renamed from
‘patch-other-file-names’.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-08 01:09:29 +01:00
parent 2fa1a3a808
commit 13b1fb5c92
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1282,7 +1282,7 @@ (define-public exim
(define-public dovecot
(package
(name "dovecot")
(version "2.3.4.1")
(version "2.3.5")
(source
(origin
(method url-fetch)
@ -1290,8 +1290,7 @@ (define-public dovecot
(version-major+minor version) "/"
"dovecot-" version ".tar.gz"))
(sha256
(base32
"01xa8d08c0j51w5kmqb3vnzrvh17hkzx5a5p7fb5hgn3wln3x1xq"))))
(base32 "1zxa9banams9nmk99sf1rqahr11cdqxhwi7hyz3ddxqidpn15qdz"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
@ -1315,7 +1314,7 @@ (define-public dovecot
"pkgsysconfdir = /tmp/etc"))
#t))
(add-after
'unpack 'patch-other-file-names
'unpack 'patch-file-names
(lambda _
(substitute*
"src/lib-program-client/test-program-client-local.c"
@ -1325,6 +1324,10 @@ (define-public dovecot
(("/bin/sh") (which "bash"))
(("head") (which "head"))
(("sleep") (which "sleep")))
(substitute*
(list "src/lib-smtp/test-bin/sendmail-exit-1.sh"
"src/lib-smtp/test-bin/sendmail-success.sh")
(("cat") (which "cat")))
#t)))))
(home-page "https://www.dovecot.org")
(synopsis "Secure POP3/IMAP server")