tis-chromium icon

Chromium

Paquet d’installation silencieuse pour Chromium

136.0.7103.97

  • package: tis-chromium
  • name: Chromium
  • version: 136.0.7103.97
  • 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: 203.96 Mo
  • installed_size: 431.64 Mo
  • homepage : https://www.chromium.org/getting-involved/download-chromium

package           : tis-chromium
version           : 136.0.7103.97
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      : bf1b69dd-bda6-42d0-a70d-bb15e2d0780e
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-05-12T05:04:16.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         : uZZ5DeqcCZl9kNigKcoLmTCc156WcgrhRsgGjQ4qI+tW954fpgAPzjWAngOP4rtgxCzz/1XC63uTkGdD6AO5G1h/sM5dsY01H6b+edJjL080QlCOQnqebE5PfCqrFhpCXwzDU4gAe8lSggjxYtoHnVodJtkmyFEGzs7QA+dWfEWuUn48gQNAeBCztLq96AEr78GjEtE2IqI8g9DiNpeQlITDRXuJyHwa4ziiArNE3pQ4fBHX54Tsx+d+LCdi0s9Q9VuXy054KxslUi3jW7bJY+VJ4eza8PBkJgdr+EeQ+VEpVOwb6iaIRmBUEEJ1k1QVrxYStlEx1dYys4S5CIeUXA==

# -*- 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
3fc8cf9c29342566a7be4f135700c3516fb9562efb895e9dacd44728b5b3f302 : WAPT/control
eb39468140f268f2c4ab888344aaa0c15c79569f0f162d76e798d7ae9594de0c : WAPT/icon.png
ad653f2a41ac336a0a63e5992cab476f1a6370d458e56c28c0e59f6e8e7da820 : chrome-linux.zip
a445bbdf4ec4653fbac59c33522853b210d99a591d1b95d473f8b7a762db5e22 : luti.json
7ff2acd0571ac92e380db2f67774965d94914c920843bf04e1a6cf88addbd187 : setup.py
534e618a2547575ebadca837181e90c9cbfa7b4c452ce98c40b1f5062ce36f7b : update_package.py