Update to 1.64

- New upstream release 1.64
  - Ignore die from within eval to make tests more stable on Win32
    (CPAN RT#76147)
  - Clarify some behavior regarding hostname verfication
- Drop patch for t/dhe.t, no longer needed
This commit is contained in:
Paul Howarth 2012-04-07 10:39:51 +01:00
parent 25ec10130c
commit 126ee08d7b
3 changed files with 9 additions and 24 deletions

View File

@ -1,16 +0,0 @@
Fedora's openssl is patched to keep OPENSSL_VERSION_NUMBER stable
to give the appearance of ABI stability, which breaks tests like
this one; fortunately it's safe to roll back the version number
in a way that works with genuine 1.0.0 releases.
--- IO-Socket-SSL/t/dhe.t
+++ IO-Socket-SSL/t/dhe.t
@@ -35,7 +35,7 @@
# openssl 1.0.1(beta2) complains about the rsa key too small, unless
# we explicitly set version to tlsv1 or sslv3
# unfortunatly the workaround fails for older openssl versions :(
- (Net::SSLeay::OPENSSL_VERSION_NUMBER() >= 0x10001000)
+ (Net::SSLeay::OPENSSL_VERSION_NUMBER() >= 0x10000000)
? ( SSL_version => 'tlsv1' ):()
) || do {
notok($!);

View File

@ -1,12 +1,11 @@
Name: perl-IO-Socket-SSL
Version: 1.62
Version: 1.64
Release: 1%{?dist}
Summary: Perl library for transparent SSL
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/IO-Socket-SSL/
Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
Patch0: IO-Socket-SSL-1.58-dhe.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(Carp)
@ -33,11 +32,6 @@ mod_perl.
%prep
%setup -q -n IO-Socket-SSL-%{version}
# Need to drop back the OPENSSL_VERSION_NUMBER value in the dhe.t workaround
# because OPENSSL_VERSION_NUMBER is patched in Fedora to look like 1.0.0 beta3
# even though it's 1.0.1 beta2, which breaks the workaround
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@ -60,6 +54,13 @@ rm -rf %{buildroot}
%{_mandir}/man3/IO::Socket::SSL.3pm*
%changelog
* Sat Apr 7 2012 Paul Howarth <paul@city-fan.org> - 1.64-1
- Update to 1.64
- ignore die from within eval to make tests more stable on Win32
(CPAN RT#76147)
- clarify some behavior regarding hostname verfication
- Drop patch for t/dhe.t, no longer needed
* Wed Mar 28 2012 Paul Howarth <paul@city-fan.org> - 1.62-1
- Update to 1.62
- small fix to last version

View File

@ -1 +1 @@
a0faa586626cd67270e9a7e7410175b4 IO-Socket-SSL-1.62.tar.gz
1759c2195631fd59429761a3b512e931 IO-Socket-SSL-1.64.tar.gz