gnu: opensmtpd: Patch FHS assumptions.
This fixes the following failure... # smtpctl show message 9275c3fbeccbae93 execl: No such file or directory ...due to the absence of ‘/bin/cat’ on GuixSD. * gnu/packages/mail.scm (opensmtpd)[arguments]: Add ‘patch-FHS-file-names’ phase.
This commit is contained in:
parent
2dfb9bbf23
commit
19fed04915
@ -2018,6 +2018,13 @@ transfer protocols.")
|
||||
"--with-path-CAfile=/etc/ssl/certs/ca-certificates.crt")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Fix some incorrectly hard-coded external tool file names.
|
||||
(add-after 'unpack 'patch-FHS-file-names
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "smtpd/smtpctl.c"
|
||||
(("/bin/cat") (which "cat"))
|
||||
(("/bin/sh") (which "sh")))
|
||||
#t))
|
||||
;; OpenSMTPD provides a single utility smtpctl to control the daemon and
|
||||
;; the local submission subsystem. To accomodate systems that require
|
||||
;; historical interfaces such as sendmail, newaliases or makemap, the
|
||||
|
Loading…
Reference in New Issue
Block a user