Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 11:17:15 +0000 (UTC)
From:      Bartek Rutkowski <robak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369812 - head/mail/opendmarc
Message-ID:  <201410021117.s92BHFP0017241@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: robak
Date: Thu Oct  2 11:17:14 2014
New Revision: 369812
URL: https://svnweb.freebsd.org/changeset/ports/369812
QAT: https://qat.redports.org/buildarchive/r369812/

Log:
  mail/opendmarc: add SPF option
  
  PR:		192999
  Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk>
  Reviewed by:	maintainer
  Approved by:	mentors (implicit)

Modified:
  head/mail/opendmarc/Makefile

Modified: head/mail/opendmarc/Makefile
==============================================================================
--- head/mail/opendmarc/Makefile	Thu Oct  2 11:10:12 2014	(r369811)
+++ head/mail/opendmarc/Makefile	Thu Oct  2 11:17:14 2014	(r369812)
@@ -3,6 +3,7 @@
 
 PORTNAME=	opendmarc
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	mail security
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	${PORTNAME} \
@@ -32,6 +33,18 @@ GNU_CONFIGURE=		yes
 
 PORTDOCS=	*
 
+OPTIONS_DEFINE=	SPF
+OPTIONS_DEFAULT=	SPF
+SPF_DESC=	Include direct SPF checking support
+
+SPF_BUILD_DEPENDS+=	libspf2>=1.2.5:${PORTSDIR}/mail/libspf2
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSPF}
+CONFIGURE_ARGS+=	--with-spf --with-spf2-include=${LOCALBASE}/include/spf2 --with-spf2-lib=${LOCALBASE}/lib
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
 	${INSTALL_DATA} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410021117.s92BHFP0017241>