~ruther/guix-local

838c4b10e9905e1957a57a281152599c1cdd17ce — Maxim Cournoyer 6 years ago 933abfb
gnu: opensmtpd: Patch bug in 'smtpctl encrypt'.

* gnu/packages/mail.scm (opensmtpd)[phases]{fix-smtpctl-encrypt-bug}: New
phase.
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/mail.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +7 -0
@@ 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 _