exim: add a patch from maintainer to workaround API change in opendmarc
This commit is contained in:
parent
294daf6390
commit
769283eb4e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.134 2021/05/04 13:49:04 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.135 2021/05/04 15:48:53 sthen Exp $
|
||||
|
||||
COMMENT-main = flexible mail transfer agent
|
||||
COMMENT-eximon = X11 monitor tool for Exim MTA
|
||||
@ -8,6 +8,7 @@ DISTNAME = exim-${VERSION}
|
||||
PKGNAME-main = exim-${VERSION}
|
||||
FULLPKGNAME-eximon = exim-eximon-${VERSION}
|
||||
FULLPKGPATH-eximon = ${PKGPATH},-eximon
|
||||
REVISION-main = 0
|
||||
|
||||
CATEGORIES = mail
|
||||
|
||||
|
17
mail/exim/patches/patch-src_dmarc_c
Normal file
17
mail/exim/patches/patch-src_dmarc_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_dmarc_c,v 1.1 2021/05/04 15:48:53 sthen Exp $
|
||||
|
||||
patch around opendmarc API change introduced in
|
||||
https://github.com/trusteddomainproject/OpenDMARC/commit/dbd87868f2ca9c2ef11529cd757d1cc5ab228833
|
||||
|
||||
Index: src/dmarc.c
|
||||
--- src/dmarc.c.orig
|
||||
+++ src/dmarc.c
|
||||
@@ -446,7 +446,7 @@ if (!dmarc_abort && !sender_host_authenticated)
|
||||
vs == PDKIM_VERIFY_INVALID ? DMARC_POLICY_DKIM_OUTCOME_TMPFAIL :
|
||||
DMARC_POLICY_DKIM_OUTCOME_NONE;
|
||||
libdm_status = opendmarc_policy_store_dkim(dmarc_pctx, US sig->domain,
|
||||
- dkim_result, US"");
|
||||
+ sig->selector, dkim_result, US"");
|
||||
DEBUG(D_receive)
|
||||
debug_printf("DMARC adding DKIM sender domain = %s\n", sig->domain);
|
||||
if (libdm_status != DMARC_PARSE_OKAY)
|
Loading…
Reference in New Issue
Block a user