From fc1b12f25b52dbeafdfc6b988affb163fbdc36d7 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Thu, 18 Jul 2024 01:46:25 +0300 Subject: [PATCH] import chromium-126.0.6478.182-1.el8 --- .chromium.metadata | 2 +- .gitignore | 2 +- SOURCES/chromium-browser.sh | 1 - SOURCES/chromium.conf | 22 ++++++++++++++----- SPECS/chromium.spec | 44 ++++++++++++++++++++++++++++++++----- 5 files changed, 56 insertions(+), 15 deletions(-) diff --git a/.chromium.metadata b/.chromium.metadata index 1339d184..0b7c6962 100644 --- a/.chromium.metadata +++ b/.chromium.metadata @@ -1,4 +1,4 @@ -147d8da2f68f192c1e5faeb2ba5f2e6407ee8377 SOURCES/chromium-126.0.6478.126-clean.tar.xz +75c83e35f8f1cedca68b0a48509421b08efa71ef SOURCES/chromium-126.0.6478.182-clean.tar.xz 7e5d2c7864c5c83ec789b59c77cd9c20d2594916 SOURCES/linux-arm64-0.19.2.tgz dea187019741602d57aaf189a80abba261fbd2aa SOURCES/linux-x64-0.19.2.tgz 3e94bb4f999c636293bc745b02d98e7925da5616 SOURCES/node-v20.6.1-linux-arm64.tar.xz diff --git a/.gitignore b/.gitignore index 4418a9f9..6807f432 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -SOURCES/chromium-126.0.6478.126-clean.tar.xz +SOURCES/chromium-126.0.6478.182-clean.tar.xz SOURCES/linux-arm64-0.19.2.tgz SOURCES/linux-x64-0.19.2.tgz SOURCES/node-v20.6.1-linux-arm64.tar.xz diff --git a/SOURCES/chromium-browser.sh b/SOURCES/chromium-browser.sh index 26f6a7c5..4ed62f5b 100755 --- a/SOURCES/chromium-browser.sh +++ b/SOURCES/chromium-browser.sh @@ -39,7 +39,6 @@ CHROMIUM_DISTRO_FLAGS=" --enable-plugins \ --enable-extensions \ --enable-user-scripts \ --enable-printing \ - --enable-gpu-rasterization \ --enable-sync \ --auto-ssl-client-auth @@EXTRA_FLAGS@@" diff --git a/SOURCES/chromium.conf b/SOURCES/chromium.conf index 267f62ee..62cecce8 100644 --- a/SOURCES/chromium.conf +++ b/SOURCES/chromium.conf @@ -1,17 +1,25 @@ # system wide chromium flags +ARCH="$(arch)" + # GRAPHIC_DRIVER=[amd|intel|nvidia|default] GRAPHIC_DRIVER=default # WEB_DARKMODE=[on|off] WEB_DARKMODE=off +# NATIVE_WAYLAND=[on|off] +NATIVE_WAYLAND=off + CHROMIUM_FLAGS="" -CHROMIUM_FLAGS+=" --enable-native-gpu-memory-buffers" -CHROMIUM_FLAGS+=" --enable-gpu-memory-buffer-video-frames" -CHROMIUM_FLAGS+=" --enable-zero-copy" -CHROMIUM_FLAGS+=" --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround" -CHROMIUM_FLAGS+=" --enable-chrome-browser-cloud-management" +if [ "$NATIVE_WAYLAND" == "off" ] ; then + CHROMIUM_FLAGS+=" --enable-native-gpu-memory-buffers" + CHROMIUM_FLAGS+=" --enable-gpu-memory-buffer-video-frames" + CHROMIUM_FLAGS+=" --enable-zero-copy" + CHROMIUM_FLAGS+=" --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround" + CHROMIUM_FLAGS+=" --enable-chrome-browser-cloud-management" + CHROMIUM_FLAGS+=" --enable-gpu-rasterization" +fi FEATURES="" @@ -45,4 +53,6 @@ if [ "$WEB_DARKMODE" == "on" ] ; then FEATURES+=",$darktype" fi -CHROMIUM_FLAGS+=" --enable-features=$FEATURES" +if [ "$ARCH" == "x86_64" ] ; then + CHROMIUM_FLAGS+=" --enable-features=$FEATURES" +fi diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index 8c7dc779..2029c6d1 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -310,7 +310,7 @@ %endif Name: chromium%{chromium_channel} -Version: 126.0.6478.126 +Version: 126.0.6478.182 Release: 1%{?dist} Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Url: http://www.chromium.org/Home @@ -1125,6 +1125,20 @@ A minimal headless client built from Chromium. headless_shell is built without support for alsa, cups, dbus, gconf, gio, kerberos, pulseaudio, or udev. +%package qt5-ui +Summary: Qt5 UI built from Chromium +Requires: chromium%{_isa} = %{version}-%{release} + +%description qt5-ui +Qt5 UI for chromium. + +%package qt6-ui +Summary: Qt6 UI built from Chromium +Requires: chromium%{_isa} = %{version}-%{release} + +%description qt6-ui +Qt6 UI for chromium. + %prep %setup -q -n chromium-%{version} @@ -2005,17 +2019,21 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %{chromium_path}/%{chromium_browser_channel} %{chromium_path}/%{chromium_browser_channel}.sh %attr(4755, root, root) %{chromium_path}/chrome-sandbox +%{_mandir}/man1/%{chromium_browser_channel}.* +%{_datadir}/icons/hicolor/*/apps/%{chromium_browser_channel}.png +%{_datadir}/applications/*.desktop +%{_datadir}/metainfo/*.appdata.xml +%{_datadir}/gnome-control-center/default-apps/chromium-browser.xml + %if %{use_qt} +%files qt5-ui %{chromium_path}/libqt5_shim.so %endif + %if %{use_qt6} +%files qt6-ui %{chromium_path}/libqt6_shim.so %endif -%{_mandir}/man1/%{chromium_browser_channel}.* -%{_datadir}/icons/hicolor/*/apps/%{chromium_browser_channel}.png -%{_datadir}/applications/*.desktop -%{_datadir}/metainfo/*.appdata.xml -%{_datadir}/gnome-control-center/default-apps/chromium-browser.xml %files common %if %{build_clear_key_cdm} @@ -2131,6 +2149,20 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %endif %changelog +* Tue Jul 16 2024 Than Ngo - 126.0.6478.182-1 +- update to 126.0.6478.182 + * High CVE-2024-6772: Inappropriate implementation in V8 + * High CVE-2024-6773: Type Confusion in V8 + * High CVE-2024-6774: Use after free in Screen Capture + * High CVE-2024-6775: Use after free in Media Stream + * High CVE-2024-6776: Use after free in Audio + * High CVE-2024-6777: Use after free in Navigation + * High CVE-2024-6778: Race in DevTools + * High CVE-2024-6779: Out of bounds memory access in V8 + +* Sun Jul 07 2024 Than Ngo - 126.0.6478.126-2 +- fixed rhbz#2293202, chromium Wayland UI regression + * Tue Jun 25 2024 Than Ngo - 126.0.6478.126-1 - update to 126.0.6478.126 * High CVE-2024-6290: Use after free in Dawn