tis-chromium icon

Chromium

Paquet d’installation silencieuse pour Chromium

140.0.7339.137

  • package: tis-chromium
  • name: Chromium
  • version: 140.0.7339.137
  • categories: Internet
  • maintainer: WAPT Team,Jimmy PELÉ,Amelie LE JEUNE,Alexandre GAUVRIT
  • editor: Google
  • locale: all
  • target_os: debian_based
  • impacted_process: chrome
  • architecture: x64
  • signature_date:
  • size: 212.94 Mo
  • installed_size: 431.64 Mo
  • homepage : https://www.chromium.org/getting-involved/download-chromium

package           : tis-chromium
version           : 140.0.7339.137
architecture      : x64
section           : base
priority          : optional
name              : Chromium
categories        : Internet
maintainer        : WAPT Team,Jimmy PELÉ,Amelie LE JEUNE,Alexandre GAUVRIT
description       : Chromium Web Browser - Latest commit build from Google
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian_based
min_wapt_version  : 2.4
sources           : https://srvdev.ad.tranquil.it/sources/tis-chromium-wapt/trunk
installed_size    : 431640576
impacted_process  : chrome
description_fr    : Navigateur Web Chromium - version developpement par Google
description_pl    : Chromium Web Browser - najnowsza kompilacja od Google
description_de    : Chromium Web Browser - Neuester Commit-Build von Google
description_es    : Navegador web Chromium - Última compilación de Google
description_pt    : Chromium Web Browser - Compromisso mais recente compilado pelo Google
description_it    : Browser web Chromium - Ultimo commit da parte di Google
description_nl    : Chromium webbrowser - Laatste commit build van Google
description_ru    : Веб-браузер Chromium - последний коммит сборки от Google
audit_schedule    : 
editor            : Google
keywords          : Browser
licence           : 
homepage          : https://www.chromium.org/getting-involved/download-chromium
package_uuid      : dfeda41f-f87b-40ea-a05d-d7046e25f2b7
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : eb39468140f268f2c4ab888344aaa0c15c79569f0f162d76e798d7ae9594de0c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-09-15T05:02:41.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         : HSFL+rI6lvu+VD2bAy1bJWm77uBd7BUrcBbGShunLuaD9zAdAcZrdasv2rbtQeI/GV7YeATAfqyElUTU19oHo8I+JvjINqRWx6KpsPHdfzjPknpX+FT/IOkcNs3kkhmBUeuC8Z5467L9gM8O+Q9UaxtGm8Cgg7+tCXmAOUDr+k2TumDLhzF4vgTHQ6WJ0nWXdKcWtfGnr+iZ+5ueKmCqZGop20I7863cq8bfXzNnFhtEIP16TJeawOsTycBsYuc+60V/kw5ZHO0naQWdfNnZr1QtF8mkopHLpXt1w4dr6kRdJaS31lwx+GIqzk7ABlNsg6tUTsKKdGXixvdIHGuiDg==

# -*- coding: utf-8 -*-
from setuphelpers import *
import zipfile

bin_path = makepath("/", "usr", "local", "bin")
app_path = "/opt/chromium"

def install():
    filename = glob.glob("*.zip")[0]
    extract_path = makepath(app_path, "temp_extracted")
    if not isdir(extract_path):
        mkdirs(extract_path)
    with zipfile.ZipFile(filename, "r") as zip_ref:
        zip_ref.extractall(extract_path)
    if not isdir(app_path):
        mkdirs(app_path)
    copytree2(extract_path, app_path)
    run(f"chmod 750 /opt/chromium/chrome-linux/chrome")
    run(f"chmod 750 /opt/chromium/chrome-linux/chrome_crashpad_handler")
    # Symlink
    Symlink = f"{bin_path}/chromium"
    if isfile(Symlink) or os.path.islink(Symlink):
        print("Symlink already exist, remove it")
        os.remove(Symlink)
        print("Creation of symlink in the PATH")
        os.symlink(f"{app_path}/chrome-linux/chrome", f"{bin_path}/chromium")
    else:
        print("Creation of symlink in the PATH")
        os.symlink(f"{app_path}/chrome-linux/chrome", f"{bin_path}/chromium")
    # cleanup extract_path
    if isdir(extract_path):
        remove_tree(extract_path)
    

def uninstall():
    # Removing of symlink
    if isfile(f"{bin_path}/chromium"):
        remove_file(f"{bin_path}/chromium")
    # Removing of the software 
    if isdir(app_path):
        remove_tree(app_path)

# -*- coding: UTF-8 -*-
from setuphelpers import *

def update_package():
    print("Download/Update package content from upstream binary sources")

    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    latest = wget(
        "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2FLAST_CHANGE?alt=media", "latest.txt", proxies=proxies
    )
    latest_file = open(latest, "r")
    latest_commit = latest_file.read()

    for file_exe in glob.glob("*linux.zip"):
        remove_file(file_exe)

    wget(f"https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F" + latest_commit + "%2Fchrome-linux.zip?alt=media",
        "chrome-linux.zip",
        proxies=proxies,
    )

    # Changing version of the package
    url_version = "https://chromium.woolyss.com/"
    for bs_search in bs_find_all(url_version, "div", "id", "linux-stable-ungoogled-marmaduke", proxies=proxies):
        version = bs_search.find('small').text.split(' ')[0]

    latest_file.close()
    remove_file(r"latest.txt")

    control.set_software_version(version)
    control.save_control_to_wapt()


38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
609bf0cc7b59ec433b285230de0e0c0f677daf69e4e278250525d47cc07d477d : WAPT/control
eb39468140f268f2c4ab888344aaa0c15c79569f0f162d76e798d7ae9594de0c : WAPT/icon.png
99ee32f2e1e216845bcc844063eda68561306521e67105c706560afe33cf36ea : chrome-linux.zip
4d8cb80e69d0a26849932ffa013f55a1f1c88f2d02da9de5b438a6d27fdefed6 : luti.json
7ff2acd0571ac92e380db2f67774965d94914c920843bf04e1a6cf88addbd187 : setup.py
534e618a2547575ebadca837181e90c9cbfa7b4c452ce98c40b1f5062ce36f7b : update_package.py