Update to 1.61

- New upstream release 1.61
  - Fixed a typo in an error message
  - Fixed a problem with building with openssl that does not support OCSP
  - Fixed some newly introduced warnings if compiled with -Wall
  - Fixed format string issue causing build failures
  - Changed calloc to Newx and free to Safefree, otherwise there might be
    problems because calloc is done from a different memory pool than free
    (depends on the build options for perl, but seen on Windows)
This commit is contained in:
Paul Howarth 2014-05-12 22:10:02 +01:00
parent 8f84ff56ab
commit dc6bbd7cd0
3 changed files with 12 additions and 17 deletions

View File

@ -1,11 +0,0 @@
--- 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,12 +1,11 @@
Name: perl-Net-SSLeay
Version: 1.59
Version: 1.61
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 ===========================
@ -48,9 +47,6 @@ 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/*
@ -91,6 +87,16 @@ rm -rf %{buildroot}
%{_mandir}/man3/Net::SSLeay::Handle.3pm*
%changelog
* Mon May 12 2014 Paul Howarth <paul@city-fan.org> - 1.61-1
- Update to 1.61
- Fixed a typo in an error message
- Fixed a problem with building with openssl that does not support OCSP
- Fixed some newly introduced warnings if compiled with -Wall
- Fixed format string issue causing build failures
- Changed calloc to Newx and free to Safefree, otherwise there might be
problems because calloc is done from a different memory pool than free
(depends on the build options for perl, but seen on Windows)
* 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

View File

@ -1 +1 @@
0fd26a4c702f0b010a05fa16ae9d33c6 Net-SSLeay-1.59.tar.gz
95f73786e0a3935232d278f8530b1895 Net-SSLeay-1.61.tar.gz