Created attachment 211752 [details] mail/exim: update sa-exim plugin to 4.2.1 mail/exim: update sa-exim plugin to 4.2.1, unbreak build for exim-sa-exim slave port (files -> ${FILESDIR}), some adjustments to apply extrapatches Incorporate some patches from Debian: 1) api-limitations.patch: Exim now exports only the symbols that are part of the official API 2) remove-header-crs.patch: Delete carriage returns from header lines. When spamd gets a message with CRLF line endings, which it will when the spool file is in wire format, it will return a message with CRLF line endings, including the header. We will need to strip out the CRs. 3)spamc-args.patch: Changes related to the arguments sent to spamc, namely thst we don't pass -d (SAspamcHost), -p (SAspamcPort), or -U (SAspamcSockPath) if those options aren't set, as well as the new parameter -u (SAspamcUser). 4)sprintf_no_format_string.diff: Do not invoke printf-like function without parameter. With exim 4.93, string_sprintf() requires at least two arguments
A commit references this bug: Author: fluffy Date: Mon Feb 24 08:43:47 UTC 2020 New revision: 526957 URL: https://svnweb.freebsd.org/changeset/ports/526957 Log: mail/exim: update sa-exim plugin to 4.2.1 Unbreak build for exim-sa-exim slave port (${FILESDIR} misusage) Incorporate some patches from Debian: 1) api-limitations.patch: Exim now exports only the symbols that are part of the official API 2) remove-header-crs.patch: Delete carriage returns from header lines. When spamd gets a message with CRLF line endings, which it will when the spool file is in wire format, it will return a message with CRLF line endings, including the header. We will need to strip out the CRs. 3)spamc-args.patch: Changes related to the arguments sent to spamc, namely that we don't pass -d (SAspamcHost), -p (SAspamcPort), or -U (SAspamcSockPath) if those options aren't set, as well as the new parameter -u (SAspamcUser). 4)sprintf_no_format_string.diff: Do not invoke printf-like function without parameter. With exim 4.93, string_sprintf() requires at least two arguments PR: 244223 Submitted by: fluffy Approved by: maintainer, implicit Changes: head/mail/exim/Makefile head/mail/exim/distinfo head/mail/exim/files/extra-patch-Local-sa-exim.c head/mail/exim/files/extra-patch-Local-sa-exim.conf
Committed!