mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
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
This commit is contained in:
parent
6f449fbf1a
commit
c4119921b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508957
@ -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
|
||||
|
||||
|
10
mail/p5-Mail-SPF/files/patch-lib-Mail-SPF-Record.pm
Normal file
10
mail/p5-Mail-SPF/files/patch-lib-Mail-SPF-Record.pm
Normal file
@ -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/
|
||||
^
|
Loading…
Reference in New Issue
Block a user