From owner-svn-ports-all@freebsd.org Wed Aug 14 18:02:15 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1AC2B4AF6; Wed, 14 Aug 2019 18:02:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467y8l4Mrvz3Cbh; Wed, 14 Aug 2019 18:02:15 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 792223E29; Wed, 14 Aug 2019 18:02:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7EI2FOV088905; Wed, 14 Aug 2019 18:02:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7EI2FmH088903; Wed, 14 Aug 2019 18:02:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201908141802.x7EI2FmH088903@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 14 Aug 2019 18:02:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508957 - in head/mail/p5-Mail-SPF: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/mail/p5-Mail-SPF: . files X-SVN-Commit-Revision: 508957 X-SVN-Commit-Repository: ports 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.29 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: Wed, 14 Aug 2019 18:02:15 -0000 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/ + ^