mail/opendmarc: Update to 1.4.2

- Update to 1.4.2
 - Change master site to github
 - Resolve CVE-2021-34555 and many other CVEs

PR:	260594
This commit is contained in:
Dan Mahoney 2021-12-24 18:29:44 +01:00 committed by Mikael Urankar
parent c3ea860692
commit 9d3c1f8ac5
5 changed files with 11 additions and 30 deletions

View File

@ -1,11 +1,9 @@
# Created by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
PORTNAME= opendmarc
PORTVERSION= 1.3.2
PORTREVISION= 2
PORTVERSION= 1.4.2
CATEGORIES= mail security
MASTER_SITES= SF/${PORTNAME} \
SF/${PORTNAME}/Previous%20Releases
MASTER_SITES= GH
MAINTAINER= freebsd@gushi.org
COMMENT= DMARC library and milter implementation
@ -18,16 +16,20 @@ RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \
p5-DBD-mysql>=0:databases/p5-DBD-mysql \
p5-HTTP-Message>=0:www/p5-HTTP-Message
USES= cpe libtool perl5 shebangfix autoreconf
LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail
LICENSE_GROUPS_SENDMAIL= FSF OSI
LICENSE_NAME_SENDMAIL= Sendmail Open Source License
LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cpe libtool perl5 shebangfix
CPE_VENDOR= trusteddomain
USE_LDCONFIG= yes
USE_RC_SUBR= opendmarc
USE_GITHUB= yes
GH_ACCOUNT= trusteddomainproject
GH_TAGNAME= rel-opendmarc-1-4-2
GH_PROJECT= OpenDMARC
GNU_CONFIGURE= yes
OPTIONS_DEFINE= SPF DOCS

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1500636334
SHA256 (opendmarc-1.3.2.tar.gz) = 213c4b01a9ff5dcdf331f7bd1dd6a382077abbf8ee9111852f2101ec917c2ffb
SIZE (opendmarc-1.3.2.tar.gz) = 593448
TIMESTAMP = 1639988466
SHA256 (trusteddomainproject-OpenDMARC-1.4.2-rel-opendmarc-1-4-2_GH0.tar.gz) = ee1dcdd158fd5fd2b16de2b86980c4a4be60a070641ca19591a713da4e4008bb
SIZE (trusteddomainproject-OpenDMARC-1.4.2-rel-opendmarc-1-4-2_GH0.tar.gz) = 426996

View File

@ -1,10 +0,0 @@
--- libopendmarc/tests/test_finddomain.c.orig 2012-10-25 15:38:55 UTC
+++ libopendmarc/tests/test_finddomain.c
@@ -23,6 +23,7 @@ main(int argc, char **argv)
/* 11 */ {"(,) joe@joe.com", "joe.com"},
/* 12 */ {"\"( bob@bob.com)\" joe@joe.com", "joe.com"},
/* 12 */ {"From: Davide D'Marco <user@blah.com>", "blah.com"},
+ /* 13 */ {"blah.com>", "blah.com"},
{NULL, NULL},
};
u_char dbuf[256];

View File

@ -1,11 +0,0 @@
--- opendmarc/opendmarc.c.orig 2017-03-04 13:28:39 UTC
+++ opendmarc/opendmarc.c
@@ -2193,7 +2193,7 @@ mlfi_eom(SMFICTX *ctx)
strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1);
ostatus = opendmarc_policy_store_from_domain(cc->cctx_dmarc,
- from->hdr_value);
+ dfc->mctx_fromdomain);
if (ostatus != DMARC_PARSE_OKAY)
{
if (conf->conf_dolog)

View File

@ -3,7 +3,7 @@ include/opendmarc/dmarc.h
lib/libopendmarc.a
lib/libopendmarc.so
lib/libopendmarc.so.2
lib/libopendmarc.so.2.0.2
lib/libopendmarc.so.2.0.3
man/man5/opendmarc.conf.5.gz
man/man8/opendmarc-check.8.gz
man/man8/opendmarc-expire.8.gz