fix compatibility with OpenSSL 1.1
This commit is contained in:
parent
16ab4097a9
commit
c65c126eb4
25
lynx-2.8.9-openssl.patch
Normal file
25
lynx-2.8.9-openssl.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 778a766d5a4fc891412edfc856e439770f54bc5b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Thu, 20 Oct 2016 15:46:53 +0200
|
||||||
|
Subject: [PATCH] lynx: fix compatibility with OpenSSL 1.1
|
||||||
|
|
||||||
|
---
|
||||||
|
WWW/Library/Implementation/HTTP.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c
|
||||||
|
index 925512d..0909013 100644
|
||||||
|
--- a/WWW/Library/Implementation/HTTP.c
|
||||||
|
+++ b/WWW/Library/Implementation/HTTP.c
|
||||||
|
@@ -802,7 +802,7 @@ static int HTLoadHTTP(const char *arg,
|
||||||
|
#elif SSLEAY_VERSION_NUMBER >= 0x0900
|
||||||
|
#ifndef USE_NSS_COMPAT_INCL
|
||||||
|
if (!try_tls) {
|
||||||
|
- handle->options |= SSL_OP_NO_TLSv1;
|
||||||
|
+ SSL_set_options(handle, SSL_OP_NO_TLSv1);
|
||||||
|
CTRACE((tfp, "...adding SSL_OP_NO_TLSv1\n"));
|
||||||
|
}
|
||||||
|
#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
Summary: A text-based Web browser
|
Summary: A text-based Web browser
|
||||||
Name: lynx
|
Name: lynx
|
||||||
Version: 2.8.9
|
Version: 2.8.9
|
||||||
Release: 0.12.dev%{devrel}%{?dist}
|
Release: 0.13.dev%{devrel}%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Source: http://invisible-mirror.net/archives/lynx/tarballs/lynx%{version}dev.%{devrel}.tar.bz2
|
Source: http://invisible-mirror.net/archives/lynx/tarballs/lynx%{version}dev.%{devrel}.tar.bz2
|
||||||
@ -24,6 +24,9 @@ Patch2: lynx-CVE-2008-4690.patch
|
|||||||
# avoid build failure caused by mistakenly excluded <locale.h>
|
# avoid build failure caused by mistakenly excluded <locale.h>
|
||||||
Patch3: lynx-2.8.8-locale.patch
|
Patch3: lynx-2.8.8-locale.patch
|
||||||
|
|
||||||
|
# fix compatibility with OpenSSL 1.1
|
||||||
|
Patch4: lynx-2.8.9-openssl.patch
|
||||||
|
|
||||||
Provides: webclient
|
Provides: webclient
|
||||||
Provides: text-www-browser
|
Provides: text-www-browser
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -55,6 +58,7 @@ exits quickly and swiftly displays web pages.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost%{_pkgdocdir}/lynx_help/lynx_help_main.html,g" lynx.cfg
|
perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost%{_pkgdocdir}/lynx_help/lynx_help_main.html,g" lynx.cfg
|
||||||
@ -128,6 +132,9 @@ EOF
|
|||||||
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
|
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 20 2016 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.13.dev9
|
||||||
|
- fix compatibility with OpenSSL 1.1
|
||||||
|
|
||||||
* Wed Oct 12 2016 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.12.dev9
|
* Wed Oct 12 2016 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.12.dev9
|
||||||
- update to the latest upstream pre-release
|
- update to the latest upstream pre-release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user