guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: exim: Update to 4.93.0.4.


From: guix-commits
Subject: 01/03: gnu: exim: Update to 4.93.0.4.
Date: Tue, 7 Jan 2020 21:10:31 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit cda8250b204c5b59211064e94e068766c2613456
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Tue Jan 7 18:04:36 2020 +0100

    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.
---
 gnu/packages/mail.scm | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 12885f6..a674837 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -22,7 +22,7 @@
 ;;; Copyright © 2016, 2018 Marius Bakke <address@hidden>
 ;;; Copyright © 2017 Thomas Danckaert <address@hidden>
 ;;; Copyright © 2017 Kyle Meyer <address@hidden>
-;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2017, 2018 Rene Saavedra <address@hidden>
 ;;; Copyright © 2018, 2019 Pierre Langlois <address@hidden>
 ;;; Copyright © 2018 Alex Vong <address@hidden>
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]