[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: rottlog: Fix mail reporting.
From: |
guix-commits |
Subject: |
03/06: gnu: rottlog: Fix mail reporting. |
Date: |
Sun, 27 Dec 2020 11:24:46 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 72861d8ed4d51eebc831a6645943325c8a5bc44a
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Sat Dec 12 09:46:39 2020 +0100
gnu: rottlog: Fix mail reporting.
* gnu/packages/admin.scm (rottlog)[inputs]: Add MAILUTILS.
[phases]: In 'patch-paths', replace "/usr/sbin/sendmail" with 'mail'
from Mailutils.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
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 fc4f667..e45e228 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 "mailutils")
+ "/bin/mail")))
#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)
+ ("mailutils" ,mailutils)))
(home-page "https://www.gnu.org/software/rottlog/")
(synopsis "Log rotation and management")
(description
- branch master updated (be0a06e -> d21f251), guix-commits, 2020/12/27
- 01/06: maint: Remove unused '--with-nix-prefix' configure option., guix-commits, 2020/12/27
- 02/06: gnu: Add Guile-zstd., guix-commits, 2020/12/27
- 04/06: gnu: Add hunspell-dict-it-it., guix-commits, 2020/12/27
- 05/06: transformations: Add '--with-patch'., guix-commits, 2020/12/27
- 03/06: gnu: rottlog: Fix mail reporting.,
guix-commits <=
- 06/06: news: Add entry for '--with-patch'., guix-commits, 2020/12/27