[midori] Add patch to disable sslv3. Fixes bug #1182623
Kevin Fenzi
kevin at fedoraproject.org
Fri Jan 16 23:24:39 UTC 2015
commit 4e0eba54c4ffff15e0fec74ac8468cd98ae7b26b
Author: Kevin Fenzi <kevin at scrye.com>
Date: Fri Jan 16 16:24:59 2015 -0700
Add patch to disable sslv3. Fixes bug #1182623
midori-0.5.9-disable-sslv3.patch | 13 +++++++++++++
midori.spec | 8 +++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/midori-0.5.9-disable-sslv3.patch b/midori-0.5.9-disable-sslv3.patch
new file mode 100644
index 0000000..5abe026
--- /dev/null
+++ b/midori-0.5.9-disable-sslv3.patch
@@ -0,0 +1,13 @@
+diff -Nur midori-0.5.9.orig/midori/main.c midori-0.5.9/midori/main.c
+--- midori-0.5.9.orig/midori/main.c 2014-11-10 16:30:22.000000000 -0700
++++ midori-0.5.9/midori/main.c 2015-01-16 16:10:04.278801067 -0700
+@@ -73,6 +73,9 @@
+ gchar** uris;
+ gchar* block_uris;
+ gint inactivity_reset;
++
++g_setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0", FALSE);
++
+ GOptionEntry entries[] =
+ {
+ { "app", 'a', 0, G_OPTION_ARG_STRING, &webapp,
diff --git a/midori.spec b/midori.spec
index 73a10ca..770dd94 100644
--- a/midori.spec
+++ b/midori.spec
@@ -2,7 +2,7 @@
Name: midori
Version: 0.5.9
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A lightweight GTK+ web browser
Group: Applications/Internet
@@ -14,6 +14,8 @@ Source0: http://midori-browser.org/downloads/midori_%{version}_all_.tar.b
## Fedora-specific: Set the default homepage to start.fedoraproject.org
## instead of search page.
Patch0: midori-0.5.7-homepage.patch
+# Disable sslv3
+Patch1: midori-0.5.9-disable-sslv3.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -54,6 +56,7 @@ implemented, and some are still quite incomplete.
%prep
%setup -q
%patch0 -p1 -b .fedora-homepage
+%patch1 -p1
%build
#cmake -DCMAKE_INSTALL_SYSCONFDIR=/etc -DUSE_APIDOCS=1 -DUSE_ZEITGEIST=OFF -DHALF_BRO_INCOM_WEBKIT2=ON .
@@ -122,6 +125,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/libmidori-core.*
%changelog
+* Fri Jan 16 2015 Kevin Fenzi <kevin at scrye.com> 0.5.9-2
+- Add patch to disable sslv3. Fixes bug #1182623
+
* Tue Nov 11 2014 Kevin Fenzi <kevin at scrye.com> 0.5.9-1
- Update to 0.5.9
More information about the scm-commits
mailing list