Update to 1.69

- New upstream release 1.69
  - Testing with OpenSSL 1.0.2, 1.0.2a OK
  - Completed LibreSSL compatibility
  - Improved compatibility with OpenSSL 1.0.2a
  - Added the X509_check_* functions introduced in OpenSSL 1.0.2
  - Added support for X509_V_FLAG_TRUSTED_FIRST constant
  - Allow get_keyblock_size to work correctly with OpenSSL 1.0.1 onwards
This commit is contained in:
Paul Howarth 2015-06-07 17:04:32 +01:00
parent 0af7e542db
commit 0c25d41b92
3 changed files with 12 additions and 47 deletions

View File

@ -1,40 +0,0 @@
Index: SSLeay.xs
===================================================================
--- SSLeay.xs (revision 430)
+++ SSLeay.xs (working copy)
@@ -1413,6 +1413,9 @@
#endif
#endif
+#ifndef OPENSSL_NO_SSL3
+#if OPENSSL_VERSION_NUMBER < 0x10002000L
+
SSL_CTX *
SSL_CTX_v3_new()
CODE:
@@ -1420,6 +1423,9 @@
OUTPUT:
RETVAL
+#endif
+#endif
+
SSL_CTX *
SSL_CTX_v23_new()
CODE:
@@ -3762,9 +3768,15 @@
#endif
#endif
+#ifndef OPENSSL_NO_SSL3
+#if OPENSSL_VERSION_NUMBER < 0x10002000L
+
const SSL_METHOD *
SSLv3_method()
+#endif
+#endif
+
const SSL_METHOD *
TLSv1_method()

View File

@ -2,14 +2,13 @@
%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
Name: perl-Net-SSLeay
Version: 1.68
Release: 3%{?dist}
Version: 1.69
Release: 1%{?dist}
Summary: Perl extension for using OpenSSL
Group: Development/Libraries
License: Artistic 2.0
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.68-revert-rt101484.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: openssl, openssl-devel
# =========== Module Build ===========================
@ -52,9 +51,6 @@ so you can write servers or clients for more complicated applications.
%prep
%setup -q -n Net-SSLeay-%{version}
# SSLv3_method not dropped in OpenSSL 1.0.2, so revert that change (#1222521)
%patch0 -R
# Fix permissions in examples to avoid bogus doc-file dependencies
chmod -c 644 examples/*
@ -105,6 +101,15 @@ rm -rf %{buildroot}
%{_mandir}/man3/Net::SSLeay::Handle.3*
%changelog
* Sun Jun 7 2015 Paul Howarth <paul@city-fan.org> - 1.69-1
- Update to 1.69
- Testing with OpenSSL 1.0.2, 1.0.2a OK
- Completed LibreSSL compatibility
- Improved compatibility with OpenSSL 1.0.2a
- Added the X509_check_* functions introduced in OpenSSL 1.0.2
- Added support for X509_V_FLAG_TRUSTED_FIRST constant
- Allow get_keyblock_size to work correctly with OpenSSL 1.0.1 onwards
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.68-3
- Perl 5.22 rebuild

View File

@ -1 +1 @@
2db2445eb072b6ecf8a1a79c9ed3e4de Net-SSLeay-1.68.tar.gz
dc5898c227198bd0cd9a7c66279a5c7c Net-SSLeay-1.69.tar.gz