Update to 1.59

- New upstream release 1.59
  - Fixed local/30_error.t so that tests do not fail if diagnostics are enabled
  - Fixed error messages about undefined strings used with length or split
  - Improvements to configuration of OPTIMIZE flags, to prevent overriding of
    perl's expected optimization flags
  - SSL_peek() now returns openssl error code as second item when called in
    array context, same as SSL_read
  - Fixed some warnings
  - Added support for tlsv1.1 tlsv1.2 via $Net::SSLeay::ssl_version
  - Improve examples in 'Using other perl modules based on Net::SSLeay'
  - Added support for OCSP
  - Added missing t/external/ocsp.t
- Add patch to stop gcc complaining about format string usage
This commit is contained in:
Paul Howarth 2014-05-10 22:52:21 +01:00
parent 32a9e5c547
commit 8f84ff56ab
3 changed files with 34 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- SSLeay.xs
+++ SSLeay.xs
@@ -5599,7 +5599,7 @@
if (certid) OCSP_CERTID_free(certid);
if (error && !want_array) {
OCSP_BASICRESP_free(bsr);
- croak(error);
+ croak("%s",error);
}
}
if (!want_array)

View File

@ -1,14 +1,16 @@
Name: perl-Net-SSLeay
Version: 1.58
Version: 1.59
Release: 1%{?dist}
Summary: Perl extension for using OpenSSL
Group: Development/Libraries
License: OpenSSL
URL: http://search.cpan.org/dist/Net-SSLeay/
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz
Patch0: Net-SSLeay-1.59-format.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: openssl, openssl-devel
# =========== Module Build ===========================
BuildRequires: perl
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
@ -24,7 +26,7 @@ BuildRequires: perl(XSLoader)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More) >= 0.61
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Pod) >= 1.0
BuildRequires: perl(Test::Warn)
@ -46,6 +48,9 @@ so you can write servers or clients for more complicated applications.
%prep
%setup -q -n Net-SSLeay-%{version}
# Fix format string issue
%patch0
# Fix permissions in examples to avoid bogus doc-file dependencies
chmod -c 644 examples/*
@ -86,6 +91,21 @@ rm -rf %{buildroot}
%{_mandir}/man3/Net::SSLeay::Handle.3pm*
%changelog
* Sat May 10 2014 Paul Howarth <paul@city-fan.org> - 1.59-1
- Update to 1.59
- Fixed local/30_error.t so that tests do not fail if diagnostics are enabled
- Fixed error messages about undefined strings used with length or split
- Improvements to configuration of OPTIMIZE flags, to prevent overriding of
perl's expected optimization flags
- SSL_peek() now returns openssl error code as second item when called in
array context, same as SSL_read
- Fixed some warnings
- Added support for tlsv1.1 tlsv1.2 via $Net::SSLeay::ssl_version
- Improve examples in 'Using other perl modules based on Net::SSLeay'
- Added support for OCSP
- Added missing t/external/ocsp.t
- Add patch to stop gcc complaining about format string usage
* Wed Jan 15 2014 Paul Howarth <paul@city-fan.org> - 1.58-1
- Update to 1.58
- Always use size_t for strlen() return value

View File

@ -1 +1 @@
fdd09b065e46aa3482f80d7ed7044e38 Net-SSLeay-1.58.tar.gz
0fd26a4c702f0b010a05fa16ae9d33c6 Net-SSLeay-1.59.tar.gz