[perl-Net-SSLeay] Update to 1.59
Paul Howarth
pghmcfc at fedoraproject.org
Sat May 10 21:54:31 UTC 2014
commit 8f84ff56abe37d46ae1a449ab9d46fe936efde46
Author: Paul Howarth <paul at city-fan.org>
Date: Sat May 10 22:52:21 2014 +0100
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
Net-SSLeay-1.59-format.patch | 11 +++++++++++
perl-Net-SSLeay.spec | 24 ++++++++++++++++++++++--
sources | 2 +-
3 files changed, 34 insertions(+), 3 deletions(-)
---
diff --git a/Net-SSLeay-1.59-format.patch b/Net-SSLeay-1.59-format.patch
new file mode 100644
index 0000000..ceb3636
--- /dev/null
+++ b/Net-SSLeay-1.59-format.patch
@@ -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)
diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec
index 39543dd..1e8f79f 100644
--- a/perl-Net-SSLeay.spec
+++ b/perl-Net-SSLeay.spec
@@ -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 at 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 at city-fan.org> - 1.58-1
- Update to 1.58
- Always use size_t for strlen() return value
diff --git a/sources b/sources
index 77453d7..4794a55 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fdd09b065e46aa3482f80d7ed7044e38 Net-SSLeay-1.58.tar.gz
+0fd26a4c702f0b010a05fa16ae9d33c6 Net-SSLeay-1.59.tar.gz
More information about the scm-commits
mailing list