
Mozilla Firefox
Paquet d’installation silencieuse pour Mozilla Firefox
143.0.4-111
Internet
Internet
- package: tis-firefox
- name: Mozilla Firefox
- version: 143.0.4-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: 81.57 Mo
- homepage : https://www.mozilla.org/
- conflicts :
package : tis-firefox
version : 143.0.4-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 : 35327fc7-988f-4ceb-ab45-2b89d90de60f
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 : 2025-10-03T20:03:37.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 : Veby3vbYwS5kwjwySyzOlt5vMv418YTOd/tfw/eyWeNWaZ0cvRUnQbTt/MxlYJlaaCjFWDEFKrI3jEqCVG5YDT1WH6jklJQQo52G2Obg3b0NyJy8Boo1m7p9J55hNToR0R5HCsG/JF8nX5Q7YA3qJhw1FJYtopyeG3IzbuTuWm6wmB0bHJJykQxXbLY2rN8ZJqpR+62MwXwZylorvirX+yAG1N1xPVA+QoXQyfqx9kBaPzQ7xiMqL3Z84CDUOuEsRE0YTVH9DAEnDoTDm16N+Wo+7QDQxX28VzQwl5+JSb6MGZfn3QGMdqIED5zAb9XyP31h8z5p5PGojdobZtQ7aA==
# -*- 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
b1b013859a60122dd78f6e4f47b22d2ac4670937f30da050071fca01e464caf1 : WAPT/control
2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e : WAPT/icon.png
45e09ab585223c385a3fc48b9a7ad5167ba0b8d700a29df7b0a6028bafeb8b89 : firefox-143.0.4.tar.xz
080c0702dd5ff1408644cb834f9d74cdd4ada422836d3e234a5c22cb0979f3fa : firefox.desktop
59e7e21e93155ddb34a87136dc1aafac6aaa7f5c4311f495f3fe0f9625aa6f9e : luti.json
5f892d4afc3d7642c6ac7b6e1f6e9587f42bf4ff2fd56da090a21ec85b94443f : setup.py
8f85f89637a8a7a8674045acf4385df32dd5f4e322f46860a0a25381da6d95c7 : update_package.py