Hello community,

here is the log from the commit of package flash-player.2907 for 
openSUSE:12.3:NonFree:Update checked in at 2014-07-16 11:09:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:NonFree:Update/flash-player.2907 (Old)
 and      /work/SRC/openSUSE:12.3:NonFree:Update/.flash-player.2907.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flash-player.2907"

Changes:
--------
New Changes file:

--- /dev/null   2014-06-12 08:28:52.960034756 +0200
+++ 
/work/SRC/openSUSE:12.3:NonFree:Update/.flash-player.2907.new/flash-player.changes
  2014-07-16 11:09:52.000000000 +0200
@@ -0,0 +1,585 @@
+-------------------------------------------------------------------
+Wed Jul  9 14:31:51 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.394 (bnc#886472):
+  * APSB14-17, CVE-2014-0537, CVE-2014-0539, CVE-2014-4671
+- License update (LICENSE -> Flash%20Player_14.0.pdf).
+
+-------------------------------------------------------------------
+Wed Jun 11 19:13:21 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.378 (bnc#882187, Redhat#1107822,
+  Redhat#1107823):
+  * APSB14-16, CVE-2014-0531, CVE-2014-0532, CVE-2014-0533,
+    CVE-2014-0534, CVE-2014-0535, CVE-2014-0536
+- Contents of flashplayer_11_sa.i386.tar.gz changed:
+  spec file updated, supplementary script (update.sh) updated.
+  Now it accepts both forms of this file seen in past.
+
+-------------------------------------------------------------------
+Wed May 14 21:39:43 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.359 (bnc#877649):
+  * APSB14-14, CVE-2014-0516, CVE-2014-0517, CVE-2014-0518,
+    CVE-2014-0519, CVE-2014-0520
+
+-------------------------------------------------------------------
+Tue Apr 29 15:34:46 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.356 (bnc#875577):
+  * APSB14-13, CVE-2014-0515
+
+-------------------------------------------------------------------
+Thu Apr 10 13:45:36 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.350: (bnc#872692)
+  * APSB14-09, CVE-2014-0506, CVE-2014-0507, CVE-2014-0508,
+    CVE-2014-0509
+
+-------------------------------------------------------------------
+Wed Mar 12 16:37:21 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.346: (bnc#867808)
+  * APSB14-08, CVE-2014-0503, CVE-2013-0504
+
+-------------------------------------------------------------------
+Fri Feb 21 18:25:14 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.341: (bnc#865021)
+  * APSB14-07, CVE-2014-0498 CVE-2014-0499 CVE-2014-0502
+- Contents of flashplayer_11_sa.i386.tar.gz changed back:
+  spec file updated, supplementary script (update.sh) updated.
+
+-------------------------------------------------------------------
+Wed Feb  5 18:45:51 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.336: (bnc#862288)
+  * APSB14-04, CVE-2014-0497
+- Contents of flashplayer_11_sa.i386.tar.gz changed:
+  spec file updated, supplementary script (update.sh) updated.
+
+-------------------------------------------------------------------
+Wed Jan 15 19:12:15 UTC 2014 - sbra...@suse.com
+
+- Security update to 11.2.202.335: (bnc#858822)
+  * APSB14-02, CVE-2014-0491, CVE-2014-0492
+
+-------------------------------------------------------------------
+Thu Dec 12 18:07:46 UTC 2013 - sbra...@suse.com
+
+- Security update to 11.2.202.332: (bnc#854881)
+  * APSB13-28, CVE-2013-5331, CVE-2013-5332
+  * Prevents possible remote code execution!
+
+-------------------------------------------------------------------
+Wed Nov 13 19:51:26 UTC 2013 - sbra...@suse.com
+
+- Security update to 11.2.202.327: (bnc#850220)
+  * APSB13-26, CVE-2013-5329, CVE-2013-5330
+- Supplementary script (update.sh) update:
+  * Update to the new web pages layout.
+  * Use original .tar.gz files released by Adobe.
+
+-------------------------------------------------------------------
+Thu Sep 12 16:27:37 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.310: (bnc#839897)
+  * APSB13-21, CVE-2013-3361, CVE-2013-3362, CVE-2013-3363,
+    CVE-2013-5324
+
+-------------------------------------------------------------------
+Wed Jul 10 14:37:53 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.297: (bnc#828810)
+  * APSB13-17, CVE-2013-3344, CVE-2013-3345, CVE-2013-3347
+
+-------------------------------------------------------------------
+Wed Jun 12 14:17:57 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.291: (bnc#824512)
+  * APSB13-16, CVE-2013-3343
+
+-------------------------------------------------------------------
+Wed May 15 14:08:22 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.285: (bnc#819916)
+  * APSB13-14, CVE-2013-2728, CVE-2013-3324, CVE-2013-3325,
+    CVE-2013-3326, CVE-2013-3327, CVE-2013-3328, CVE-2013-3329,
+    CVE-2013-3330, CVE-2013-3331, CVE-2013-3332, CVE-2013-3333,
+    CVE-2013-3334, CVE-2013-3335
+
+-------------------------------------------------------------------
+Wed Apr 10 13:19:35 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.280: (bnc#814635)
+  * APSB13-11, CVE-2013-1378, CVE-2013-1379, CVE-2013-1380,
+    CVE-2013-2555
+
+-------------------------------------------------------------------
+Tue Mar 12 17:42:12 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.275: (bnc#808973)
+  * APSB13-09, CVE-2013-0646, CVE-2013-0650, CVE-2013-1371,
+    CVE-2013-1375
+
+-------------------------------------------------------------------
+Wed Feb 27 16:06:23 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.273: (bnc#806415)
+  * APSB13-08, CVE-2013-0504, CVE-2013-0643, CVE-2013-0648
+
+-------------------------------------------------------------------
+Wed Feb 13 14:12:17 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.270: (bnc#803485)
+  * APSB13-05, CVE-2013-1372, CVE-2013-0645, CVE-2013-1373,
+    CVE-2013-1369, CVE-2013-1370, CVE-2013-1366, CVE-2013-0649,
+    CVE-2013-1365, CVE-2013-1374, CVE-2013-1368, CVE-2013-0642,
+    CVE-2013-0644, CVE-2013-0647, CVE-2013-1367, CVE-2013-0639,
+    CVE-2013-0638, CVE-2013-0637
+
+-------------------------------------------------------------------
+Fri Feb  8 14:30:11 UTC 2013 - sbra...@suse.com
+
+- Update to 11.2.202.262: (bnc#802809)
+  * APSB13-04, CVE-2013-0633, CVE-2013-0634
+
+-------------------------------------------------------------------
+Wed Jan  9 07:30:35 UTC 2013 - dmuel...@suse.com
+
+- Update to 11.2.202.261: (bnc#797442)
+  * CVE-2013-0630
+
+-------------------------------------------------------------------
+Wed Dec 12 09:59:37 UTC 2012 - dmuel...@suse.com
+
+- Update to 11.2.202.258: (bnc#794062):
+  * CVE-2012-5676, CVE-2012-5677, CVE-2012-5678
+
+-------------------------------------------------------------------
+Tue Nov  6 17:31:27 UTC 2012 - dmuel...@suse.com
+
+- Update to 11.2.202.251 (bnc#788450):
+  * CVE-2012-5274, CVE-2012-5275, CVE-2012-5276, CVE-2012-5277,
+  CVE-2012-5278, CVE-2012-5279, CVE-2012-5280
+
+-------------------------------------------------------------------
+Tue Oct  9 05:49:34 UTC 2012 - dmuel...@suse.com
+
+- Update to 11.2.202.243: (bnc#784168)
+  * CVE-2012-5248, CVE-2012-5249, CVE-2012-5250, CVE-2012-5251,
+  CVE-2012-5252, CVE-2012-5253, CVE-2012-5254, CVE-2012-5255,
+  CVE-2012-5256, CVE-2012-5257, CVE-2012-5258, CVE-2012-5259,
+  CVE-2012-5260, CVE-2012-5261, CVE-2012-5262, CVE-2012-5263,
+  CVE-2012-5264, CVE-2012-5265, CVE-2012-5266, CVE-2012-5267,
+  CVE-2012-5268, CVE-2012-5269, CVE-2012-5270, CVE-2012-5271,
+  CVE-2012-5272
+
+-------------------------------------------------------------------
+Wed Aug 15 10:16:23 UTC 2012 - dmuel...@suse.com
+
+- Update to 11.2.202.238: (bnc#775986):
+  * CVE-2012-1535
+
+-------------------------------------------------------------------
+Fri Jun  8 21:19:04 UTC 2012 - dmuel...@suse.com
+
+- Update to 11.2.202.236: (bnc#766241)
+  * CVE-2012-2034, CVE-2012-2035, CVE-2012-2036, CVE-2012-2037,
+    CVE-2012-2038, CVE-2012-2039, CVE-2012-2040)
+- remove mms.cfg again, causes crashes for many users (bnc#761975)
+
+-------------------------------------------------------------------
+Fri May  4 17:02:40 UTC 2012 - dmuel...@suse.com
+
+- Update to 11.2.202.235: (bnc#760777)
+  * CVE-2012-0779
+
++++ 388 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:12.3:NonFree:Update/.flash-player.2907.new/flash-player.changes

New:
----
  Flash%20Player_14.0.pdf
  README
  desktop.diff
  flash-player.changes
  flash-player.spec
  flashplayer.desktop
  flashplayer.png
  flashplayer_11.1.102.55_sa.x86_64.tar.bz2
  flashplayer_11.2.202.394_sa.i386.tar.gz
  install_flash_player_11.2.202.394_linux.i386.tar.gz
  install_flash_player_11.2.202.394_linux.x86_64.tar.gz
  kcm_adobe_flash_player.desktop.patch
  mms.cfg
  update.sh

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

Other differences:
------------------
++++++ flash-player.spec ++++++
#
# spec file for package flash-player
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define build_standalone 1

Name:           flash-player
Version:        11.2.202.394
Release:        0
Summary:        Adobe Flash Plugin and Standalone Player
License:        NON-OSI-COMPLIANT(royalties)
Group:          Productivity/Networking/Web/Browsers
Url:            http://get.adobe.com/flashplayer/
%ifarch %ix86
Source0:        install_flash_player_%{version}_linux.i386.tar.gz
Source1:        flashplayer_%{version}_sa.i386.tar.gz
%endif
%ifarch x86_64
Source0:        install_flash_player_%{version}_linux.x86_64.tar.gz
Source1:        flashplayer_11.1.102.55_sa.x86_64.tar.bz2
%endif
# License referenced from http://www.adobe.com/legal/licenses-terms.html
Source2:        
http://wwwimages.adobe.com/content/dam/Adobe/en/legal/licenses-terms/pdf/Flash%20Player_14.0.pdf
Source3:        README
Source4:        flashplayer.desktop
Source5:        flashplayer.png
Source6:        mms.cfg
Source99:       update.sh
NoSource:       99
# PATCH-FIX-OPENSUSE desktop.diff -- Fix desktop file to be GNOME compatible
Patch0:         desktop.diff
# PATCH-FIX-OPENSUSE kcm_adobe_flash_player.desktop.patch 
asterios.dra...@gmail.com -- Make the KCM module 
X-KDE-System-Settings-Parent-Category entry compatible with newer KDE versions
Patch1:         kcm_adobe_flash_player.desktop.patch
%if 0%{?suse_version} > 1100
BuildRequires:  kde4-filesystem
%endif
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%endif
# flash player dynamically opens that one and segfaults if not available 
(2008-11-12)
%ifarch %ix86
Requires:       libasound.so.2
Requires:       libcurl.so.4
%endif
%ifarch x86_64
Requires:       libasound.so.2()(64bit)
Requires:       libcurl.so.4()(64bit)
%endif
Provides:       flash-plugin = %{version}
%if 0%{?suse_version} >= 1110
# flash 10 does not need libflashsupport and using it can cause device conflicts
# just let flash talk with the default alsa plugin - bnc#539656
Provides:       libflashsupport = 1.2
Obsoletes:      libflashsupport <= 1.2
%ifarch x86_64
Provides:       libflashsupport-32bit = 1.2
Obsoletes:      libflashsupport-32bit <= 1.2
%endif
%endif
Provides:       netscape-plugins
Obsoletes:      netscape-plugins
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64
%if 0%{!?_kde4_libdir:1}
%define _kde4_libdir %{_libdir}
%endif
%if 0%{!?_kde4_datadir:1}
%define _kde4_datadir %{_datadir}
%endif
%if 0%{!?_kde4_sharedir:1}
%define _kde4_sharedir %{_kde4_datadir}/kde4
%endif
%if 0%{!?_kde4_modulesdir:1}
%define _kde4_modulesdir %{_kde4_libdir}/kde4
%endif
%if 0%{!?_kde4_servicesdir:1}
%define _kde4_servicesdir %{_kde4_sharedir}/services
%endif

%description
This package contains Adobe's Flash Plugin for the supported Web
browsers in addition to a standalone flash player application.

%if 0%{?suse_version} > 1100

%package gnome
Summary:        Adobe Flash Plugin and Standalone Player Settings
Group:          Productivity/Networking/Web/Browsers
Requires:       %{name} = %{version}
Supplements:    packageand(gnome-session:flash-player)

%description gnome
This package contains Adobe's Flash Plugin Settings for the GNOME desktop.

%package kde4
Summary:        Adobe Flash Plugin and Standalone Player Settings
Group:          Productivity/Networking/Web/Browsers
Requires:       %{name} = %{version}
Supplements:    packageand(kdebase4-session:flash-player)
%kde4_runtime_requires

%description kde4
This package contains Adobe's Flash Plugin Settings for the KDE 4 desktop.

%endif

%prep
%setup -q -c %{name}-%{version} -a 0 -b 1
%patch0
%patch1
cp %{SOURCE2} .
cp %{SOURCE3} .
mkdir EULA
mv Flash%20Player_14.0.pdf EULA/Flash\ Player_14.0.pdf

%build

%install
install -Dpm 0755 libflashplayer.so 
%{buildroot}%{_libdir}/browser-plugins/libflashplayer.so
# bnc#761975
#install -m 644 -D %{SOURCE6} %{buildroot}/etc/adobe/mms.cfg

mkdir -p %{buildroot}%{_datadir}/icons
rm -rf usr/share/icons/hicolor/24x24
%if 0%{?suse_version} <= 1100
rm -rf usr/share/icons/hicolor/*/apps/flash-player-properties.png
%endif
cp -a usr/share/icons/* %{buildroot}%{_datadir}/icons

%if 0%{?suse_version} > 1100
# KDE frontend
install -Dpm 0755 usr/%{_lib}/kde4/kcm_adobe_flash_player.so 
%{buildroot}%{_kde4_modulesdir}/kcm_adobe_flash_player.so
install -Dpm 0644 usr/share/kde4/services/kcm_adobe_flash_player.desktop 
%{buildroot}%{_kde4_servicesdir}/kcm_adobe_flash_player.desktop
# GNOME frontend
install -Dpm 0755 usr/bin/flash-player-properties 
%{buildroot}%{_bindir}/flash-player-properties
install -Dpm 0644 usr/share/applications/flash-player-properties.desktop 
%{buildroot}%{_datadir}/applications/flash-player-properties.desktop
%endif

%if %build_standalone
%if 0%{?suse_version} > 1030
%ifarch %ix86
if test -f install_flash_player_linux_sa/flashplayer ; then
        install -Dpm 0755 install_flash_player_linux_sa/flashplayer 
%{buildroot}%{_bindir}/flashplayer
else
        install -Dpm 0755 flashplayer %{buildroot}%{_bindir}/flashplayer
fi
install -Dpm 0644 %{SOURCE4} 
%{buildroot}%{_datadir}/applications/flashplayer.desktop
install -Dpm 0644 %{SOURCE5} %{buildroot}%{_datadir}/pixmaps/flashplayer.png
%suse_update_desktop_file flashplayer
%endif
%endif
%endif

%if 0%{?suse_version} > 1100
%suse_update_desktop_file flash-player-properties
%endif

%files
%defattr(-,root,root,-)
%doc [Rr][eE][aA][dD][Mm][eE]* EULA
%{_libdir}/browser-plugins/libflashplayer.so
#/etc/adobe/mms.cfg
#%dir /etc/adobe
%if 0%{?suse_version} > 1020
%{_datadir}/icons/hicolor/*x*/apps/flash-player-properties.png
%endif
%if %build_standalone
%if 0%{?suse_version} > 1030
%ifarch %ix86
%{_bindir}/flashplayer
%{_datadir}/applications/flashplayer.desktop
%{_datadir}/pixmaps/flashplayer.png
%endif
%endif
%endif

%if 0%{?suse_version} > 1100

%files gnome
%defattr(-,root,root,-)
%{_bindir}/flash-player-properties
%{_datadir}/applications/flash-player-properties.desktop

%files kde4
%defattr(-,root,root,-)
%{_kde4_modulesdir}/kcm_adobe_flash_player.so
%{_kde4_servicesdir}/kcm_adobe_flash_player.desktop

%endif

%changelog
++++++ README ++++++
Adobe Systems Incorporated
Flash Player 10 for Linux
Version 10.0.32.18
2009

Adobe recommends that all users upgrade to the latest version of Adobe Flash 
Player for the most recent features, bug fixes, and security fixes.  For 
more information on the new features in Flash Player 9, please visit 
http://www.adobe.com/products/flashplayer/.  For more information on system 
requirements, fixed issues, and known issues, see the release notes at 
http://www.adobe.com/go/flashplayer_releasenotes.

To confirm which version of Flash Player you have currently installed, see 
http://www.adobe.com/software/flash/about/. Users should only install 
Players that have been downloaded from trusted sources, such as 
http://www.adobe.com/.

Your use of this player is governed by the Adobe End User License Agreement 
found at http://www.adobe.com/products/eulas/players/flash/.


Privacy
-------

Adobe is committed to preserving the privacy of end users. For more 
information on configuring Client-side privacy visit the Settings Manager 
Documentation: http://www.adobe.com/go/flashplayerhelp.


Installation instructions
-------------------------

Installing the plugin tar.gz using Install script:
   o Unpack the tar.gz file
   o In terminal, navigate to the unpacked directory and enter:
          + $ ./flashplayer-installer
          + Click Enter key and follow prompts

Installing the plugin using RPM:
   o As root, enter in terminal:
          + # rpm -Uvh <rpm_package_file>
          + Click Enter key and follow prompts

Installing the standalone player:
   o Unpack the tar.gz file
   o To execute the standalone player,
          + Double-click, or 
          + Enter in terminal: ./flashplayer


Uninstallation instructions
---------------------------

Manual uninstallation (for users who installed the plugin via Install script):
   o Delete libflashplayer.so binary and flashplayer.xpt file in 
   directory /home/<user>/.mozilla/plugins/

RPM uninstallation:
   o As root, enter in terminal:
          + # rpm -e flash-plugin
          + Click Enter key and follow prompts


Technical Issues and Reporting Bugs
-----------------------------------
 
The Adobe Flash Player Support Center at 
http://www.adobe.com/support/flashplayer/ is a free online resource for 
support and troubleshooting information. Bug reports may be submitted at 
http://www.adobe.com/go/wish. To allow us to investigate reported bugs, 
please include the following information:
 
1) Platform and version
2) Browser version
3) Reproducible steps including a URL to the web site where the problem 
   was encountered.
 
If we need further information about a bug, you will be contacted. An 
automated reply will be sent to assure you that we have received your 
bug report. Due to the volume of mail received, we are not able to 
individually respond to each report.


Legal
-----

Adobe(R) Flash(R) Player. Copyright (C) 1996 - 2009 Adobe Systems 
Incorporated. All Rights Reserved. Protected by U.S. Patent 6,879,327; 
Patents Pending in the United States and other countries. Adobe and Flash 
are either trademarks or registered trademarks in the United States and/or 
other countries.

++++++ desktop.diff ++++++
--- usr/share/applications/flash-player-properties.desktop
+++ usr/share/applications/flash-player-properties.desktop
@@ -1,5 +1,6 @@
 [Desktop Entry]
 Name=Adobe Flash Player
+GenericName=Adobe Flash Player Settings
 Comment=Preferences for Adobe Flash Player
 Comment[bg]=Настройки за Adobe Flash Player
 Comment[ca]=Preferències quant a la Adobe Flash Player
@@ -20,5 +21,5 @@
 Terminal=false
 Type=Application
 StartupNotify=true
-Categories=Settings;GNOME;GTK;X-GNOME-PersonalSettings;
+Categories=Settings;Network;WebBrowser;GNOME;GTK;X-GNOME-PersonalSettings;
 NotShowIn=KDE;
++++++ flashplayer.desktop ++++++
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=FlashPlayer
GenericName=Flash Standalone Player
Comment=Flash Standalone Player
Icon=flashplayer
Exec=flashplayer
Terminal=false
Categories=GTK;Application;AudioVideo;Audio;Video;Player;
MimeType=application/x-shockwave-flash;
++++++ kcm_adobe_flash_player.desktop.patch ++++++
--- usr/share/kde4/services/kcm_adobe_flash_player.desktop.orig 2011-08-03 
09:35:44.000000000 +0300
+++ usr/share/kde4/services/kcm_adobe_flash_player.desktop      2011-08-27 
22:00:25.800000030 +0300
@@ -8,7 +8,7 @@
 X-KDE-Library=kcm_adobe_flash_player
 X-KDE-ParentApp=kcontrol
 
-X-KDE-System-Settings-Parent-Category=personal
+X-KDE-System-Settings-Parent-Category=personal-information
 X-KDE-Weight=10
 
 Name=Adobe Flash Player
++++++ mms.cfg ++++++
EnableLinuxHWVideoDecode=1 
++++++ update.sh ++++++
#!/bin/bash
# vim: sw=4 et

t=$(mktemp  -d XXXXXXX)

set -e

pushd $t &>/dev/null


    tar xf ../install_flash_player_11*_linux.i386.tar.gz libflashplayer.so
    md5sum libflashplayer.so > ORIG_FLASH
    rm libflashplayer.so
    # fetch the current download url
    download_url=$(curl -s 
'http://get.adobe.com/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_32-bit&standalone=1'
 | egrep  -o 
'http:\/\/fpdownload.macromedia.com\/get\/flashplayer\/pdc\/11.*\/install_flash_player_11_linux.i386.tar.gz')
    echo "Trying download $download_url";
    wget $download_url
    tar xf install_flash_player_11_linux.i386.tar.gz libflashplayer.so
    md5sum libflashplayer.so > NEW_FLASH

    if cmp -s ORIG_FLASH NEW_FLASH; then

        echo "no new update available"

    else
        echo "*** NEW flashplugin UPDATE AVAILABLE!"
        version=$(strings libflashplayer.so | grep "LNX 11," | cut -d' ' -f2 | 
sed -e 's#,#.#g')
        echo "new version is $version"
        download_url=$(echo $download_url | sed -e 's,i386,ARCH,')

        for arch in i386 x86_64; do
            wget -q $(echo $download_url | sed -e "s,ARCH,$arch,")
            mv install_flash_player_11_linux.$arch.tar.gz 
install_flash_player_${version}_linux.$arch.tar.gz
            mv install_flash_player_${version}_linux.$arch.tar.gz ..
        done
        sed -i -e "s,Version:.*,Version:        $version," ../flash-player.spec
        ( cd ..; 
        osc vc -m "Security update to $version (bnc#XXXXXX):"
        )
    fi

    for arch in i386; do
        if tar tf ../flashplayer_*_sa.$arch.tar.gz | grep -q -F 
install_flash_player_linux_sa/flashplayer ; then
            tar xf ../flashplayer_*_sa.$arch.tar.gz 
install_flash_player_linux_sa/flashplayer
            md5sum install_flash_player_linux_sa/flashplayer > ORIG_FLASH
            rm -r install_flash_player_linux_sa
        else
            tar xf ../flashplayer_*_sa.$arch.tar.gz flashplayer
            md5sum flashplayer > ORIG_FLASH
            rm flashplayer
        fi
        wget 
http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.$arch.tar.gz
        if tar xvf flashplayer_11_sa.$arch.tar.gz | grep -q -F 
install_flash_player_linux_sa/flashplayer ; then
            md5sum install_flash_player_linux_sa/flashplayer > NEW_FLASH
        else
            md5sum flashplayer > NEW_FLASH
        fi

        if cmp -s ORIG_FLASH NEW_FLASH; then

            echo "no new update available"

        else
            echo "*** NEW flashplayer UPDATE AVAILABLE!"
            if test -f install_flash_player_linux_sa/flashplayer ; then
                version=$(strings install_flash_player_linux_sa/flashplayer | 
grep "LNX 11," | cut -d' ' -f2 | sed -e 's#,#.#g')
            else
                version=$(strings flashplayer | grep "LNX 11," | cut -d' ' -f2 
| sed -e 's#,#.#g')
            fi
            echo "new version is $version"
            mv flashplayer_11_sa.$arch.tar.gz 
flashplayer_${version}_sa.$arch.tar.gz
            mv flashplayer_${version}_sa.$arch.tar.gz ..
        fi
    done

popd &>/dev/null
rm -rf $t
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to