GNU bug report logs - #59701
[PATCH] gnu: mailutils: Inform correct path of sendmail.

Previous Next

Package: guix-patches;

Reported by: EuAndreh <eu <at> euandre.org>

Date: Tue, 29 Nov 2022 21:56:01 UTC

Severity: normal

Tags: moreinfo, patch

Full log


View this message in rfc822 format

From: EuAndreh <eu <at> euandre.org>
To: 59701 <at> debbugs.gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [bug#59701] [PATCH v2] gnu: mailutils: Inform correct path of sendmail.
Date: Tue, 29 Nov 2022 18:57:21 -0300
* gnu/packages/mail.scm (mailutils)[arguments]: Add -DPATH_SENDMAIL
  to CFLAGS pointing to /run/setuid-programs.
---
Oops, now with the correct path.

 gnu/packages/mail.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index cef5fe2916..754c9bc6de 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -347,6 +347,9 @@ (define-public mailutils
            #~(list "--sysconfdir=/etc"
                    "--disable-static"
 
+                   ;; Specify path to sendmail setuid binary, which otherwise
+                   ;; defaults to /usr/sbin/sendmail
+                   "CFLAGS=-DPATH_SENDMAIL=\\\"/run/setuid-programs/sendmail\\\""
                    ;; Add "/X.Y" to the installation directory.
                    (string-append "--with-guile-site-dir="
                                   (assoc-ref %outputs "out")
-- 
2.38.1





This bug report was last modified 2 years and 184 days ago.

Previous Next


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