gnu: opensmtpd: Patch bug in 'smtpctl encrypt'.
* gnu/packages/mail.scm (opensmtpd)[phases]{fix-smtpctl-encrypt-bug}: New phase.master
parent
933abfba36
commit
838c4b10e9
|
@ -2322,6 +2322,13 @@ transfer protocols.")
|
||||||
"--with-table-db")
|
"--with-table-db")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
;; See: https://github.com/OpenSMTPD/OpenSMTPD/issues/1069.
|
||||||
|
(add-after 'unpack 'fix-smtpctl-encrypt-bug
|
||||||
|
(lambda _
|
||||||
|
(substitute* "smtpd/smtpctl.c"
|
||||||
|
(("\"encrypt\", \"--\",")
|
||||||
|
"\"encrypt\","))
|
||||||
|
#t))
|
||||||
;; Fix some incorrectly hard-coded external tool file names.
|
;; Fix some incorrectly hard-coded external tool file names.
|
||||||
(add-after 'unpack 'patch-FHS-file-names
|
(add-after 'unpack 'patch-FHS-file-names
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue