[packages/w3c-libwww] - rel 18; support openssl with sslv2 disabled
arekm
arekm at pld-linux.org
Tue Oct 21 07:16:27 CEST 2014
commit 2c7585720a166e99eec6f3dc4d8fccb0937596fa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 21 07:16:23 2014 +0200
- rel 18; support openssl with sslv2 disabled
w3c-libwww-nooldssl.patch | 14 ++++++++++++++
w3c-libwww.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/w3c-libwww.spec b/w3c-libwww.spec
index 633bf34..c02ff7b 100644
--- a/w3c-libwww.spec
+++ b/w3c-libwww.spec
@@ -5,7 +5,7 @@ Summary(ru.UTF-8): HTTP-библиотека общеупотребительн
Summary(uk.UTF-8): HTTP-бібліотека загальновживаного коду
Name: w3c-libwww
Version: 5.4.0
-Release: 17
+Release: 18
License: W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
Group: Libraries
Source0: http://www.w3.org/Library/Distribution/%{name}-%{version}.tgz
@@ -16,6 +16,7 @@ Patch2: %{name}-amfix.patch
Patch3: %{name}-link.patch
Patch4: %{name}-system-libmd5.patch
Patch5: %{name}-ssl.patch
+Patch6: %{name}-nooldssl.patch
URL: http://www.w3.org/Library/
BuildRequires: autoconf
BuildRequires: automake
@@ -185,6 +186,7 @@ POST, etc.).
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%build
%{__libtoolize}
diff --git a/w3c-libwww-nooldssl.patch b/w3c-libwww-nooldssl.patch
new file mode 100644
index 0000000..1381129
--- /dev/null
+++ b/w3c-libwww-nooldssl.patch
@@ -0,0 +1,14 @@
+--- w3c-libwww-5.4.0/Library/src/SSL/HTSSL.c~ 2000-08-03 18:17:20.000000000 +0200
++++ w3c-libwww-5.4.0/Library/src/SSL/HTSSL.c 2014-10-21 07:14:26.937486496 +0200
+@@ -187,9 +187,11 @@
+
+ /* select the protocol method */
+ switch (ssl_prot_method) {
++#ifndef OPENSSL_NO_SSL2
+ case HTSSL_V2:
+ meth = SSLv2_client_method();
+ break;
++#endif
+ case HTSSL_V3:
+ meth = SSLv3_client_method();
+ break;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/w3c-libwww.git/commitdiff/2c7585720a166e99eec6f3dc4d8fccb0937596fa
More information about the pld-cvs-commit
mailing list