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>
This commit is contained in:
Wilko Meyer 2024-05-28 14:45:41 +02:00 committed by Maxim Cournoyer
parent b9bdcad448
commit 2b78b0a253
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1975,7 +1975,7 @@ (define-public msmtp
(define-public exim (define-public exim
(package (package
(name "exim") (name "exim")
(version "4.96.1") (version "4.97.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1989,7 +1989,7 @@ (define-public exim
(string-append "https://ftp.exim.org/pub/exim/exim4/old/" (string-append "https://ftp.exim.org/pub/exim/exim4/old/"
file-name)))) file-name))))
(sha256 (sha256
(base32 "0g83cxkq3znh5b3r2a3990qxysw7d2l71jwcxaxzvq8pqdahgb4k")))) (base32 "1afzxyffjqm2xm5v6b731hbfm1fi4q35ja45a29kaycsa1bj0y5x"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:phases (list #:phases
@ -2042,6 +2042,12 @@ (define-public exim
(substitute* "scripts/Configure-config.h" (substitute* "scripts/Configure-config.h"
(("\\| /bin/sh") "| sh")) (("\\| /bin/sh") "| sh"))
(patch-shebang "scripts/Configure-eximon"))) (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 (add-before 'build 'build-reproducibly
(lambda _ (lambda _
;; The compilation number increments on every build in the ;; The compilation number increments on every build in the
@ -2066,6 +2072,7 @@ (define-public exim
libxaw libxaw
libxt libxt
perl perl
perl-file-fcntllock
xz)) xz))
(home-page "https://www.exim.org/") (home-page "https://www.exim.org/")
(synopsis (synopsis