[PATCH] gnu: exim: Update to 4.97.1.

  • Open
  • quality assurance status badge
Details
One participant
  • Wilko Meyer
Owner
unassigned
Submitted by
Wilko Meyer
Severity
normal
W
W
Wilko Meyer wrote on 28 May 14:45 +0200
(address . guix-patches@gnu.org)(name . Wilko Meyer)(address . w@wmeyer.eu)
20240528142011.19766-1-w@wmeyer.eu
* 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(-)

Toggle diff (45 lines)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b15d891609..686fe7bf48 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -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
--
2.41.0
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 71241@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71241
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch