wok-6.x diff firefox-official-en-GB/receipt @ rev 24448

firefox-official*: disable update by policy
author Hans-G?nter Theisgen
date Tue Feb 15 10:43:08 2022 +0100 (2022-02-15)
parents 8ae9e1d172f0
children eecd62c54525
line diff
     1.1 --- a/firefox-official-en-GB/receipt	Mon Feb 14 07:01:08 2022 +0100
     1.2 +++ b/firefox-official-en-GB/receipt	Tue Feb 15 10:43:08 2022 +0100
     1.3 @@ -8,14 +8,17 @@
     1.4  SHORT_DESC="Official Firefox build by the Mozilla foundation (English language for Great Britain)."
     1.5  MAINTAINER="al.bobylev@gmail.com"
     1.6  LICENSE="MPL2"
     1.7 -WEB_SITE="http://www.mozilla.org/firefox"
     1.8 +WEB_SITE="https://www.mozilla.org/firefox"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11 -WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2"
    1.12 +WGET_URL="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2"
    1.13  
    1.14  PROVIDE="firefox-official browser-html5"
    1.15  SUGGESTED="vlc"
    1.16  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap"
    1.17 +
    1.18 +CONFIG_FILES="/opt/mozilla/firefox/distribution/policies.json"
    1.19 +
    1.20  HOST_ARCH="i486"
    1.21  
    1.22  # What is the latest version available today?
    1.23 @@ -31,7 +34,7 @@
    1.24  	# Installation path
    1.25  	fx='/opt/mozilla/firefox'
    1.26  
    1.27 -	mkdir -p $install$fx
    1.28 +	mkdir -p $install$fx/distribution
    1.29  	mkdir -p $install/usr/bin
    1.30  	mkdir -p $install/usr/share/applications
    1.31  	mkdir -p $install/usr/share/icons/hicolor/128x128/apps
    1.32 @@ -59,7 +62,12 @@
    1.33  	# because 77.0 is the last 32 bit version
    1.34  
    1.35  	# Desktop shortcut
    1.36 -	cp $stuff/firefox-official.desktop $install/usr/share/applications
    1.37 +	cp $WOK/firefox-official/stuff/firefox-official.desktop	\
    1.38 +				$install/usr/share/applications
    1.39 +
    1.40 +	# Disable update
    1.41 +	cp $WOK/firefox-official/stuff/policies.json	\
    1.42 +				$install$fx/distribution
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.