git: 10f15571861a - main - security/p5-Crypt-Argon2: Update 0.022 => 0.030

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 08 Mar 2026 14:28:47 UTC
The branch main has been updated by vvd:

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

commit 10f15571861ac0d3b3ce1367e88c999a81309fd3
Author:     Sergei Vyshenski <svysh.fbsd@gmail.com>
AuthorDate: 2026-03-08 14:21:09 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-08 14:27:33 +0000

    security/p5-Crypt-Argon2: Update 0.022 => 0.030
    
    Changelog:
    https://metacpan.org/changes/release/LEONT/Crypt-Argon2-0.030
    
    - respect LICENSE change
    - switch to DIST::Build builder of perl modules
    - add artificial linking with libperl.so, to suppress error from Q/A
      tests (stage-qa)
    
    PR:     293593
---
 security/p5-Crypt-Argon2/Makefile | 17 +++++++++++++++--
 security/p5-Crypt-Argon2/distinfo |  6 +++---
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/security/p5-Crypt-Argon2/Makefile b/security/p5-Crypt-Argon2/Makefile
index e7fb211b031d..841ca9ec7ca4 100644
--- a/security/p5-Crypt-Argon2/Makefile
+++ b/security/p5-Crypt-Argon2/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	Crypt-Argon2
-DISTVERSION=	0.022
+DISTVERSION=	0.030
 CATEGORIES=	security
 MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:LEONT
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	svysh.fbsd@gmail.com
@@ -11,8 +12,20 @@ WWW=		https://metacpan.org/release/Crypt-Argon2
 LICENSE=	CC0-1.0
 LICENSE_FILE=	${WRKSRC}/README
 
+MY_DEPENDS=	p5-Pod-Coverage-TrustPod>0:devel/p5-Pod-Coverage-TrustPod \
+		p5-Test-Pod>0:devel/p5-Test-Pod \
+		p5-Test-Pod-Coverage>1.08:devel/p5-Test-Pod-Coverage
+BUILD_DEPENDS=	${MY_DEPENDS}
+RUN_DEPENDS=	${MY_DEPENDS}
+
 USES=		perl5
-USE_PERL5=	modbuild
+USE_PERL5=	distbuild
+
+_PERL_LIB=	${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE
+
+post-configure:
+	${REINPLACE_CMD} -e "s|-Wl|-Wl,-L${_PERL_LIB},-lperl|" \
+		${WRKSRC}/_build/graph
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Argon2/Argon2.so
diff --git a/security/p5-Crypt-Argon2/distinfo b/security/p5-Crypt-Argon2/distinfo
index 1f49208e93ad..5bbb25dc520c 100644
--- a/security/p5-Crypt-Argon2/distinfo
+++ b/security/p5-Crypt-Argon2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713448354
-SHA256 (Crypt-Argon2-0.022.tar.gz) = 36649230ae24898a84081428a158e3209e357ca81029e05231d640afd7d310a2
-SIZE (Crypt-Argon2-0.022.tar.gz) = 40502
+TIMESTAMP = 1772384049
+SHA256 (Crypt-Argon2-0.030.tar.gz) = 216721bcf9588513a6125ff0c17db9293998763653a4b158371bce7bd572577a
+SIZE (Crypt-Argon2-0.030.tar.gz) = 41796