me
/
guix
Archived
1
0
Fork 0

gnu: opensmtpd: Patch bug in 'smtpctl encrypt'.

* gnu/packages/mail.scm (opensmtpd)[phases]{fix-smtpctl-encrypt-bug}: New
phase.
master
Maxim Cournoyer 2020-06-08 15:37:21 -04:00
parent 933abfba36
commit 838c4b10e9
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 7 additions and 0 deletions

View File

@ -2322,6 +2322,13 @@ transfer protocols.")
"--with-table-db")
#: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.
(add-after 'unpack 'patch-FHS-file-names
(lambda _