Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package chromium for openSUSE:Factory 
checked in at 2022-08-16 19:58:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chromium (Old)
 and      /work/SRC/openSUSE:Factory/.chromium.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chromium"

Tue Aug 16 19:58:50 2022 rev:347 rq:997378 version:104.0.5112.79

Changes:
--------
--- /work/SRC/openSUSE:Factory/chromium/chromium.changes        2022-08-10 
17:15:20.562027894 +0200
+++ /work/SRC/openSUSE:Factory/.chromium.new.1521/chromium.changes      
2022-08-16 19:58:52.836243251 +0200
@@ -1,0 +2,6 @@
+Tue Aug 16 14:17:49 UTC 2022 - Callum Farmer <gm...@opensuse.org>
+
+- Re-enable our version of chrome-wrapper
+- Set no sandbox if root is being used (https://crbug.com/638180)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chromium.spec ++++++
--- /var/tmp/diff_new_pack.V4MjqA/_old  2022-08-16 19:59:00.128257975 +0200
+++ /var/tmp/diff_new_pack.V4MjqA/_new  2022-08-16 19:59:00.132257983 +0200
@@ -352,9 +352,9 @@
 ln -sfn %{_bindir}/$PYTHON $HOME/bin/python
 export PATH="$HOME/bin/:$PATH"
 
-# use our wrapper (disabled)
-#rm chrome/installer/linux/common/wrapper
-#cp %{SOURCE106} chrome/installer/linux/common/wrapper
+# use our wrapper
+rm chrome/installer/linux/common/wrapper
+cp %{SOURCE106} chrome/installer/linux/common/wrapper
 
 # Remove bundled libs
 keeplibs=(

++++++ chrome-wrapper ++++++
--- /var/tmp/diff_new_pack.V4MjqA/_old  2022-08-16 19:59:00.276258274 +0200
+++ /var/tmp/diff_new_pack.V4MjqA/_new  2022-08-16 19:59:00.280258282 +0200
@@ -4,20 +4,26 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+ARGS="$@"
+
 # Let the wrapped binary know that it has been run through the wrapper.
 export CHROME_WRAPPER="`readlink -f "$0"`"
 
 HERE="`dirname "$CHROME_WRAPPER"`"
 
-export CHROME_VERSION_EXTRA="@@CHANNEL@@"
+# Always use our versions of ffmpeg libs.
+# This also makes RPMs find the compatibly-named library symlinks.
+export LD_LIBRARY_PATH="$HERE:$LD_LIBRARY_PATH"
+
+export CHROME_VERSION_EXTRA="stable"
 
 # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
 
-# This provides a much better experience on Wayland.
-#if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
-#  ARGS="--ozone-platform=wayland"
-#fi
+# Allow root usage
+if [ "`id -u`" == "0" ]; then
+  ARGS="--no-sandbox $ARGS"
+fi
 
 # Sanitize std{in,out,err} because they'll be shared with untrusted child
 # processes (http://crbug.com/376567).
@@ -26,5 +32,5 @@
 exec 2> >(exec cat >&2)
 
 # Note: exec -a below is a bashism.
-exec -a "$0" "$HERE/@@PROGNAME@@" "$ARGS" "$@"
+exec -a "$0" "$HERE/chrome" $ARGS
 

Reply via email to