From 072f1e22cc6b1708fddedd1ac7ab12827284a785 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 29 Nov 2016 19:45:04 +0200 Subject: [PATCH] gnu: dovecot: Update to 2.2.26.0. * gnu/packages/mail.scm (dovecot): Update to 2.2.26.0. [arguments]: Patch shebangs in test file. --- gnu/packages/mail.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 9948a21d94..8cee4016f0 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -933,7 +933,7 @@ (define-public exim (define-public dovecot (package (name "dovecot") - (version "2.2.25") + (version "2.2.26.0") (source (origin (method url-fetch) @@ -941,7 +941,7 @@ (define-public dovecot (version-major+minor version) "/" name "-" version ".tar.gz")) (sha256 (base32 - "0rwn5wc5b8j9fzqcjggdgpzmb77myrf4ra294z1gg5v3hhng7nfq")))) + "01bgj8b2whi35ghbxb19nmr3xvx2zgjzxxw1crgx2v73kprs34pn")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -963,6 +963,15 @@ (define-public dovecot "doc/example-config/Makefile.in") (("pkgsysconfdir = .*") "pkgsysconfdir = /tmp/etc")) + #t)) + (add-after + 'unpack 'patch-other-shebangs + (lambda _ + (substitute* + "src/lib-program-client/test-program-client-local.c" + (("/bin/echo") (which "echo")) + (("/bin/cat") (which "cat")) + (("/bin/false") (which "false"))) #t))))) (home-page "http://www.dovecot.org") (synopsis "Secure POP3/IMAP server")