Bug 244223 - mail/exim: update sa-exim plugin to 4.2.1
Summary: mail/exim: update sa-exim plugin to 4.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vsevolod Stakhov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 03:44 UTC by Dima Panov
Modified: 2020-02-24 08:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (vsevolod)


Attachments
mail/exim: update sa-exim plugin to 4.2.1 (11.35 KB, patch)
2020-02-19 03:44 UTC, Dima Panov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Panov freebsd_committer freebsd_triage 2020-02-19 03:44:04 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-02-24 08:44:43 UTC
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
Comment 2 Dima Panov freebsd_committer freebsd_triage 2020-02-24 08:54:52 UTC
Committed!