From 838c4b10e9905e1957a57a281152599c1cdd17ce Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 8 Jun 2020 15:37:21 -0400 Subject: gnu: opensmtpd: Patch bug in 'smtpctl encrypt'. * gnu/packages/mail.scm (opensmtpd)[phases]{fix-smtpctl-encrypt-bug}: New phase. --- gnu/packages/mail.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/mail.scm') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 8337bc7808..0c683f0c92 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -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 _ -- cgit v1.2.3