ports/120937: [UPDATE] mail/p5-Mail-SPF

Felippe de Meirelles Motta lippemail at gmail.com
Thu Feb 21 11:10:08 UTC 2008


>Number:         120937
>Category:       ports
>Synopsis:       [UPDATE] mail/p5-Mail-SPF
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 21 11:10:08 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Felippe de Meirelles Motta
>Release:        FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 7.0-PRERELEASE #0: Thu Jan 10 01:55:37 BRST 2008
    lippe at shire.freebsd.org:/usr/obj/usr/src/sys/GENERIC

>Description:
- Updated to v2.005
- Use CPAN macro
- Better adjust of required versions by deps
- Makefile cleanup
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Mail-SPF/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	10 Feb 2007 16:39:01 -0000	1.1
+++ Makefile	21 Feb 2008 10:57:59 -0000
@@ -6,25 +6,24 @@
 #
 
 PORTNAME=	Mail-SPF
-PORTVERSION=	2.004
+PORTVERSION=	2.005
 CATEGORIES=	mail perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	Mail
+MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
+DISTNAME=	${PORTNAME}-v${PORTVERSION}
 
 MAINTAINER=	gmc at sonologic.nl
 COMMENT=	Reference implementation of the RFC 4408 SPF protocol
 
-RUN_DEPENDS=	${SITE_PERL}/Net/DNS/Resolver/Programmable.pm:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \
-		${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
-		${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
-		${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
-		${SITE_PERL}/${PERL_ARCH}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
-		${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS=	p5-Net-DNS-Resolver-Programmable>=0.002.1:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \
+		p5-Net-DNS>=0.58:${PORTSDIR}/dns/p5-Net-DNS \
+		p5-version>0:${PORTSDIR}/devel/p5-version \
+		p5-Error>0:${PORTSDIR}/lang/p5-Error \
+		p5-NetAddr-IP>=4:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
+		p5-URI>=1.13:${PORTSDIR}/net/p5-URI
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
-PERL_MODBUILD=	yes
+PERL_MODBUILD=	5.6.0+
 CONFIGURE_ARGS=	--install_path sbin=${PREFIX}/sbin
 
 MAN1=		spfquery.1
@@ -42,13 +41,12 @@
 .include <bsd.port.pre.mk>
 
 DOCSDIR=	${PREFIX}/share/doc/p5-Mail-SPF
+DOCS=		CHANGES INSTALL LICENSE README TODO
 
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for doc in CHANGES LICENSE README TODO
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+	@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
 .endif
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Mail-SPF/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	10 Feb 2007 16:39:01 -0000	1.1
+++ distinfo	21 Feb 2008 10:57:59 -0000
@@ -1,3 +1,3 @@
-MD5 (Mail-SPF-2.004.tar.gz) = 0923798432e0f25dffc4bc6428abef6a
-SHA256 (Mail-SPF-2.004.tar.gz) = a835227941680e223a3584e4d6056b09ab48a9b2a9d09860dab09811b5c39fa7
-SIZE (Mail-SPF-2.004.tar.gz) = 69531
+MD5 (Mail-SPF-v2.005.tar.gz) = a5129d56539edf90749afacea70621ac
+SHA256 (Mail-SPF-v2.005.tar.gz) = b8ffb09c538bf4fe3b79ff45dad942879fec9c975a08243c0a59ab3e92439b8a
+SIZE (Mail-SPF-v2.005.tar.gz) = 73619
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Mail-SPF/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	10 Feb 2007 16:39:01 -0000	1.1
+++ pkg-plist	21 Feb 2008 10:57:59 -0000
@@ -26,6 +26,7 @@
 %%SITE_PERL%%/Mail/SPF/Mod/Exp.pm
 %%SITE_PERL%%/Mail/SPF/v2/Record.pm
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list