[packages/perl-Crypt-CBC] - updated to 3.07 (fixes CVE-2025-2814)

qboosh qboosh at pld-linux.org
Mon Sep 15 21:25:39 CEST 2025


commit 46135472065e6177d9ad8b0f682eb29fd02f0537
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Sep 15 21:28:26 2025 +0200

    - updated to 3.07 (fixes CVE-2025-2814)

 perl-Crypt-CBC.spec | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/perl-Crypt-CBC.spec b/perl-Crypt-CBC.spec
index 694f050..4d6e46d 100644
--- a/perl-Crypt-CBC.spec
+++ b/perl-Crypt-CBC.spec
@@ -1,30 +1,42 @@
 #
 # Conditional build:
-%bcond_without	tests	# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define		pdir	Crypt
 %define		pnam	CBC
 Summary:	Crypt::CBC - encrypt data with Cipher Block Chaining mode
 Summary(pl.UTF-8):	Crypt::CBC - szyfrowanie danych w trybie Cipher Block Chaining
 Name:		perl-Crypt-CBC
-Version:	2.33
+Version:	3.07
 Release:	1
-License:	Artistic
+License:	Artistic v2.0
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	3db5117d60df67e3b400fe367e716be0
+Source0:	https://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	ccd56523f2477df076ab7756825d1639
 Patch0:		%{name}-paths.patch
-URL:		http://search.cpan.org/dist/Crypt-CBC/
-BuildRequires:	perl-Digest-MD5 >= 2.00
+URL:		https://metacpan.org/dist/Crypt-CBC
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
 BuildRequires:	perl-Crypt-Blowfish
 BuildRequires:	perl-Crypt-Blowfish_PP
 BuildRequires:	perl-Crypt-DES
 BuildRequires:	perl-Crypt-CAST5
+BuildRequires:	perl-Crypt-Eksblowfish
 BuildRequires:	perl-Crypt-IDEA
+BuildRequires:	perl-Crypt-PBKDF2
 BuildRequires:	perl-Crypt-Rijndael
+BuildRequires:	perl-Crypt-URandom
+# Crypt::Cipher::AES
+BuildRequires:	perl-CryptX
+BuildRequires:	perl-Digest-MD5 >= 2.00
+BuildRequires:	perl-Digest-SHA
+%ifarch %{x8664}
+# if available
+BuildRequires:	perl-Math-Int128
+%endif
+BuildRequires:	perl-Test-Simple
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,8 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README
+%doc Changes SECURITY.md vulnerabilities.txt
 %{perl_vendorlib}/Crypt/CBC.pm
+%{perl_vendorlib}/Crypt/CBC
 %{_mandir}/man3/Crypt::CBC.3pm*
 %dir %{_examplesdir}/%{name}-%{version}
 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-CBC.git/commitdiff/46135472065e6177d9ad8b0f682eb29fd02f0537



More information about the pld-cvs-commit mailing list