git: 18a2b19bda6a - main - security/p5-Crypt-OpenPGP: Fix RUN_DEPENDS and TEST_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 05:32:33 UTC
The branch main has been updated by sunpoet:

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

commit 18a2b19bda6a78bc24e65b8a539589f442d945b9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:56:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 05:26:24 +0000

    security/p5-Crypt-OpenPGP: Fix RUN_DEPENDS and TEST_DEPENDS
    
    - Add LICENSE
    - Update version requirement of RUN_DEPENDS
    - Sort RUN_DEPENDS
    - Bump PORTREVISION for dependency change
    
    Fixes:          7bd8577699d52e0f91cd4925dc3bca81f9191392
---
 security/p5-Crypt-OpenPGP/Makefile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/security/p5-Crypt-OpenPGP/Makefile b/security/p5-Crypt-OpenPGP/Makefile
index caed148f7a2b..e80c5d5080e9 100644
--- a/security/p5-Crypt-OpenPGP/Makefile
+++ b/security/p5-Crypt-OpenPGP/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	Crypt-OpenPGP
 PORTVERSION=	1.15
+PORTREVISION=	1
 CATEGORIES=	security perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -8,22 +9,26 @@ MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Pure-Perl OpenPGP-compatible PGP implementation
 WWW=		https://metacpan.org/release/Crypt-OpenPGP
 
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv1+ =	${WRKSRC}/LICENSE
+
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	p5-Alt-Crypt-RSA-BigInt>=0:security/p5-Alt-Crypt-RSA-BigInt \
+		p5-Bytes-Random-Secure>=0:security/p5-Bytes-Random-Secure \
 		p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \
 		p5-Crypt-CAST5_PP>=0:security/p5-Crypt-CAST5_PP \
 		p5-Crypt-DES_EDE3>=0:security/p5-Crypt-DES_EDE3 \
-		p5-Crypt-DSA>=0:security/p5-Crypt-DSA \
+		p5-Crypt-DSA>=1.17:security/p5-Crypt-DSA \
 		p5-Crypt-IDEA>=0:security/p5-Crypt-IDEA \
+		p5-Crypt-RIPEMD160>=0.05:security/p5-Crypt-RIPEMD160 \
 		p5-Crypt-Rijndael>=0:security/p5-Crypt-Rijndael \
-		p5-Crypt-RIPEMD160>=0:security/p5-Crypt-RIPEMD160 \
 		p5-Crypt-Twofish>=0:security/p5-Crypt-Twofish \
 		p5-Data-Buffer>=0.04:misc/p5-Data-Buffer \
 		p5-File-HomeDir>=0:devel/p5-File-HomeDir \
 		p5-libwww>=0:www/p5-libwww \
 		p5-URI>=0:net/p5-URI
-TEST_DEPENDS=	p5-Crypt-Random>=0:security/p5-Crypt-Random \
-		p5-Test-Exception>=0:devel/p5-Test-Exception
+TEST_DEPENDS=	p5-Test-Exception>=0:devel/p5-Test-Exception
 
 USES=		perl5
 USE_PERL5=	configure