guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: opensmtpd: Update to 7.4.0p0 (bis).


From: guix-commits
Subject: branch master updated: gnu: opensmtpd: Update to 7.4.0p0 (bis).
Date: Tue, 31 Oct 2023 12:51:45 -0400

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5e7f27d6ca gnu: opensmtpd: Update to 7.4.0p0 (bis).
5e7f27d6ca is described below

commit 5e7f27d6ca7be84453e6d4de3d860b700ba3aef7
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 22 02:00:00 2023 +0200

    gnu: opensmtpd: Update to 7.4.0p0 (bis).
    
    This time fixing a segfault reported & debugged entirely by graywolf.
    See: <https://github.com/OpenSMTPD/OpenSMTPD/issues/1233>
    
    So, what went wrong here?  Mostly me being entirely convinced, to the
    point of not even looking, that we have no opensmtpd system test.  We
    do.  Instead, I tested the update on my own mail server, which for
    entirely unhysterical raisins happens to link OpenSMTPd against OpenSSL
    and so just happens to sidestep this bug.  Aiya.
    
    * gnu/packages/mail.scm (opensmtpd): Update to 7.4.0p0.
    [native-inputs]: Add pkg-config.
    [inputs]: Add libbsd.
    [arguments]: Add "--with-libbsd" to #:configure-flags.
    
    Co-authored-by: graywolf in #guix
    Change-Id: I5536b828eecd16f041ed9381b16bd7aa54158155
---
 gnu/packages/mail.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 9f410047e2..89087b0708 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -118,6 +118,7 @@
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages language)
+  #:use-module (gnu packages libbsd)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
@@ -3183,26 +3184,32 @@ from the Cyrus IMAP project.")
 (define-public opensmtpd
   (package
     (name "opensmtpd")
-    (version "7.3.0p2")
+    (version "7.4.0p0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://www.opensmtpd.org/archives/";
                            "opensmtpd-" version ".tar.gz"))
        (sha256
-        (base32 "0kjs5cxbh9lq51b8p20hxmiah61cfm8yzkcwpw9005cdp72zpkgw"))))
+        (base32 "0x731hi7i01mxaz07p1l5q3gwmyl422h404yc61ya4aa8g1wr0f1"))))
     (build-system gnu-build-system)
     (inputs
+     ;; OpenSMTPd bundled (a subset of) libasr and libtls, which we use.  See
+     ;; https://www.mail-archive.com/misc@opensmtpd.org/msg05909.html for why.
      (list bdb
+           libbsd          ;https://github.com/OpenSMTPD/OpenSMTPD/issues/1233
            libevent
            libressl
            linux-pam
            zlib))
     (native-inputs
-     (list bison groff))               ; for man pages
+     (list bison
+           groff                        ;for man pages
+           pkg-config))
     (arguments
      `(#:configure-flags
        (list "--localstatedir=/var"
+             "--with-libbsd"
              ;; This is the default only if it exists at build timeā€”it doesn't.
              "--with-path-socket=/var/run"
              "--with-path-CAfile=/etc/ssl/certs/ca-certificates.crt"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]