Flash Emergency-update..once again

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Flash Emergency-update..once again

Post#16 by francois » 30 Mar 2016, 17:02

I have my episodes of alien bob blog reading. :)

I value very much his work and devotion to slackware and linux.
Prendre son temps, profiter de celui qui passe.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Flash Emergency-update..once again

Post#17 by donald » 08 Apr 2016, 12:06

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)

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Flash Emergency-update..once again

Post#18 by Bogomips » 08 Apr 2016, 12:29

usm still on 577. Verified alien still on 577.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Flash Emergency-update..once again

Post#19 by Ed_P » 08 Apr 2016, 14:11

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. :)
Last edited by Ed_P on 09 Apr 2016, 14:20, edited 5 times in total.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Flash Emergency-update..once again

Post#20 by Ed_P » 09 Apr 2016, 06:22

FWIW USM has the 616 alien module except it errors out with the LIBS.TXT file is missing.
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Flash Emergency-update..once again

Post#21 by Slaxmax » 09 Apr 2016, 20:09

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/
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Flash Emergency-update..once again

Post#22 by Blaze » 10 Apr 2016, 08:58

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
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Flash Emergency-update..once again

Post#23 by donald » 11 May 2016, 23:37


Evan
Shogun
Shogun
Posts: 466
Joined: 11 Apr 2016, 09:00
Distribution: Distribution: *

Re: Flash Emergency-update..once again

Post#24 by Evan » 11 May 2016, 23:42

<removed>
Last edited by Evan on 24 Jun 2016, 12:44, edited 1 time in total.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Flash Emergency-update..once again

Post#25 by Ed_P » 12 May 2016, 00:20

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:
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Flash Emergency-update..once again

Post#26 by brokenman » 12 May 2016, 01:35

On Porteus-v3.2 just open a root console and type: update-flash
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: Flash Emergency-update..once again

Post#27 by Rava » 26 Sep 2016, 07:09

[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?
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Flash Emergency-update..once again

Post#28 by Ed_P » 26 Sep 2016, 16:04

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
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: Flash Emergency-update..once again

Post#29 by Rava » 26 Sep 2016, 18:08

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.
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: Flash Emergency-update..once again

Post#30 by Rava » 26 Sep 2016, 18:16

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?
Cheers!
Yours Rava

Post Reply