commit 138fb15be203aa10a5b250c5312fa5666205c250
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Mon Aug 12 15:34:39 2019 +0530
Fix a bug which causes chromium to reject certificates by throwing
ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
cert-trans-google.patch | 13 +++++++++++++
chromium-vaapi.spec | 10 ++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/cert-trans-google.patch b/cert-trans-google.patch
new file mode 100644
index 0000000..60a7b8c
--- /dev/null
+++ b/cert-trans-google.patch
@@ -0,0 +1,13 @@
+---
chromium-76.0.3809.87/components/certificate_transparency/chrome_ct_policy_enforcer.cc.orig 2019-07-30
04:35:59.000000000 +0800
++++
chromium-76.0.3809.87/components/certificate_transparency/chrome_ct_policy_enforcer.cc 2019-08-09
11:55:35.123756411 +0800
+@@ -159,8 +159,8 @@
+
+ bool ChromeCTPolicyEnforcer::IsLogOperatedByGoogle(
+ base::StringPiece log_id) const {
+- return std::binary_search(std::begin(operated_by_google_logs_),
+- std::end(operated_by_google_logs_), log_id);
++ return std::find(operated_by_google_logs_.begin(),
++ operated_by_google_logs_.end(), log_id) !=
operated_by_google_logs_.end();
+ }
+
+ bool ChromeCTPolicyEnforcer::IsLogDataTimely() const {
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 42db47a..4644694 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -56,7 +56,7 @@
##############################Package Definitions######################################
Name: chromium-vaapi
Version: 76.0.3809.100
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Chromium web browser with video decoding acceleration
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL
and (MPLv1.1 or GPLv2 or LGPLv2)
URL:
https://www.chromium.org/Home
@@ -184,6 +184,8 @@ Patch1: enable-vaapi.patch
Patch2: widevine.patch
Patch3: Do-not-use-VPP-on-Linux-Add-some-info-logs-and-fix-v.patch
Patch4: chromium-skia-harmony.patch
+#Fix certificare transperancy error introduced by the current stable version of chromium
+Patch5: cert-trans-google.patch
# Bootstrap still uses python command
Patch51: py2-bootstrap.patch
# Fix building with system icu
@@ -224,6 +226,7 @@ chromium-vaapi is an open-source web browser, powered by WebKit
(Blink)
%patch2 -p1 -b .widevine
%patch3 -p1 -b .fixvaapi
%patch4 -p0 -b .skia
+%patch5 -p1 -b .cert
%patch51 -p1 -b .py2boot
%if %{with system_libicu}
%patch52 -p1 -b .icu
@@ -693,7 +696,10 @@ appstream-util validate-relax --nonet
"%{buildroot}%{_metainfodir}/%{name}.appda
%dir %{chromiumdir}/locales
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
-%changelog
+%changelog
+* Mon Aug 12 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> -
76.0.3809.100-2
+- Fix a bug which causes chromium to reject certificates by throwing
ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
+
* Sat Aug 10 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> -
76.0.3809.100-1
- Update to 76.0.3809.100