[perl-HTTP-Daemon-SSL] Adapt tests to IO::Socket::SSL 1.80
Petr Pisar
ppisar at fedoraproject.org
Tue Jul 23 07:57:21 UTC 2013
commit e8537ca894f03ec552ce7c65f672a208f537834f
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Jul 23 09:46:50 2013 +0200
Adapt tests to IO::Socket::SSL 1.80
...SL-1.04-Adapt-tests-to-IO-Socket-SSL-1.80.patch | 33 ++++++++++++++++++++
perl-HTTP-Daemon-SSL.spec | 4 ++
2 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/HTTP-Daemon-SSL-1.04-Adapt-tests-to-IO-Socket-SSL-1.80.patch b/HTTP-Daemon-SSL-1.04-Adapt-tests-to-IO-Socket-SSL-1.80.patch
new file mode 100644
index 0000000..af45e15
--- /dev/null
+++ b/HTTP-Daemon-SSL-1.04-Adapt-tests-to-IO-Socket-SSL-1.80.patch
@@ -0,0 +1,33 @@
+From effcc9840fb51102aca9369760d41309f82ffef8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Tue, 23 Jul 2013 09:51:53 +0200
+Subject: [PATCH] Adapt tests to IO::Socket::SSL 1.80
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Author: Steffen_Ullrich [...] genua.de
+<https://rt.cpan.org/Public/Bug/Display.html?id=81932>
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ t/testmodule.t | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/t/testmodule.t b/t/testmodule.t
+index d03aeef..6ca235a 100644
+--- a/t/testmodule.t
++++ b/t/testmodule.t
+@@ -59,7 +59,8 @@ my $server = new HTTP::Daemon::SSL(LocalPort => $SSL_SERVER_PORT,
+ ReuseAddr => 1,
+ SSL_verify_mode => 0x00,
+ SSL_ca_file => "certs/test-ca.pem",
+- SSL_cert_file => "certs/server-cert.pem");
++ SSL_cert_file => "certs/server-cert.pem",
++ SSL_key_file => "certs/server-key.pem");
+
+ if (!$server) {
+ print "not ok $test\n";
+--
+1.8.1.4
+
diff --git a/perl-HTTP-Daemon-SSL.spec b/perl-HTTP-Daemon-SSL.spec
index cca6f49..a9b9935 100644
--- a/perl-HTTP-Daemon-SSL.spec
+++ b/perl-HTTP-Daemon-SSL.spec
@@ -6,6 +6,8 @@ License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTTP-Daemon-SSL/
Source0: http://www.cpan.org/modules/by-module/HTTP/HTTP-Daemon-SSL-%{version}.tar.gz
+# Adapt tests to IO::Socket::SSL 1.80, CPAN RT#81932
+Patch0: HTTP-Daemon-SSL-1.04-Adapt-tests-to-IO-Socket-SSL-1.80.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -22,6 +24,7 @@ IO::Socket::SSL, so you can perform socket operations directly on it too.
%prep
%setup -q -n HTTP-Daemon-SSL-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +55,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Jul 23 2013 Petr Pisar <ppisar at redhat.com> - 1.04-12
- Perl 5.18 rebuild
+- Adapt tests to IO::Socket::SSL 1.80 (CPAN RT#81932)
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.04-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list