!21 update version to 1.94

From: @woody2918 
Reviewed-by: @openeuler-basic 
Signed-off-by: @openeuler-basic
This commit is contained in:
openeuler-ci-bot 2024-02-01 08:45:12 +00:00 committed by Gitee
commit ffbc94c3a3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 29 deletions

Binary file not shown.

BIN
Net-SSLeay-1.94.tar.gz Normal file

Binary file not shown.

View File

@ -1,25 +0,0 @@
From e25fe9f0bc14386e9ddc0259f1789ff2b9986354 Mon Sep 17 00:00:00 2001
From: shixuantong <shixuantong@h-partners.com>
Date: Tue, 28 Jun 2022 11:52:56 +0800
Subject: [PATCH] fix Failed test CIPHER_get_version
---
t/local/43_misc_functions.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/local/43_misc_functions.t b/t/local/43_misc_functions.t
index c67df75..dbe0923 100644
--- a/t/local/43_misc_functions.t
+++ b/t/local/43_misc_functions.t
@@ -318,7 +318,7 @@ sub test_cipher_funcs
# For example: TLSv1/SSLv3, SSLv2
my $vers = Net::SSLeay::CIPHER_get_version($c);
- $vers_failed++ if length($vers) < 5;
+ $vers_failed++ if (length($vers) < 5 and $vers ne "TLCP");
# See that get_bits returns the same no matter how it's called
my $alg_bits;
--
1.8.3.1

View File

@ -1,13 +1,11 @@
Name: perl-Net-SSLeay
Version: 1.92
Release: 2
Version: 1.94
Release: 1
Summary: Perl module for using OpenSSL
License: Artistic 2.0
URL: https://metacpan.org/release/Net-SSLeay
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-%{version}.tar.gz
Patch9000: openEuler-fix-Failed-test-CIPHER_get_version.patch
# Build requires
BuildRequires: openssl-devel perl-devel perl-generators gcc bc openssl zlib-devel
# Test Suite requires
@ -47,6 +45,11 @@ make test
%doc QuickRef examples/
%changelog
* Wed Jan 31 2024 woody2918 <wudi1@uniontech.com> - 1.94-1
- update version to 1.94
- supports all stable releases of OpenSSL 3.1 and 3.2, and LibreSSL 3.5 - 3.8.
- Enhancements to the API.
* Mon Feb 6 2023 wangyuhang <wangyuhang27@huawei.com> - 1.92-2
- add buildrequire: zlib-devel