GNU bug report logs - #45153
[PATCH] gnu: rottlog: Fix mail reporting.

Previous Next

Package: guix-patches;

Reported by: dftxbs3e <dftxbs3e <at> free.fr>

Date: Thu, 10 Dec 2020 03:42:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: John Doe <dftxbs3e <at> free.fr>
Cc: Léo Le Bouter <lle-bout <at> zaclys.net>, 45153 <at> debbugs.gnu.org
Subject: Re: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting.
Date: Sat, 12 Dec 2020 22:25:34 +0200
[Message part 1 (text/plain, inline)]
If there's no mail server setup on the Guix System machine where does
the mail go?

On Sat, Dec 12, 2020 at 09:46:39AM +0100, John Doe wrote:
> From: Léo Le Bouter <lle-bout <at> zaclys.net>
> 
> * gnu/packages/admin.scm (rottlog):
> [inputs]: Add sendmail.
> [phases]: Modify 'patch-paths to substitute sendmail command with
> /gnu/store item.
> ---
>  gnu/packages/admin.scm | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 9df14b5ca0..9394545003 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -107,6 +107,7 @@
>    #:use-module (gnu packages libusb)
>    #:use-module (gnu packages linux)
>    #:use-module (gnu packages lua)
> +  #:use-module (gnu packages mail)
>    #:use-module (gnu packages man)
>    #:use-module (gnu packages mcrypt)
>    #:use-module (gnu packages mpi)
> @@ -1343,9 +1344,11 @@ at once based on a Perl regular expression.")
>  
>         #:phases (modify-phases %standard-phases
>                    (add-after 'unpack 'patch-paths
> -                    (lambda _
> +                    (lambda* (#:key inputs #:allow-other-keys)
>                        (substitute* "rc/rc"
> -                        (("/usr/sbin/sendmail") "sendmail"))
> +                        (("/usr/sbin/sendmail")
> +                         (string-append (assoc-ref inputs "sendmail")
> +                                        "/usr/sbin/sendmail")))
>                        #t))
>                    (add-after 'unpack 'fix-configure
>                      (lambda* (#:key inputs native-inputs #:allow-other-keys)
> @@ -1384,7 +1387,8 @@ at once based on a Perl regular expression.")
>      (native-inputs `(("texinfo" ,texinfo)
>                       ("automake" ,automake)
>                       ("util-linux" ,util-linux))) ; for 'cal'
> -    (inputs `(("coreutils*" ,coreutils)))
> +    (inputs `(("coreutils*" ,coreutils)
> +              ("sendmail" ,sendmail)))
>      (home-page "https://www.gnu.org/software/rottlog/")
>      (synopsis "Log rotation and management")
>      (description
> -- 
> 2.29.2
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 224 days ago.

Previous Next


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