tis-chromium icon

Chromium

Silent install package for Chromium

157.0.8103.38-1
Internet
Internet

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

package           : tis-chromium
version           : 157.0.8103.38-1
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          : chromium, browser, web, internet, chrome
licence           : 
homepage          : https://www.chromium.org/getting-involved/download-chromium
package_uuid      : e23b53ef-2820-40ae-b157-87031713c896
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    : 2026-11-09T05:08:32.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         : GjXeL3SFqP6ZFIThXlUcaWEu2ylggoymME4w3fFsHmDq9jC1qW5K90YbrF+kDXxpZRX8q4cP9EUayEJsMl/algjozcYk3tI7J6MRwDmw8mWgN92kDurrEbNyeQRLthwsotCaIZWxmEWgEnhCL0qaVHxYjM2FIYd0Wn1v0mmXmB4cWdzvQIX9YmNgH9iF0lsRuMxS+YaxUYiFBFB+6YlXIbhjPl5oqW8X4LxufLexDinQFV5LBgtNpdCNnXEHhzHVYf3XrF1gbTeOLRG3/rcL9IiuDGIH5/YzvNTW54NUZWtOrtLXWp+Lvg4vzPC7dM054p5xdLizl3EWOb/RCZINgA==

# -*- 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://api.github.com/repos/ungoogled-software/ungoogled-chromium/releases/latest"
    json_load = wgets(url_version, proxies=proxies, as_json=True)
    version = json_load["tag_name"].split("-")[0]

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

    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d1c852acbd03e3f6ad241b1aeee4d1a80fe3c928b63e2eeac6e34595b038eee4 : WAPT/control
eb39468140f268f2c4ab888344aaa0c15c79569f0f162d76e798d7ae9594de0c : WAPT/icon.png
dc1dcc7de9a71072d14ff5547f7ce76a95dc5cd0f1f579be25483015a835e733 : chrome-linux.zip
147eec7eec0b0f8ae3adb5f3aa04f9e7ca3406e5cb3552bd345bf5ed32e4201b : luti.json
7ff2acd0571ac92e380db2f67774965d94914c920843bf04e1a6cf88addbd187 : setup.py
5f9095bff3f5632831592e84c90b8f90ccb596214f46b5c87e0e5e488b5d318e : update_package.py