[bug#71241] gnu: exim: Update to 4.97.1.
Commit Message
* 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
---
Hi Guix,
Updated Exim to the newest version till date, 4.97.1. Newer exim
versions seem to depend on perl-file-fcntllock so I added that to
inputs; also I had to add a phase that fixes the PERL_COMMAND
variable, to be able to build exim properly.
Cheers!
gnu/packages/mail.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Comments
Hi,
Wilko Meyer <w@wmeyer.eu> writes:
> * gnu/packages/mail.scm (exim): Update to 4.97.1.
> [inputs]: Add perl-file-fcntllock.
> [arguments]: Add fix-perl-file-names phase.
Nitpick: no need for a hanging indent in the GNU ChangeLog style.
> Change-Id: Ide1ba09368c2b23fd8ab6d6cdae8887ccb7edbeb
> ---
> Hi Guix,
>
> Updated Exim to the newest version till date, 4.97.1. Newer exim
> versions seem to depend on perl-file-fcntllock so I added that to
> inputs; also I had to add a phase that fixes the PERL_COMMAND
> variable, to be able to build exim properly.
Sounds reasonable. Applied.
@@ -1949,7 +1949,7 @@ (define-public msmtp
(define-public exim
(package
(name "exim")
- (version "4.96.1")
+ (version "4.97.1")
(source
(origin
(method url-fetch)
@@ -1963,7 +1963,7 @@ (define-public exim
(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
@@ -2016,6 +2016,12 @@ (define-public exim
(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
@@ -2040,6 +2046,7 @@ (define-public exim
libxaw
libxt
perl
+ perl-file-fcntllock
xz))
(home-page "https://www.exim.org/")
(synopsis