Page 1 of 1

Firefox ESR

Posted: 20 Sep 2017, 10:39
by rych
Firefox Extended Support Release for Your Organization...
https://www.mozilla.org/en-US/firefox/organizations/
It's stable on 52.3.0 and no more unnecessary "new features" updates breaking my add-ons; will still receive rare security updates. In my view, this could be the one stock Firefox version shipping with porteus. Anyway, could someone skillful please build the 64bit xzm?

Firefox ESR

Posted: 20 Sep 2017, 14:23
by Ed_P
I agree. Download the ESR that you want, put it in the /tmp folder then run update-firefox in a terminal window. :good:

Firefox ESR

Posted: 20 Sep 2017, 15:08
by rych
Building a Firefox xzm myself using update-firefox didn't quite work for some reason. So I've come to this forum for help, "xzm module requests". But we can turn it into instructing me how to build it myself if you prefer.

Firefox ESR

Posted: 20 Sep 2017, 15:47
by Ed_P
:sorry: I didn't pick up on the section's name.

I just created the module and will email it to you.

Firefox ESR

Posted: 21 Sep 2017, 01:37
by rych
Oh, thanks so much. Would it make it's way to x86_64/Porteus-v3.2.2/modules/ folder (perhaps replacing the multitude of other Firefox versions there)?

Firefox ESR

Posted: 21 Sep 2017, 02:55
by Ed_P
rych wrote:
21 Sep 2017, 01:37
Oh, thanks so much.
But to do that you need to respond to the email I sent you earlier via the forum's email link. Then we can respond email to email and I can attach the file.
Would it make it's way to x86_64/Porteus-v3.2.2/modules/ folder (perhaps replacing the multitude of other Firefox versions there)?
That is where modules go. And you only need the one Firefox module. Supporting modules like Flash & Java you will still need.

BTW I run this script periodically to show me the latest ESR module and how it compares to the module I am using. Feel free to tweak it to your needs.

Code: Select all

#!/bin/sh

# https://forum.porteus.org/viewtopic.php?f=140&t=6878&p=54816#p54799
# https://ftp.mozilla.org/pub/firefox/releases/latest-esr/README.txt
#   wget -O FirefoxSetup.exe "https://download.mozilla.org/?product=firefox-esr-latest&os=linux64&lang=en-US"

FIREFOX=https://download-installer.cdn.mozilla.net/pub/firefox/releases/
ARCH=i386
if [ `echo $MACHTYPE | sed -e 's/-.*$//'` = x86_64 ]; then
   ARCH=x86_64
fi

if [ -d  "/tmp/ffreleases" ]; then
   rm /tmp/ffreleases/index*
   rm /tmp/esr*
fi

#set -x
wget $FIREFOX                                     -P /tmp/ffreleases > /dev/null 2>&1
cat /tmp/ffreleases/index.html | grep "esr/"       > /tmp/esrs
cat /tmp/esrs                  | grep "releases/5" > /tmp/esr5s

echo
readarray -t ESRS < /tmp/esr5s

