mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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>
This commit is contained in:
parent
32568f5b24
commit
72861d8ed4
1 changed files with 7 additions and 3 deletions
|
@ -107,6 +107,7 @@ (define-module (gnu packages admin)
|
|||
#: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 @@ (define-public rottlog
|
|||
|
||||
#: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 @@ (define-public rottlog
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue