aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-01-07 18:04:36 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-01-08 02:26:17 +0100
commitcda8250b204c5b59211064e94e068766c2613456 (patch)
tree3ac2d4f869ee6e29580da00d6bdc9205a182f0bd /gnu/packages/mail.scm
parenta56430442e8cf2f68a8cef9383b86a0a4c13959f (diff)
downloadguix-cda8250b204c5b59211064e94e068766c2613456.tar
guix-cda8250b204c5b59211064e94e068766c2613456.tar.gz
gnu: exim: Update to 4.93.0.4.
* gnu/packages/mail.scm (exim): Update to 4.93.0.4. [source]: Add /fixes/ URI to the list. [inputs]: Use gnutls/dane variant. [native-inputs]: Add pkg-config. [arguments]: Set USE_GNUTLS* variables to use the new inputs.. Add CC=gcc to #:make-flags.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm31
1 files changed, 20 insertions, 11 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 12885f6f8d..a674837ce8 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -22,7 +22,7 @@
;;; Copyright © 2016, 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
-;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
@@ -1260,21 +1260,24 @@ delivery.")
(define-public exim
(package
(name "exim")
- (version "4.92.3")
+ (version "4.93.0.4")
(source
(origin
(method url-fetch)
(uri (list (string-append "https://ftp.exim.org/pub/exim/exim4/exim-"
version ".tar.bz2")
+ ;; ‘Fix’ releases (exim-x.y.z.f) are kept separately.
+ (string-append "https://ftp.exim.org/pub/exim/exim4/fixes/exim-"
+ version ".tar.bz2")
+ ;; After a new release the previous one is moved here.
(string-append "https://ftp.exim.org/pub/exim/exim4/old/exim-"
version ".tar.bz2")))
(sha256
- (base32
- "0d0h0j9pl3yf089sc59ia60m3dqnkb3qh1qaz6vxfg2ja2mnm5i9"))))
+ (base32 "1ng4flyv2jqjbw66dbdgma7kfnnph9h3s1yyc0q27n7q0sx3cwxn"))))
(build-system gnu-build-system)
(inputs
`(("bdb" ,bdb-5.3) ; ‘#error Version 6 and later BDB API is not supported’
- ("gnutls" ,gnutls)
+ ("gnutls" ,gnutls/dane)
("gzip" ,gzip)
("bzip2" ,bzip2)
("xz" ,xz)
@@ -1284,7 +1287,8 @@ delivery.")
("libxaw" ,libxaw)))
(native-inputs
`(("pcre" ,pcre "bin")
- ("perl" ,perl)))
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)))
(arguments
'(#:phases
(modify-phases %standard-phases
@@ -1313,9 +1317,11 @@ delivery.")
(("(COMPRESS_COMMAND=).*" all var)
(string-append var gzip "/bin/gzip\n"))
(("(ZCAT_COMMAND=).*" all var)
- (string-append var gzip "/bin/zcat\n")))
- ;; This file has hardcoded names for tools despite the zcat
- ;; configuration above.
+ (string-append var gzip "/bin/zcat\n"))
+ (("# (USE_GNUTLS(|_PC)=.*)" all line)
+ (string-append line "\n")))
+ ;; This file has hard-coded relative file names for tools despite
+ ;; the zcat configuration above.
(substitute* '("src/exigrep.src")
(("'zcat'") (string-append "'" gzip "/bin/zcat'"))
(("'bzcat'") (string-append "'" bzip2 "/bin/bzcat'"))
@@ -1332,8 +1338,11 @@ delivery.")
(substitute* '("scripts/Configure-eximon")
(("#!/bin/sh") (string-append "#!" bash "/bin/sh"))))
#t)))
- #:make-flags '("INSTALL_ARG=-no_chown")
- ;; No 'check' target.
+ #:make-flags
+ (list "CC=gcc"
+ "INSTALL_ARG=-no_chown")
+ ;; No 'check' target. There is a test suite in test/, which assumes that
+ ;; certain build options were (not) used and that it can freely ‘sudo’.
#:tests? #f))
(home-page "https://www.exim.org/")
(synopsis