summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-05-28 14:45:41 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-06-24 08:51:42 -0400
commit2b78b0a253370445a333663cd21e952dd69f2a68 (patch)
tree16df52a7eb3c4f74d970ec01e79c6683d75397f5
parentb9bdcad448034a41c79f64e9e5a7f4fad74f5b7d (diff)
downloadguix-2b78b0a253370445a333663cd21e952dd69f2a68.tar.gz
gnu: exim: Update to 4.97.1.
* gnu/packages/mail.scm (exim): Update to 4.97.1.
  [inputs]: Add perl-file-fcntllock.
  [arguments]: Add fix-perl-file-names phase.

Change-Id: Ide1ba09368c2b23fd8ab6d6cdae8887ccb7edbeb
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r--gnu/packages/mail.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index fe2135a22d..de6d21e7cc 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1975,7 +1975,7 @@ delivery.")
 (define-public exim
   (package
     (name "exim")
-    (version "4.96.1")
+    (version "4.97.1")
     (source
      (origin
        (method url-fetch)
@@ -1989,7 +1989,7 @@ delivery.")
                     (string-append "https://ftp.exim.org/pub/exim/exim4/old/"
                                    file-name))))
        (sha256
-        (base32 "0g83cxkq3znh5b3r2a3990qxysw7d2l71jwcxaxzvq8pqdahgb4k"))))
+        (base32 "1afzxyffjqm2xm5v6b731hbfm1fi4q35ja45a29kaycsa1bj0y5x"))))
     (build-system gnu-build-system)
     (arguments
      (list #:phases
@@ -2042,6 +2042,12 @@ delivery.")
                    (substitute* "scripts/Configure-config.h"
                      (("\\| /bin/sh") "| sh"))
                    (patch-shebang "scripts/Configure-eximon")))
+               (add-before 'build 'fix-perl-file-names
+                 (lambda _
+                  (substitute* (list  "Local/Makefile"
+                                      "OS/Makefile-Default")
+                    (("PERL_COMMAND=/usr/bin/perl")
+                     (string-append "PERL_COMMAND=" #$perl "/bin/perl")))))
                (add-before 'build 'build-reproducibly
                  (lambda _
                    ;; The ‘compilation number’ increments on every build in the
@@ -2066,6 +2072,7 @@ delivery.")
            libxaw
            libxt
            perl
+           perl-file-fcntllock
            xz))
     (home-page "https://www.exim.org/")
     (synopsis