opt/firefox-bin/Pkgfile
Fredrik Rinnestam 734a27410b [notify] firefox-bin: updated to 74.0. Fix for:
CVE-2020-6805
CVE-2020-6806
CVE-2020-6807
CVE-2020-6808
CVE-2020-6809
CVE-2020-6810
CVE-2020-6811
CVE-2019-20503
CVE-2020-6812
CVE-2020-6813
CVE-2020-6814
CVE-2020-6815

Advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2020-08/
2020-03-10 20:08:33 +01:00

34 lines
1.0 KiB
Plaintext

# Description: Firefox binary
# URL: http://www.mozilla.com
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
# Depends on: gtk3 dbus-glib
name=firefox-bin
version=74.0
release=1
source=(http://ftp.mozilla.org/pub/firefox/releases/$version/linux-x86_64/en-US/firefox-$version.tar.bz2 \
policies.json firefox.desktop)
build() {
cd firefox
install -d $PKG/usr/{lib,bin}
mv $SRC/firefox $PKG/usr/lib/firefox
ln -s /usr/lib/firefox/firefox $PKG/usr/bin/firefox
mkdir -p $PKG/usr/lib/firefox/lib
mkdir -p $PKG/etc/revdep.d
echo "/usr/lib/firefox" > $PKG/etc/revdep.d/firefox-bin
#We don't want these 'features'
rm -r $PKG/usr/lib/firefox/browser/features
# Disable autoupdate
mkdir $PKG/usr/lib/firefox/distribution
install -m644 $SRC/policies.json $PKG/usr/lib/firefox/distribution/
install -m644 -D $SRC/firefox.desktop $PKG/usr/share/applications/firefox.desktop
install -m755 -d $PKG/usr/share/pixmaps
ln -s /usr/lib/firefox/browser/chrome/icons/default/default32.png \
$PKG/usr/share/pixmaps/firefox.png
}