git: a165b77d33e5 - main - mail/p5-Mail-SPF: Update to 3.20240206

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 12:53:16 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a165b77d33e5a4beec045e16fe761623f5b079ca

commit a165b77d33e5a4beec045e16fe761623f5b079ca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-18 12:48:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-18 12:48:19 +0000

    mail/p5-Mail-SPF: Update to 3.20240206
    
    - Convert REINPLACE_CMD to patch files
    
    Changes:        https://metacpan.org/dist/Mail-SPF/changes
---
 mail/p5-Mail-SPF/Makefile                | 19 +++++++------------
 mail/p5-Mail-SPF/distinfo                |  5 +++--
 mail/p5-Mail-SPF/files/patch-MANIFEST    | 13 +++++++++++++
 mail/p5-Mail-SPF/files/patch-Makefile.PL | 13 +++++++++++++
 mail/p5-Mail-SPF/pkg-plist               |  3 ++-
 5 files changed, 38 insertions(+), 15 deletions(-)

diff --git a/mail/p5-Mail-SPF/Makefile b/mail/p5-Mail-SPF/Makefile
index b7e04d9db44f..832fdbda696f 100644
--- a/mail/p5-Mail-SPF/Makefile
+++ b/mail/p5-Mail-SPF/Makefile
@@ -1,7 +1,5 @@
 PORTNAME=	Mail-SPF
-PORTVERSION=	2.9.0
-DISTVERSIONPREFIX=	v
-PORTREVISION=	5
+PORTVERSION=	3.20240206
 CATEGORIES=	mail perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -15,23 +13,20 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	p5-Error>=0:lang/p5-Error \
-		p5-Net-DNS>=0.62:dns/p5-Net-DNS \
-		p5-Net-DNS-Resolver-Programmable>=0.003:dns/p5-Net-DNS-Resolver-Programmable \
-		p5-NetAddr-IP>=4:net-mgmt/p5-NetAddr-IP \
+		p5-Net-DNS>=0:dns/p5-Net-DNS \
+		p5-NetAddr-IP>=0:net-mgmt/p5-NetAddr-IP \
 		p5-URI>=1.13:net/p5-URI
-TEST_DEPENDS=	p5-Test-Pod>=1:devel/p5-Test-Pod
+TEST_DEPENDS=	p5-Net-DNS-Resolver-Programmable>=0:dns/p5-Net-DNS-Resolver-Programmable
 
 USES=		perl5 shebangfix
-USE_PERL5=	modbuild
+USE_PERL5=	configure
 
-CONFIGURE_ARGS=	--install_path sbin=${PREFIX}/sbin
 NO_ARCH=	yes
 
-SHEBANG_FILES=	bin/spfquery sbin/spfd
+SHEBANG_FILES=	bin/spfd bin/spfquery
 
 post-patch:
-	@${MV} ${WRKSRC}/sbin/spfd ${WRKSRC}/sbin/spfd.pl
+	@${MV} ${WRKSRC}/bin/spfd ${WRKSRC}/bin/spfd.pl
 	@${MV} ${WRKSRC}/bin/spfquery ${WRKSRC}/bin/spfquery.pl
-	@${REINPLACE_CMD} -e 's|spfd|&.pl|; s|spfquery|&.pl|' ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST ${WRKSRC}/README
 
 .include <bsd.port.mk>
diff --git a/mail/p5-Mail-SPF/distinfo b/mail/p5-Mail-SPF/distinfo
index 3137bf91df98..8a7ffd229736 100644
--- a/mail/p5-Mail-SPF/distinfo
+++ b/mail/p5-Mail-SPF/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Mail-SPF-v2.9.0.tar.gz) = 61cb5915f1c7acc7a931ffc1bfc1291bdfac555e2a46eb2391b995ea9ecb6162
-SIZE (Mail-SPF-v2.9.0.tar.gz) = 103834
+TIMESTAMP = 1713033324
+SHA256 (Mail-SPF-3.20240206.tar.gz) = 3d2fc3e8ac9875e8c22dda9f4663bfa467dedcf2ff691d89ff082e1958206045
+SIZE (Mail-SPF-3.20240206.tar.gz) = 76892
diff --git a/mail/p5-Mail-SPF/files/patch-MANIFEST b/mail/p5-Mail-SPF/files/patch-MANIFEST
new file mode 100644
index 000000000000..4b3bd7cf9283
--- /dev/null
+++ b/mail/p5-Mail-SPF/files/patch-MANIFEST
@@ -0,0 +1,13 @@
+--- MANIFEST.orig	2024-02-06 02:12:51 UTC
++++ MANIFEST
+@@ -7,8 +7,8 @@ TODO
+ Makefile.PL
+ README
+ TODO
+-bin/spfd
+-bin/spfquery
++bin/spfd.pl
++bin/spfquery.pl
+ debian/changelog
+ debian/compat
+ debian/control
diff --git a/mail/p5-Mail-SPF/files/patch-Makefile.PL b/mail/p5-Mail-SPF/files/patch-Makefile.PL
new file mode 100644
index 000000000000..458491ca33d2
--- /dev/null
+++ b/mail/p5-Mail-SPF/files/patch-Makefile.PL
@@ -0,0 +1,13 @@
+--- Makefile.PL.orig	2024-02-06 02:12:51 UTC
++++ Makefile.PL
+@@ -14,8 +14,8 @@ my %WriteMakefileArgs = (
+   },
+   "DISTNAME" => "Mail-SPF",
+   "EXE_FILES" => [
+-    "bin/spfd",
+-    "bin/spfquery"
++    "bin/spfd.pl",
++    "bin/spfquery.pl"
+   ],
+   "LICENSE" => "bsd",
+   "NAME" => "Mail::SPF",
diff --git a/mail/p5-Mail-SPF/pkg-plist b/mail/p5-Mail-SPF/pkg-plist
index 56e783793800..6e8e9099abf4 100644
--- a/mail/p5-Mail-SPF/pkg-plist
+++ b/mail/p5-Mail-SPF/pkg-plist
@@ -1,3 +1,4 @@
+bin/spfd.pl
 bin/spfquery.pl
 %%SITE_PERL%%/Mail/SPF.pm
 %%SITE_PERL%%/Mail/SPF/Base.pm
@@ -24,6 +25,7 @@ bin/spfquery.pl
 %%SITE_PERL%%/Mail/SPF/Util.pm
 %%SITE_PERL%%/Mail/SPF/v1/Record.pm
 %%SITE_PERL%%/Mail/SPF/v2/Record.pm
+%%PERL5_MAN1%%/spfd.pl.1.gz
 %%PERL5_MAN1%%/spfquery.pl.1.gz
 %%PERL5_MAN3%%/Mail::SPF.3.gz
 %%PERL5_MAN3%%/Mail::SPF::Base.3.gz
@@ -49,4 +51,3 @@ bin/spfquery.pl
 %%PERL5_MAN3%%/Mail::SPF::Util.3.gz
 %%PERL5_MAN3%%/Mail::SPF::v1::Record.3.gz
 %%PERL5_MAN3%%/Mail::SPF::v2::Record.3.gz
-sbin/spfd.pl