git: 8b877830e9c5 - main - security/p5-Crypt-CBC: update to 3.07

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Tue, 29 Jul 2025 19:49:26 UTC
The branch main has been updated by rodrigo:

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

commit 8b877830e9c505a50581b1573a8f15a8bde68adb
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-07-29 19:40:33 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-07-29 19:44:47 +0000

    security/p5-Crypt-CBC: update to 3.07
    
    Major changes:
        * Fix CVE-2025-2814 by using Crypt::URandom
        * Fixed bug involving manually-specified key not being used in some circumstances
        * Fix decryption of ciphertext created with 'header' => 'randomiv'
        * Fixed bug in which manually-specified key and -pkdf=>"none" was not having effect
    
    Full changelog: https://metacpan.org/dist/Crypt-CBC/changes
    
    Security:       CVE-2025-2814
---
 security/p5-Crypt-CBC/Makefile | 11 ++++++++++-
 security/p5-Crypt-CBC/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/security/p5-Crypt-CBC/Makefile b/security/p5-Crypt-CBC/Makefile
index 51915e4a1485..886b6e474243 100644
--- a/security/p5-Crypt-CBC/Makefile
+++ b/security/p5-Crypt-CBC/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	Crypt-CBC
-PORTVERSION=	3.04
+PORTVERSION=	3.07
 CATEGORIES=	security perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -12,8 +12,17 @@ LICENSE=	ART10
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	p5-Crypt-PBKDF2>=0:security/p5-Crypt-PBKDF2 \
+		p5-Crypt-URandom>=0:security/p5-Crypt-URandom \
 		p5-CryptX>=0:security/p5-CryptX
 
+TEST_DEPENDS=	p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \
+		p5-Crypt-Blowfish_PP>=0:security/p5-Crypt-Blowfish_PP \
+		p5-Crypt-CAST5>=0:security/p5-Crypt-CAST5 \
+		p5-Crypt-DES>=0:security/p5-Crypt-DES \
+		p5-Crypt-IDEA>=0:security/p5-Crypt-IDEA \
+		p5-Crypt-Rijndael>=0:security/p5-Crypt-Rijndael \
+		p5-Math-Int128>=0:math/p5-Math-Int128
+
 USES=		perl5
 USE_PERL5=	configure
 
diff --git a/security/p5-Crypt-CBC/distinfo b/security/p5-Crypt-CBC/distinfo
index 70303ae5e906..986174cd21d8 100644
--- a/security/p5-Crypt-CBC/distinfo
+++ b/security/p5-Crypt-CBC/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622214090
-SHA256 (Crypt-CBC-3.04.tar.gz) = 4026c57d0dbf6496c0d561a26f161b763d3b8edf351139c073492e21b5fbce07
-SIZE (Crypt-CBC-3.04.tar.gz) = 40237
+TIMESTAMP = 1753816428
+SHA256 (Crypt-CBC-3.07.tar.gz) = f4ddfb4dd6ac5013df8341bfa734d9c9ee0f10e2e71215ec8fe5bf780b7c9127
+SIZE (Crypt-CBC-3.07.tar.gz) = 52298