Mozilla Firefox
Paquet d’installation silencieuse pour Mozilla Firefox
150.0.1-111
Internet
Internet
- package: tis-firefox
- name: Mozilla Firefox
- version: 150.0.1-111
- categories: Internet
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: Mozilla Foundation,Mozilla Corporation
- licence: MPL 2.0
- locale: fr
- target_os: linux
- impacted_process: firefox
- architecture: x64
- signature_date:
- size: 87.31 Mo
- homepage : https://www.mozilla.org/
- conflicts :
package : tis-firefox
version : 150.0.1-111
architecture : x64
section : base
priority : optional
name : Mozilla Firefox
categories : Internet
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Mozilla Firefox is a free and open-source web browser
depends :
conflicts : tis-firefox-esr,tis-firefox-multi-esr,tis-firefox-multi
maturity : PROD
locale : fr
target_os : linux
min_wapt_version : 2.3
sources : https://www.mozilla.org/firefox/all/#product-desktop-release
installed_size :
impacted_process : firefox
description_fr : Mozilla Firefox est un navigateur web gratuit et open source
description_pl : Mozilla Firefox to darmowa i open-source'owa przeglądarka internetowa
description_de : Mozilla Firefox ist ein kostenloser und quelloffener Webbrowser
description_es : Mozilla Firefox es un navegador web gratuito y de código abierto
description_pt : Mozilla Firefox é um navegador web gratuito e de código aberto
description_it : Mozilla Firefox è un browser web gratuito e open-source
description_nl : Mozilla Firefox is een gratis en open-source webbrowser
description_ru : Mozilla Firefox - бесплатный веб-браузер с открытым исходным кодом
audit_schedule :
editor : Mozilla Foundation,Mozilla Corporation
keywords : web,browser,navigateur,firefox,mozilla
licence : MPL 2.0
homepage : https://www.mozilla.org/
package_uuid : 0bfe4a09-79d1-437c-931f-9e18ba693877
valid_from :
valid_until :
forced_install_on :
changelog : https://www.mozilla.org/firefox/releases/
min_os_version :
max_os_version :
icon_sha256sum : 2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-04-28T23:37:47.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : bssQMF4GlM+b/bD+CuRAOmw+e4IDXYss3fUkM2AShd7aHV/WT85na6G671EwokNBK1wqp1/h+CVPsuleBz/wS4AukFu9PpA4NEBLWR/W2v91QsVxK44fabJnKkcDtxsLZNVapLj++3UWu0SCWqoDTxLMw5+3BQaPTLTjjOP30r7W2zAjiJ80EobUMJU14t8M712FCCsz00AjbNzPEJzB6XGeZxAm6dbYisEQ+3Lbge73h3YjlvKxK5YGWA5VTQqoJik1PIvCurZzQ+ARsqfv1ubsHNuYGRVvbOC1NfjNzygL/z6kO9vfJIsoQKQCJ/VC11mhfh4LbbLEUm+F41SMBA==
# -*- coding: utf-8 -*-
from setuphelpers import *
import tarfile
def install():
filename = f"firefox-{control.get_software_version()}.tar.xz"
run_notfatal("apt-get remove firefox -y")
run_notfatal("apt-get remove firefox-esr -y")
extract_xz(filename)
killalltasks("firefox")
if isdir("/opt/firefox-esr"):
remove_tree("/opt/firefox-esr")
copytree2("firefox", "/opt/firefox-esr")
run("chown -R root:root /opt/firefox-esr")
run("ln -sf /opt/firefox-esr/firefox /usr/bin/firefox")
filecopyto("firefox.desktop", "/usr/share/applications/firefox.desktop")
run("chown root:root /usr/share/applications/firefox.desktop")
def uninstall():
killalltasks("firefox")
remove_file("/usr/share/applications/firefox.desktop")
remove_tree("/opt/firefox-esr")
def extract_xz(filename, path="."):
with tarfile.open(filename, "r:xz") as tar:
tar.extractall(path)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
lang = control.locale
# Translating locale
if "en" in lang:
lang = "en-US"
if "es" in lang:
lang = "es-ES"
arch_dict = {"x64": "linux64", "x86": "linux", "all": "linux"}
download_url = requests.head(
"https://download.mozilla.org/?product=firefox-latest-ssl&os=%s&lang=%s" % (arch_dict[control.architecture], lang), proxies=proxies
).headers["Location"]
latest_bin = download_url.rsplit("/", 1)[1].replace("%20", " ")
version = latest_bin.split("-")[1].split(".tar")[0]
version_from_api = (
wgets("https://product-details.mozilla.org/1.0/firefox_versions.json", proxies=proxies, as_json=True)
.get("LATEST_FIREFOX_VERSION", "0")
)
if Version(version_from_api) > Version(version):
error('Version retrieved from the API is higher than the downloaded file')
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.tar.xz'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bbdc5fe46c5e51eebffa0cbbfe822c568cba37213c479feaef689e06f4c6fab4 : WAPT/control
2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e : WAPT/icon.png
8ace62c3c41df014135d2f598a7e9cbfc8efa0836d0489fc4f12ed8bc5e5b820 : firefox-150.0.1.tar.xz
080c0702dd5ff1408644cb834f9d74cdd4ada422836d3e234a5c22cb0979f3fa : firefox.desktop
e0e6a2643a786f11e79b09a93a46f441b5b9b16b6338024b4dce4e637676bdbc : luti.json
5f892d4afc3d7642c6ac7b6e1f6e9587f42bf4ff2fd56da090a21ec85b94443f : setup.py
8f85f89637a8a7a8674045acf4385df32dd5f4e322f46860a0a25381da6d95c7 : update_package.py