From owner-svn-ports-all@freebsd.org Sat Feb 6 23:13:18 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AE5BAA0FC4; Sat, 6 Feb 2016 23:13:18 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04E79CCF; Sat, 6 Feb 2016 23:13:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u16NDHvj019202; Sat, 6 Feb 2016 23:13:17 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u16NDHZN019201; Sat, 6 Feb 2016 23:13:17 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201602062313.u16NDHZN019201@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Sat, 6 Feb 2016 23:13:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408319 - head/mail/opendmarc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 23:13:18 -0000 Author: matthew Date: Sat Feb 6 23:13:16 2016 New Revision: 408319 URL: https://svnweb.freebsd.org/changeset/ports/408319 Log: (1) Add USES perl5 and add RUN_DEPENDS for perl modules needed by the various perl scripts installed by this port (2) Use ${PORTSDIR}/mail/sendmail/bsd.milter.mk to link against libmilter installed by the mail/sendmail port when WITH_SENDMAIL_PORT=yes is set in /etc/make.conf or the base libmilter if WITH_SENDMAIL_BASE=yes PR: 202374 (1) Submitted by: freebsd-ports@dan.me.uk (1) matthew (2) Reviewed by: pi (1) Approved by: maintainer timeout (>14days) Modified: head/mail/opendmarc/Makefile Modified: head/mail/opendmarc/Makefile ============================================================================== --- head/mail/opendmarc/Makefile Sat Feb 6 23:11:40 2016 (r408318) +++ head/mail/opendmarc/Makefile Sat Feb 6 23:13:16 2016 (r408319) @@ -3,7 +3,7 @@ PORTNAME= opendmarc PORTVERSION= 1.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME} \ SF/${PORTNAME}/Previous%20Releases @@ -14,12 +14,16 @@ COMMENT= DMARC library and milter implem LICENSE= BSD3CLAUSE SENDMAIL LICENSE_COMB= multi +RUN_DEPENDS= p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \ + p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ + p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql + 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 shebangfix +USES= libtool perl5 shebangfix USE_LDCONFIG= yes USE_RC_SUBR= opendmarc @@ -42,10 +46,10 @@ SHEBANG_FILES= reports/opendmarc-expire. PORTDOCS= * -.if !exists( /usr/include/libmilter/mfapi.h ) -BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail -CFLAGS+= -I${LOCALBASE}/include -.endif +.include + +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" +CONFIGURE_ARGS+= --with-milter=${MILTERBASE} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail @@ -53,4 +57,4 @@ post-install: ${WRKSRC}/opendmarc/opendmarc.conf.sample ${STAGEDIR}${PREFIX}/etc/mail @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendmarc.so.2 -.include +.include