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 6.8.0p1.


From: guix-commits
Subject: branch master updated: gnu: opensmtpd: Update to 6.8.0p1.
Date: Thu, 24 Dec 2020 06:46:54 -0500

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 f6e06e8  gnu: opensmtpd: Update to 6.8.0p1.
f6e06e8 is described below

commit f6e06e8b15d1fa6c17d8fd21f95b26985b4e1674
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Dec 24 12:41:17 2020 +0100

    gnu: opensmtpd: Update to 6.8.0p1.
    
    * gnu/packages/mail.scm (opensmtpd): Update to 6.8.0p1.
---
 gnu/packages/mail.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index f857134..a6de501 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2877,14 +2877,14 @@ from the Cyrus IMAP project.")
 (define-public opensmtpd
   (package
     (name "opensmtpd")
-    (version "6.7.1p1")
+    (version "6.8.0p1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://www.opensmtpd.org/archives/";
                            "opensmtpd-" version ".tar.gz"))
        (sha256
-        (base32 "1jh8vxfajm1mvp1v5yh6llrhjzv0n9fgab88mlwllwqynhcfjy3l"))))
+        (base32 "10095dskwmrnsjkqvm2d08pws9jig7b88prbfr0qc5am49ggl8gm"))))
     (build-system gnu-build-system)
     (inputs
      `(("bdb" ,bdb)
@@ -2911,19 +2911,27 @@ from the Cyrus IMAP project.")
          ;; See: https://github.com/OpenSMTPD/OpenSMTPD/issues/1069.
          (add-after 'unpack 'fix-smtpctl-encrypt-bug
            (lambda _
-             (substitute* "smtpd/smtpctl.c"
+             (substitute* "usr.sbin/smtpd/smtpctl.c"
                (("\"encrypt\", \"--\",")
                 "\"encrypt\","))
              #t))
          ;; Fix some incorrectly hard-coded external tool file names.
          (add-after 'unpack 'patch-FHS-file-names
            (lambda _
-             (substitute* "smtpd/smtpctl.c"
+             (substitute* "usr.sbin/smtpd/smtpctl.c"
                ;; ‘gzcat’ is auto-detected at compile time, but ‘cat’ isn't.
                (("/bin/cat") (which "cat")))
-             (substitute* "smtpd/mda_unpriv.c"
+             (substitute* "usr.sbin/smtpd/mda_unpriv.c"
                (("/bin/sh") (which "sh")))
              #t))
+         (add-after 'unpack 'fix-man-page-detection
+           ;; XXX Remove when https://github.com/OpenSMTPD/OpenSMTPD/pull/1113
+           ;; or similar fix is released.
+           (lambda _
+             (substitute* "configure"
+               (("smtpd/smtpd.8" match)
+                (string-append "usr.sbin/" match)))
+             #t))
          ;; OpenSMTPD provides a single smtpctl utility to control both the
          ;; daemon and the local submission subsystem.  To accomodate systems
          ;; that require historical interfaces such as sendmail, newaliases or



reply via email to

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