read td href <<< ${ESRS[${#ESRS[*]}-1]}

echo ${href:27:-21}
echo 
ls  /mnt/sda6/porteus3.2/Modules/firefox*.xzm    # Location of Porteus module folder currently used. 

if [ "$1" != "" ]; then cat /tmp/esrs | tail -n 2; fi
echo
echo Press Enter to download the update-firefox module.
read 
wget $FIREFOX${href:28:-21}"linux-"$ARCH"/en-US/""firefox-"${href:28:-22}".tar.bz2" -P /tmp/
echo
ls /tmp/firefox-*
exit

Firefox ESR

Posted: 22 Sep 2017, 03:24
by Ed_P
Gmail supports mailing large attachments, files greater than 25MB, by automatically uploading the file to Google Drive and inserting a link to it in the email. :good:

Firefox ESR

Posted: 22 Sep 2017, 07:51
by rych
Indeed! Thank you, the module works well except it shows no icons in LXDE and LXQt, but when I type `firefox` it starts and shows the correct, ESR version. I hope @brokenman will consider including it as an official Firefox module.

Firefox ESR

Posted: 22 Sep 2017, 14:57
by Ed_P
:good:

Look in the Menu > Internet section. Is there Firefox option shown? If so Right click on it and choose add to Desktop.

If not, look in /usr/share/applications and see if there is a Firefox icon there. If so copy it to your Desktop folder.

If not, in your Desktop folder create a firefox.desktop file.

Code: Select all

[Desktop Entry]
Exec=firefox %u
Icon=firefox
Type=Application
Categories=Network;
Name=Firefox
If none of those options work, I'll email one to you. :celebrate3:

Firefox ESR

Posted: 01 Oct 2017, 05:28
by Ed_P

Firefox ESR

Posted: 02 Oct 2017, 09:44
by rych
Ed_P, thank you! It works and doesn't appear to break any extension as it's only about "stability fixes", hopefully it wont update again for a while now.

Firefox ESR

Posted: 13 Dec 2017, 05:50
by rych
@Ed_P, there is a new version in the ESR channel http://ftp.mozilla.org/pub/firefox/rele ... sr.tar.bz2

Could you teach me how to make an xzm module from the bz2 file or the unpacked folder which is simply called 'firefox'. What I don't see is how it can be made 'intstallable'.

Firefox ESR

Posted: 13 Dec 2017, 06:21
by Ed_P
Hi rych. Thanks for the heads up. :good:

What I do with these updates is:
1. Download the ESR bz2 file to the /tmp folder
2. Switch to root mode
su
password
3. Then run update-firefox.
update-firefox converts the bz2 file to a Slackware package
then makes a Porteus xzm module with it.

All the details of the update-firefox process are shown here:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# update-firefox
Checking internet ...
Downloading: update-firefox-live  DONE

 A firefox tarball was found in /tmp 
 We will use this archive to create firefox.

Choose the firefox file you want to process.


1) firefox-52.5.2esr.tar.bz2
#? 1
CHOICE:firefox-52.5.2esr.tar.bz2
 Checking for Porteus ... 
[PASS] Distro is Porteus

A slackware package will be created. 
 Would you like to create a Porteus module? [y/n]
 Decompressing firefox tarball ... 
firefox/
firefox/libnss3.so
firefox/libmozsandbox.so
firefox/platform.ini
firefox/libnspr4.so
firefox/libplc4.so
firefox/run-mozilla.sh
firefox/defaults/
firefox/defaults/pref/
firefox/defaults/pref/channel-prefs.js
firefox/dictionaries/
firefox/dictionaries/en-US.dic
firefox/dictionaries/en-US.aff
firefox/gtk2/
firefox/gtk2/libmozgtk.so
firefox/updater
firefox/libsmime3.so
firefox/libmozgtk.so
firefox/icudt58l.dat
firefox/plugin-container
firefox/libmozavutil.so
firefox/libnssdbm3.chk
firefox/icons/
firefox/icons/updater.png
firefox/libnssckbi.so
firefox/libnssdbm3.so
firefox/gmp-clearkey/
firefox/gmp-clearkey/0.1/
firefox/gmp-clearkey/0.1/clearkey.info
firefox/gmp-clearkey/0.1/libclearkey.so
firefox/Throbber-small.gif
firefox/browser/
firefox/browser/features/
firefox/browser/features/firefox@getpocket.com.xpi
firefox/browser/features/e10srollout@mozilla.org.xpi
firefox/browser/features/webcompat@mozilla.org.xpi
firefox/browser/features/aushelper@mozilla.org.xpi
firefox/browser/icons/
firefox/browser/icons/mozicon128.png
firefox/browser/crashreporter-override.ini
firefox/browser/blocklist.xml
firefox/browser/omni.ja
firefox/browser/extensions/
firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
firefox/browser/chrome.manifest
firefox/browser/chrome/
firefox/browser/chrome/icons/
firefox/browser/chrome/icons/default/
firefox/browser/chrome/icons/default/default48.png
firefox/browser/chrome/icons/default/default32.png
firefox/browser/chrome/icons/default/default16.png
firefox/dependentlibs.list
firefox/libmozavcodec.so
firefox/liblgpllibs.so
firefox/update-settings.ini
firefox/libmozsqlite3.so
firefox/updater.ini
firefox/application.ini
firefox/omni.ja
firefox/libsoftokn3.so
firefox/firefox-bin
firefox/libsoftokn3.chk
firefox/libfreeblpriv3.so
firefox/crashreporter.ini
firefox/libfreeblpriv3.chk
firefox/firefox
firefox/libssl3.so
firefox/removed-files
firefox/libnssutil3.so
firefox/precomplete
firefox/fonts/
firefox/fonts/EmojiOneMozilla.ttf
firefox/chrome.manifest
firefox/minidump-analyzer
firefox/libxul.so
firefox/libplds4.so
firefox/crashreporter
 Linking firefox binary ... 
/tmp/portff
 Copying firefox files ... 
 Creating duckduckgo file ... 
 Creating install files ... 
 Copying config files ... 
cp: cannot stat '/home/guest/files/*': No such file or directory
chown: cannot access '/tmp/portff/ff.13142/home/guest': No such file or directory
Creating slackware package ...

Slackware package maker, version 3.141593.

Searching for symbolic links:
usr/bin/firefox	/usr/lib64/firefox-52.5.2esr/firefox
usr/lib64/firefox	./firefox-52.5.2esr

Making symbolic link creation script:
( cd usr/bin ; rm -rf firefox )
( cd usr/bin ; ln -sf /usr/lib64/firefox-52.5.2esr/firefox firefox )
( cd usr/lib64 ; rm -rf firefox )
( cd usr/lib64 ; ln -sf ./firefox-52.5.2esr firefox )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed './usr/bin/firefox'
removed './usr/lib64/firefox'

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/firefox-52.5.2esr-x86_64-1.txz

./
install/
install/doinst.sh
install/slack-desc
usr/
usr/share/
usr/share/applications/
usr/share/applications/browser.desktop
usr/share/applications/mozilla-firefox.desktop
usr/bin/
usr/lib64/
usr/lib64/firefox-52.5.2esr/
usr/lib64/firefox-52.5.2esr/updater.ini
usr/lib64/firefox-52.5.2esr/updater
usr/lib64/firefox-52.5.2esr/update-settings.ini
usr/lib64/firefox-52.5.2esr/run-mozilla.sh
usr/lib64/firefox-52.5.2esr/removed-files
usr/lib64/firefox-52.5.2esr/precomplete
usr/lib64/firefox-52.5.2esr/plugin-container
usr/lib64/firefox-52.5.2esr/platform.ini
usr/lib64/firefox-52.5.2esr/omni.ja
usr/lib64/firefox-52.5.2esr/minidump-analyzer
usr/lib64/firefox-52.5.2esr/libxul.so
usr/lib64/firefox-52.5.2esr/libssl3.so
usr/lib64/firefox-52.5.2esr/libsoftokn3.so
usr/lib64/firefox-52.5.2esr/libsoftokn3.chk
usr/lib64/firefox-52.5.2esr/libsmime3.so
usr/lib64/firefox-52.5.2esr/libplds4.so
usr/lib64/firefox-52.5.2esr/libplc4.so
usr/lib64/firefox-52.5.2esr/libnssutil3.so
usr/lib64/firefox-52.5.2esr/libnssdbm3.so
usr/lib64/firefox-52.5.2esr/libnssdbm3.chk
usr/lib64/firefox-52.5.2esr/libnssckbi.so
usr/lib64/firefox-52.5.2esr/libnss3.so
usr/lib64/firefox-52.5.2esr/libnspr4.so
usr/lib64/firefox-52.5.2esr/libmozsqlite3.so
usr/lib64/firefox-52.5.2esr/libmozsandbox.so
usr/lib64/firefox-52.5.2esr/libmozgtk.so
usr/lib64/firefox-52.5.2esr/libmozavutil.so
usr/lib64/firefox-52.5.2esr/libmozavcodec.so
usr/lib64/firefox-52.5.2esr/liblgpllibs.so
usr/lib64/firefox-52.5.2esr/libfreeblpriv3.so
usr/lib64/firefox-52.5.2esr/libfreeblpriv3.chk
usr/lib64/firefox-52.5.2esr/icudt58l.dat
usr/lib64/firefox-52.5.2esr/icons/
usr/lib64/firefox-52.5.2esr/icons/updater.png
usr/lib64/firefox-52.5.2esr/gtk2/
usr/lib64/firefox-52.5.2esr/gtk2/libmozgtk.so
usr/lib64/firefox-52.5.2esr/gmp-clearkey/
usr/lib64/firefox-52.5.2esr/gmp-clearkey/0.1/
usr/lib64/firefox-52.5.2esr/gmp-clearkey/0.1/libclearkey.so
usr/lib64/firefox-52.5.2esr/gmp-clearkey/0.1/clearkey.info
usr/lib64/firefox-52.5.2esr/fonts/
usr/lib64/firefox-52.5.2esr/fonts/EmojiOneMozilla.ttf
usr/lib64/firefox-52.5.2esr/firefox-bin
usr/lib64/firefox-52.5.2esr/firefox
usr/lib64/firefox-52.5.2esr/dictionaries/
usr/lib64/firefox-52.5.2esr/dictionaries/en-US.aff
usr/lib64/firefox-52.5.2esr/dictionaries/en-US.dic
usr/lib64/firefox-52.5.2esr/dependentlibs.list
usr/lib64/firefox-52.5.2esr/defaults/
usr/lib64/firefox-52.5.2esr/defaults/pref/
usr/lib64/firefox-52.5.2esr/defaults/pref/channel-prefs.js
usr/lib64/firefox-52.5.2esr/crashreporter.ini
usr/lib64/firefox-52.5.2esr/crashreporter
usr/lib64/firefox-52.5.2esr/chrome.manifest
usr/lib64/firefox-52.5.2esr/browser/
usr/lib64/firefox-52.5.2esr/browser/chrome/
usr/lib64/firefox-52.5.2esr/browser/chrome/icons/
usr/lib64/firefox-52.5.2esr/browser/chrome/icons/default/
usr/lib64/firefox-52.5.2esr/browser/chrome/icons/default/default16.png
usr/lib64/firefox-52.5.2esr/browser/chrome/icons/default/default32.png
usr/lib64/firefox-52.5.2esr/browser/chrome/icons/default/default48.png
usr/lib64/firefox-52.5.2esr/browser/chrome.manifest
usr/lib64/firefox-52.5.2esr/browser/extensions/
usr/lib64/firefox-52.5.2esr/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
usr/lib64/firefox-52.5.2esr/browser/omni.ja
usr/lib64/firefox-52.5.2esr/browser/blocklist.xml
usr/lib64/firefox-52.5.2esr/browser/crashreporter-override.ini
usr/lib64/firefox-52.5.2esr/browser/icons/
usr/lib64/firefox-52.5.2esr/browser/icons/mozicon128.png
usr/lib64/firefox-52.5.2esr/browser/features/
usr/lib64/firefox-52.5.2esr/browser/features/aushelper@mozilla.org.xpi
usr/lib64/firefox-52.5.2esr/browser/features/webcompat@mozilla.org.xpi
usr/lib64/firefox-52.5.2esr/browser/features/e10srollout@mozilla.org.xpi
usr/lib64/firefox-52.5.2esr/browser/features/firefox@getpocket.com.xpi
usr/lib64/firefox-52.5.2esr/application.ini
usr/lib64/firefox-52.5.2esr/Throbber-small.gif
usr/lib64/firefox-52.5.2esr/distribution/
usr/lib64/firefox-52.5.2esr/distribution/searchplugins/
usr/lib64/firefox-52.5.2esr/distribution/searchplugins/locale/
usr/lib64/firefox-52.5.2esr/distribution/searchplugins/locale/en-US/
usr/lib64/firefox-52.5.2esr/distribution/searchplugins/locale/en-US/ddg.xml
WARNING:  zero length file usr/lib64/firefox-52.5.2esr/chrome.manifest
WARNING:  zero length file usr/lib64/firefox-52.5.2esr/browser/chrome.manifest

Slackware package /tmp/firefox-52.5.2esr-x86_64-1.txz created.

/tmp/portff
Verifying package firefox-52.5.2esr-x86_64-1.txz.
Installing package firefox-52.5.2esr-x86_64-1.txz:
PACKAGE DESCRIPTION:
Executing install script for firefox-52.5.2esr-x86_64-1.txz.
Package firefox-52.5.2esr-x86_64-1.txz installed.

Creating /tmp/firefox-52.5.2esr-x86_64-1.xzm


DONE

root@porteus:/home/guest#