svn commit: r508957 - in head/mail/p5-Mail-SPF: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Aug 14 18:02:15 UTC 2019


Author: sunpoet
Date: Wed Aug 14 18:02:14 2019
New Revision: 508957
URL: https://svnweb.freebsd.org/changeset/ports/508957

Log:
  Fix parsing SPF records
  
  - Bump PORTREVISION for package change
  
  PR:		239855
  Submitted by:	grembo
  Reference:	http://debian.2.n7.nabble.com/Bug-461709-usr-sbin-spamd-spf-lookup-failed-Can-t-locate-object-method-quot-new-quot-via-package-quo-td492057.html
  		https://rt.cpan.org/Public/Bug/Display.html?id=130299

Added:
  head/mail/p5-Mail-SPF/files/
  head/mail/p5-Mail-SPF/files/patch-lib-Mail-SPF-Record.pm   (contents, props changed)
Modified:
  head/mail/p5-Mail-SPF/Makefile

Modified: head/mail/p5-Mail-SPF/Makefile
==============================================================================
--- head/mail/p5-Mail-SPF/Makefile	Wed Aug 14 18:02:09 2019	(r508956)
+++ head/mail/p5-Mail-SPF/Makefile	Wed Aug 14 18:02:14 2019	(r508957)
@@ -4,7 +4,7 @@
 PORTNAME=	Mail-SPF
 PORTVERSION=	2.9.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	mail perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -23,10 +23,11 @@ RUN_DEPENDS=	p5-Error>=0:lang/p5-Error \
 		p5-URI>=1.13:net/p5-URI
 TEST_DEPENDS=	p5-Test-Pod>=1:devel/p5-Test-Pod
 
+USES=		perl5 shebangfix
+USE_PERL5=	modbuild
+
 CONFIGURE_ARGS=	--install_path sbin=${PREFIX}/sbin
 NO_ARCH=	yes
-USE_PERL5=	modbuild
-USES=		perl5 shebangfix
 
 SHEBANG_FILES=	bin/spfquery sbin/spfd
 

Added: head/mail/p5-Mail-SPF/files/patch-lib-Mail-SPF-Record.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/p5-Mail-SPF/files/patch-lib-Mail-SPF-Record.pm	Wed Aug 14 18:02:14 2019	(r508957)
@@ -0,0 +1,10 @@
+--- lib/Mail/SPF/Record.pm.orig	2013-07-22 03:52:32 UTC
++++ lib/Mail/SPF/Record.pm
+@@ -206,6 +206,7 @@ sub parse_version_tag {
+ 
+ sub parse_term {
+     my ($self) = @_;
++    require Mail::SPF::Mech;
+     if (
+         $self->{parse_text} =~ s/
+             ^


More information about the svn-ports-all mailing list