Page 2 of 3

Re: Flash Emergency-update..once again

Posted: 30 Mar 2016, 17:02
by francois
I have my episodes of alien bob blog reading. :)

I value very much his work and devotion to slackware and linux.

Re: Flash Emergency-update..once again

Posted: 08 Apr 2016, 12:06
by donald
11.2.202.577 is (again) unsafe....who would have thought?..lol
https://helpx.adobe.com/security/produc ... 16-10.html
new version 11.2.202.616 (Linux)

Re: Flash Emergency-update..once again

Posted: 08 Apr 2016, 12:29
by Bogomips
usm still on 577. Verified alien still on 577.

Re: Flash Emergency-update..once again

Posted: 08 Apr 2016, 14:11
by Ed_P
This works.

Code: Select all

#!/bin/sh
# http://forum.porteus.org/viewtopic.php?f=53&t=4840&p=35284#p35280

ALIEN=http://www.slackware.com/~alien/slackbuilds/flashplayer-plugin/build
ARCH=i386
if [ `echo $MACHTYPE | sed -e 's/-.*$//'` = x86_64 ]; then
   ARCH=x86_64
fi

FPVERSION=616

if [ `whoami` != "root" ]; then
  echo "Module unavailable via USM?"
  echo -en "Press Enter to download vrsn $FPVERSION, Ctrl+C to end.\n"
  read answer
fi

if [ `whoami` != "root" ]; then
  ktsuss "$0 $1"
  exit
fi

