Index: head/mail/opendmarc/Makefile =================================================================== --- head/mail/opendmarc/Makefile (revision 512092) +++ head/mail/opendmarc/Makefile (revision 512093) @@ -1,61 +1,61 @@ # Created by: Jaap Akkerhuis # $FreeBSD$ PORTNAME= opendmarc PORTVERSION= 1.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME} \ SF/${PORTNAME}/Previous%20Releases MAINTAINER= freebsd@gushi.org COMMENT= DMARC library and milter implementation LICENSE= BSD3CLAUSE SENDMAIL LICENSE_COMB= multi RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \ p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>=0:databases/p5-DBD-mysql \ p5-HTTP-Message>=0:www/p5-HTTP-Message 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= libtool perl5 shebangfix USE_LDCONFIG= yes USE_RC_SUBR= opendmarc GNU_CONFIGURE= yes OPTIONS_DEFINE= SPF DOCS OPTIONS_DEFAULT= SPF SPF_DESC= Enable support for SPF record checking SPF_LIB_DEPENDS= libspf2.so:mail/libspf2 SPF_CONFIGURE_ON= --with-spf \ --with-spf2-include=${LOCALBASE}/include/spf2 \ --with-spf2-lib=${LOCALBASE}/lib SHEBANG_FILES= reports/opendmarc-expire.in \ reports/opendmarc-import.in \ reports/opendmarc-params.in \ reports/opendmarc-reports.in PORTDOCS= * .include .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" CONFIGURE_ARGS+= --with-milter=${MILTERBASE} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail ${INSTALL_DATA} \ ${WRKSRC}/opendmarc/opendmarc.conf.sample ${STAGEDIR}${PREFIX}/etc/mail @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendmarc.so.2 .include Index: head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c =================================================================== --- head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c (nonexistent) +++ head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c (revision 512093) @@ -0,0 +1,10 @@ +--- 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 ", "blah.com"}, ++ /* 13 */ {"blah.com>", "blah.com"}, + {NULL, NULL}, + }; + u_char dbuf[256]; Property changes on: head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/opendmarc/files/patch-opendmarc_opendmarc.c =================================================================== --- head/mail/opendmarc/files/patch-opendmarc_opendmarc.c (nonexistent) +++ head/mail/opendmarc/files/patch-opendmarc_opendmarc.c (revision 512093) @@ -0,0 +1,11 @@ +--- 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) Property changes on: head/mail/opendmarc/files/patch-opendmarc_opendmarc.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property