Hello community,

here is the log from the commit of package opera for openSUSE:Factory:NonFree 
checked in at 2016-02-03 10:20:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/opera (Old)
 and      /work/SRC/openSUSE:Factory:NonFree/.opera.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opera"

Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/opera/opera.changes      2016-01-28 
17:28:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory:NonFree/.opera.new/opera.changes 2016-02-03 
10:20:11.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb  1 21:45:54 UTC 2016 - [email protected]
+
+- Update to 35.0.2066.37.
+- Add x86-32 build target.
+
+-------------------------------------------------------------------

Old:
----
  opera-stable_34.0.2036.50_amd64.deb
  opera.sh

New:
----
  opera-stable_35.0.2066.37_amd64.deb
  opera-stable_35.0.2066.37_i386.deb
  opera.sh.in

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

Other differences:
------------------
++++++ opera.spec ++++++
--- /var/tmp/diff_new_pack.CA62Ah/_old  2016-02-03 10:20:14.000000000 +0100
+++ /var/tmp/diff_new_pack.CA62Ah/_new  2016-02-03 10:20:14.000000000 +0100
@@ -16,15 +16,23 @@
 #
 
 
+%ifarch x86_64
+%define deb_arch amd64
+%define alt_deb_arch i386
+%else
+%define deb_arch i386
+%define alt_deb_arch amd64
+%endif
 Name:           opera
-Version:        34.0.2036.50
+Version:        35.0.2066.37
 Release:        0
 Summary:        Proprietary web browser
 License:        SUSE-NonFree
 Group:          Productivity/Networking/Web/Browsers
 Url:            https://opera.com/
-Source:         
http://get.geo.opera.com/ftp/pub/%{name}/desktop/%{version}/linux/%{name}-stable_%{version}_amd64.deb
-Source1:        %{name}.sh
+Source0:        
http://get.geo.opera.com/ftp/pub/%{name}/desktop/%{version}/linux/%{name}-stable_%{version}_%{deb_arch}.deb
+Source1:        
http://get.geo.opera.com/ftp/pub/%{name}/desktop/%{version}/linux/%{name}-stable_%{version}_%{alt_deb_arch}.deb
+Source2:        %{name}.sh.in
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  update-desktop-files
@@ -35,7 +43,7 @@
 Obsoletes:      %{name}-gtk < %{version}
 Provides:       %{name}-kde4 = %{version}
 Obsoletes:      %{name}-kde4 < %{version}
-ExclusiveArch:  x86_64
+ExclusiveArch:  x86_64 %ix86
 
 %description
 Opera is a proprietary, fast, and user-friendly web browser.
@@ -53,7 +61,10 @@
 
 sed -i 's/^\(TargetEnvironment\)/X-\1/' 
.%{_datadir}/applications/%{name}.desktop
 
-cp -f %{SOURCE1} %{name}.sh
+sed \
+  -e 's|__LIBDIR__|%{_libdir}|g' \
+  -e 's|__SYSCONFDIR__|%{_sysconfdir}|g' \
+  %{SOURCE2} > %{name}.sh
 cat > %{name}.conf << EOF
 # Default settings for opera. This file is sourced by /usr/bin/opera.
 

++++++ opera.sh.in ++++++
#!/bin/bash
# Authors:
#  Sorokin Alexei <[email protected]>
#  Fabien Tassin <[email protected]>
# Licence: GPLv2+

PROGNAME="opera"
LIBDIR="__LIBDIR__/$PROGNAME"
SANDBOX_APP="$LIBDIR/${PROGNAME}_sandbox"

# Allow users to override command-line options.
# Based on Gentoo's chromium package (and by extension, Debian's).
if [ -r "__SYSCONFDIR__/default/$PROGNAME" ]; then
    . "__SYSCONFDIR__/default/$PROGNAME"
fi

# Prefer user defined OPERA_USER_FLAGS (from env) over system
# default OPERA_FLAGS (from /etc/default/opera).
OPERA_FLAGS="${OPERA_USER_FLAGS:-$OPERA_FLAGS}"

# Check if sandbox binary has setuid.
if ( grep -qE '^.r.sr..r.. . 0 0' <<< "$(ls -n "$SANDBOX_APP")" ); then
    SETUID_SANDBOX_SET=1
else
    SETUID_SANDBOX_SET=
fi

# Enable SUID sandboxing for those who wish.
if [ -n "$SETUID_SANDBOX_SET" ] || [[ "$OPERA_FLAGS" =~ 
'--enable-setuid-sandbox' ]]; then
    OPERA_FLAGS=$(echo "$OPERA_FLAGS" | sed -e 's/--enable-setuid-sandbox//g')
    if [ -z "$SETUID_SANDBOX_SET" ]; then
        if  ( ! xdg-su -c "chmod 4755 "$SANDBOX_APP"" &> /dev/null ); then
            echo "Permission granting failed, falling back to disabled SUID 
sanboxing." >&2
            OPERA_FLAGS="$OPERA_FLAGS --disable-setuid-sandbox"
        fi
    fi
else
    OPERA_FLAGS="$OPERA_FLAGS --disable-setuid-sandbox"
fi

exec "$LIBDIR/$PROGNAME" $SANDBOX $CHROMIUM_FLAGS $OPERA_FLAGS "$@"

Reply via email to