if [ -d  "/home/guest/Downloads/flashplayer-plugin/" ]; then
   rm /home/guest/Downloads/flashplayer-plugin/*
fi
wget $ALIEN/flashplayer-plugin.SlackBuild                           -P /home/guest/Downloads/flashplayer-plugin
wget $ALIEN/install_flash_player_11.2.202.$FPVERSION_linux_$ARCH.gz -P /home/guest/Downloads/flashplayer-plugin
wget $ALIEN/slack-desc                                              -P /home/guest/Downloads/flashplayer-plugin

cd   /home/guest/Downloads/flashplayer-plugin

chmod +x flashplayer-plugin.SlackBuild
./flashplayer-plugin.SlackBuild

txz2xzm /tmp/*.txz

echo
echo Done
Ed_P wrote:This works.
Actually NO. It creates a 491 flashplayer module!! :sorry:

-edit-

My error. :oops: Fixed script. :)

Re: Flash Emergency-update..once again

Posted: 09 Apr 2016, 06:22
by Ed_P
FWIW USM has the 616 alien module except it errors out with the LIBS.TXT file is missing.

Re: Flash Emergency-update..once again

Posted: 09 Apr 2016, 20:09
by Slaxmax
Guys, flashplayer 11 is died.
Why not use pepperflash?
Pepperflash is updated contains many improvements and works on all flash pages.
Plugins NPAPI (example flash 11) on borrowed time.

See this page
only Chrome and Chromium have latest flashplayer version in linux (PAPPI).
http://www.adobe.com/software/flash/about/

Edit:
more information end of life (NPAPI)
https://blog.mozilla.org/futurereleases ... n-firefox/

Re: Flash Emergency-update..once again

Posted: 10 Apr 2016, 08:58
by Blaze
Better use for this small GUI script - Adobe Flash Player Auto Updater
Image For newbies it's simple and does not need to know USM commands. No dependencies from the Slackware packages.
The most recent update of Adobe Flash Player in your box. Plus you can choose manual or auto update Adobe Flash Player.

Thanks to Geoffrey

Re: Flash Emergency-update..once again

Posted: 11 May 2016, 23:37
by donald

Re: Flash Emergency-update..once again

Posted: 11 May 2016, 23:42
by Evan
<removed>

Re: Flash Emergency-update..once again

Posted: 12 May 2016, 00:20
by Ed_P
Blaze wrote:Better use for this small GUI script - Adobe Flash Player Auto Updater
Image .
Wow!!

Beware of the Open Software Updater window that pops up and tries to get you to download their ISP & browser updates when you try these links using Windows. :evil:

Re: Flash Emergency-update..once again

Posted: 12 May 2016, 01:35
by brokenman
On Porteus-v3.2 just open a root console and type: update-flash

Re: Flash Emergency-update..once again

Posted: 26 Sep 2016, 07:09
by Rava
[quote="bour59"]slackware-current (latest)
get from /extra/flashplayer-plugin/flashplayer-plugin.Slackbuilds

Code: Select all

# Determine the latest version by checking the web page:
VERSION=${VERSION:-"$(wget -O - http://www.adobe.com/software/flash/about/ 2>/dev/null | sed -n "/Firefox - NPAPI/{N;p}" | tr -d ' '| tail -1 | tr '<>' '  ' | cut -f3 -d ' ')"}
The code seems no longer to be working as it should (for me, see below), when downloading manually via wget -O - http://www.adobe.com/software/flash/about/ >/tmp/adobeflashabout and checking with file /tmp/adobeflashabout, I get this:

Code: Select all

/tmp/adobeflashabout: gzip compressed data, from Unix
To get the info I wanted I renamed and decompressed /tmp/adobeflashabout like so:

Code: Select all

cat abobeflashabout.html | sed -n "/Firefox - NPAPI/{N;p}" | tr -d ' '| tail -1 | tr '<>' '  ' | cut -f3 -d ' '
11.2.202.635
Does the code as above still work okay for you guys?

Me things it could be a local setup issue, since I use a setup that disguises my wget as being a Firefox browser, and browsers handle gzipped webpages all the fime, but in instances like this it seems my trick kicked me in my butt instead...

Any idea of how to setup procedure that still enables scripts to work as they should, even when someone setup a setup like me, disguising wget as a browser?

Re: Flash Emergency-update..once again

Posted: 26 Sep 2016, 16:04
by Ed_P
This seems to be working for me.

Porteus 3.2rc5 Cinnamon 64-bit Firefox 48.0b6

Code: Select all

guest@porteus:~$ ./flashplayer-version-ck.sh
Latest version = 11.2.202.635
Using version =  22.0.0.209-x86_64-1.xzm
guest@porteus:~$ 
flashplayer-version-ck.sh

Code: Select all

# http://forum.porteus.org/viewtopic.php?f=48&t=5627&p=43636#p43406

# Determine the latest version by checking the web page:
VERSION=${VERSION:-"$(wget -O - http://www.adobe.com/software/flash/about/ 2>/dev/null | sed -n "/Firefox - NPAPI/{N;p}" | tr -d ' '| tail -1 | tr '<>' '  ' | cut -f3 -d ' ')"}
echo "Latest version = "$VERSION
LIVE=`grep "flashplayer" /var/log/porteus-livedbg|tail -n1|sed 's^//^/^g'`
LIVE=${LIVE:48}
#LIVE=${LIVE:-20:10}
echo "Using version = " $LIVE

Re: Flash Emergency-update..once again

Posted: 26 Sep 2016, 18:08
by Rava
Ed_P, could you do me a favour and manually download the file with wget (best tell it in wich file it should out it, since it might creating sub-folders in that case, I used -O to be sure), then check it with file [filename]. I am sure since you used a non tweaked wget setup, it downloads it as plain html, but I am not 100% sure, so, could you check that for me.

I try to disable my setup and give you the heads up.

Re: Flash Emergency-update..once again

Posted: 26 Sep 2016, 18:16
by Rava
And here the heads up: this is my ~/wgetrc :

Code: Select all

###
### Sample Wget initialization file .wgetrc by http://www.askapache.com
###
##
## Local settings (for a user to set in his $HOME/.wgetrc).  It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to "normal" users.
##
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.
##

header = Accept-Language: en-us,en;q=0.5
header = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
header = Accept-Encoding: gzip,deflate
header = Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 
header = Keep-Alive: 300
user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
referer = http://www.google.com
Can be used when you want some more automated downloads for sites that reject these, or even some sites reject even a single wget download...

When disabling this setup, wget downloads the html as plain html, not as gzipped html, so kinda: case solved. But the issue remains: what can a script coder do when using wget to check things like this and a .wgetrc messes that up?