From owner-svn-ports-head@FreeBSD.ORG Tue May 14 19:12:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ED8B23D1; Tue, 14 May 2013 19:12:24 +0000 (UTC) (envelope-from stefan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id DFB42335; Tue, 14 May 2013 19:12:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4EJCOW4055557; Tue, 14 May 2013 19:12:24 GMT (envelope-from stefan@svn.freebsd.org) Received: (from stefan@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4EJCNQf055551; Tue, 14 May 2013 19:12:23 GMT (envelope-from stefan@svn.freebsd.org) Message-Id: <201305141912.r4EJCNQf055551@svn.freebsd.org> From: Stefan Walter Date: Tue, 14 May 2013 19:12:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318188 - in head/mail/p5-Mail-SPF: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2013 19:12:25 -0000 Author: stefan Date: Tue May 14 19:12:23 2013 New Revision: 318188 URL: http://svnweb.freebsd.org/changeset/ports/318188 Log: - Install 'spfquery' as 'spfquery.pl' by default, optionally keeping the original name. - Reset MAINTAINER. PR: 157107 Patch by: Jake Guffey Approved by: Koen Martens (former maintainer) Added: head/mail/p5-Mail-SPF/files/ head/mail/p5-Mail-SPF/files/extra-patch-no-spfquery (contents, props changed) head/mail/p5-Mail-SPF/files/extra-patch-spfquery-suffix (contents, props changed) Modified: head/mail/p5-Mail-SPF/Makefile head/mail/p5-Mail-SPF/pkg-descr head/mail/p5-Mail-SPF/pkg-plist Modified: head/mail/p5-Mail-SPF/Makefile ============================================================================== --- head/mail/p5-Mail-SPF/Makefile Tue May 14 19:09:12 2013 (r318187) +++ head/mail/p5-Mail-SPF/Makefile Tue May 14 19:12:23 2013 (r318188) @@ -3,13 +3,13 @@ PORTNAME= Mail-SPF PORTVERSION= 2.007 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-v${PORTVERSION} -MAINTAINER= gmc@sonologic.nl +MAINTAINER= ports@FreeBSD.org COMMENT= Reference implementation of the RFC 4408 SPF protocol RUN_DEPENDS= p5-Net-DNS-Resolver-Programmable>=0.002.1:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \ @@ -20,12 +20,11 @@ RUN_DEPENDS= p5-Net-DNS-Resolver-Program p5-URI>=1.13:${PORTSDIR}/net/p5-URI BUILD_DEPENDS:= ${RUN_DEPENDS} -CONFLICTS= libspf2-[0-9]* p5-Mail-SPF-Query-[0-9]* +CONFLICTS= p5-Mail-SPF-Query-[0-9]* PERL_MODBUILD= yes CONFIGURE_ARGS= --install_path sbin=${PREFIX}/sbin -MAN1= spfquery.1 MAN3= Mail::SPF.3 Mail::SPF::Mech::PTR.3 Mail::SPF::Mech.3 \ Mail::SPF::SenderIPAddrMech.3 Mail::SPF::MacroString.3 \ Mail::SPF::Mech::IP4.3 Mail::SPF::Mech::A.3 \ @@ -37,13 +36,38 @@ MAN3= Mail::SPF.3 Mail::SPF::Mech::PTR. Mail::SPF::Base.3 Mail::SPF::Mech::All.3 Mail::SPF::Term.3 \ Mail::SPF::v1::Record.3 Mail::SPF::Mech::Exists.3 +OPTIONS_DEFINE= SPFQUERY SPFQUERY_SUFFIX DOCS +SPFQUERY_DESC= Install spfquery command-line tool +SPFQUERY_SUFFIX_DESC=Add .pl suffix to spfquery +OPTIONS_DEFAULT=SPFQUERY SPFQUERY_SUFFIX + .include DOCSDIR= ${PREFIX}/share/doc/p5-Mail-SPF DOCS= CHANGES INSTALL LICENSE README TODO +.if ${PORT_OPTIONS:MSPFQUERY} +PLIST_SUB+= SPFQUERY="" + +.if ${PORT_OPTIONS:MSPFQUERY_SUFFIX} +PLIST_SUB+= SPFQUERY_SUFFIX=".pl" +MAN1+= spfquery.pl.1 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-spfquery-suffix +post-extract: + ${MV} ${WRKSRC}/bin/spfquery ${WRKSRC}/bin/spfquery.pl +.else +PLIST_SUB+= SPFQUERY_SUFFIX="" +MAN1+= spfquery.1 +CONFLICTS+= libspf2-[0-9]* +.endif + +.else +PLIST_SUB+= SPFQUERY="@comment " +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-no-spfquery +.endif + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif Added: head/mail/p5-Mail-SPF/files/extra-patch-no-spfquery ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/p5-Mail-SPF/files/extra-patch-no-spfquery Tue May 14 19:12:23 2013 (r318188) @@ -0,0 +1,33 @@ +diff -Naur orig/Build.PL Build.PL +--- orig/Build.PL 2009-10-31 23:16:14.000000000 +0100 ++++ Build.PL 2011-05-24 19:27:19.000000000 +0200 +@@ -66,7 +66,6 @@ + => 'v0.002.1', + }, + script_files => [ +- 'bin/spfquery' + ], + install_path => { + 'sbin' => '/usr/sbin' +diff -Naur orig/MANIFEST MANIFEST +--- orig/MANIFEST 2009-10-31 23:16:14.000000000 +0100 ++++ MANIFEST 2011-05-24 19:26:56.000000000 +0200 +@@ -1,4 +1,3 @@ +-bin/spfquery + Build.PL + CHANGES + debian/changelog +diff -Naur orig/README README +--- orig/README 2009-10-31 23:16:14.000000000 +0100 ++++ README 2011-05-24 19:27:05.000000000 +0200 +@@ -12,9 +12,8 @@ + This release of Mail::SPF fully conforms to RFC 4408 and passes the 2008.08 + release of the official test-suite . + +-The Mail::SPF source package includes the following additional tools: ++The Mail::SPF source package includes the following additional tool: + +- * spfquery: A command-line tool for performing SPF checks. + * spfd: A daemon for services that perform SPF checks frequently. + + Mail::SPF is not your mother! Added: head/mail/p5-Mail-SPF/files/extra-patch-spfquery-suffix ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/p5-Mail-SPF/files/extra-patch-spfquery-suffix Tue May 14 19:12:23 2013 (r318188) @@ -0,0 +1,35 @@ +diff -Naur orig/Build.PL Build.PL +--- orig/Build.PL 2009-10-31 23:16:14.000000000 +0100 ++++ Build.PL 2011-05-24 19:40:10.000000000 +0200 +@@ -66,7 +66,7 @@ + => 'v0.002.1', + }, + script_files => [ +- 'bin/spfquery' ++ 'bin/spfquery.pl' + ], + install_path => { + 'sbin' => '/usr/sbin' +diff -Naur orig/MANIFEST MANIFEST +--- orig/MANIFEST 2009-10-31 23:16:14.000000000 +0100 ++++ MANIFEST 2011-05-24 19:40:36.000000000 +0200 +@@ -1,4 +1,4 @@ +-bin/spfquery ++bin/spfquery.pl + Build.PL + CHANGES + debian/changelog +diff -Naur orig/README README +--- orig/README 2009-10-31 23:16:14.000000000 +0100 ++++ README 2011-05-24 19:40:54.000000000 +0200 +@@ -14,8 +14,8 @@ + + The Mail::SPF source package includes the following additional tools: + +- * spfquery: A command-line tool for performing SPF checks. +- * spfd: A daemon for services that perform SPF checks frequently. ++ * spfquery.pl: A command-line tool for performing SPF checks. ++ * spfd: A daemon for services that perform SPF checks frequently. + + Mail::SPF is not your mother! + ----------------------------- Modified: head/mail/p5-Mail-SPF/pkg-descr ============================================================================== --- head/mail/p5-Mail-SPF/pkg-descr Tue May 14 19:09:12 2013 (r318187) +++ head/mail/p5-Mail-SPF/pkg-descr Tue May 14 19:12:23 2013 (r318188) @@ -9,4 +9,4 @@ The Mail::SPF source package includes th * spfquery: A command-line tool for performing SPF checks. * spfd: A daemon for services that perform SPF checks frequently. -WWW: http://www.openspf.org/ +WWW: http://www.openspf.org/ Modified: head/mail/p5-Mail-SPF/pkg-plist ============================================================================== --- head/mail/p5-Mail-SPF/pkg-plist Tue May 14 19:09:12 2013 (r318187) +++ head/mail/p5-Mail-SPF/pkg-plist Tue May 14 19:12:23 2013 (r318188) @@ -1,4 +1,4 @@ -bin/spfquery +%%SPFQUERY%%bin/spfquery%%SPFQUERY_SUFFIX%% sbin/spfd %%SITE_PERL%%/Mail/SPF.pm %%SITE_PERL%%/Mail/SPF/MacroString.pm