GNU bug report logs - #71241
[PATCH] gnu: exim: Update to 4.97.1.

Previous Next

Package: guix-patches;

Reported by: Wilko Meyer <w <at> wmeyer.eu>

Date: Tue, 28 May 2024 14:22:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71241 in the body.
You can then email your comments to 71241 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71241; Package guix-patches. (Tue, 28 May 2024 14:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wilko Meyer <w <at> wmeyer.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 May 2024 14:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: guix-patches <at> gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>
Subject: [PATCH] gnu: exim: Update to 4.97.1.
Date: Tue, 28 May 2024 14:45:41 +0200
* 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(-)

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





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 24 Jun 2024 02:58:02 GMT) Full text and rfc822 format available.

Notification sent to Wilko Meyer <w <at> wmeyer.eu>:
bug acknowledged by developer. (Mon, 24 Jun 2024 02:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 71241-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 71241-done <at> debbugs.gnu.org
Subject: Re: [bug#71241] [PATCH] gnu: exim: Update to 4.97.1.
Date: Sun, 23 Jun 2024 22:56:51 -0400
Hi,

Wilko Meyer <w <at> 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.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Jul 2024 11:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.