tis-rocketchat icon

Rocket.Chat

Paquet d’installation silencieuse pour Rocket.Chat

4.8.0-18

  • package: tis-rocketchat
  • name: Rocket.Chat
  • version: 4.8.0-18
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Team Rocket.Chat
  • licence: MIT
  • locale: all
  • target_os: debian,ubuntu
  • impacted_process: Rocket.Chat
  • architecture: x64
  • signature_date:
  • size: 86.87 Mo
  • homepage : https://rocket.chat/

package           : tis-rocketchat
version           : 4.8.0-18
architecture      : x64
section           : base
priority          : optional
name              : Rocket.Chat
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Rocket.Chat permit to communicate and collaborate with your team, share files, chat in real time or switch to video/audio conferencing
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian,ubuntu
min_wapt_version  : 2.0
sources           : https://github.com/RocketChat/Rocket.Chat/releases
installed_size    : 
impacted_process  : Rocket.Chat
description_fr    : Rocket.Chat permet de communiquer et collaborer avec votre équipe, partager des fichiers, chatter en temps réel ou passer en conférence audio/vidéo
description_pl    : Rocket
description_de    : Rocket
description_es    : Rocket
description_pt    : Rocket
description_it    : Rocket.Chat permette di comunicare e collaborare con il team, condividere file, chattare in tempo reale o passare a videoconferenze/audioconferenze
description_nl    : Rocket
description_ru    : Rocket
audit_schedule    : 
editor            : Team Rocket.Chat
keywords          : chat,messaging,rocketchat,rocket,communicate,collaborate,share,team,file,conferencing
licence           : MIT
homepage          : https://rocket.chat/
package_uuid      : b20a9b36-f2fa-4de5-9459-0211dd13bf18
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/RocketChat/Rocket.Chat.Electron/releases/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-05T02:03:19.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         : TvravhSk32gCcssnphjmgQ0eWvCdSzz3hFEz/pVTKxHVoKDGKZ7U5OPjW8iJxX9k79KlKtG1D/pKEeu1Xv/jwnBs0auGPfy8A9gA3InTpxGyOAlDxDP1J0K1FnGL9XwjGA1rJKbDlDk4IBEK/fxx41XAbN1qB5qnXNltLydj0w0LL63CP2oDcsRImf/M/7sfFwQ7p0vuUjNq3OEeV2bRqMpDpQjUj4kyH7tTK2XBq7RhVUqjbJs4mNjY8ktlpwqo7N5FqM7YCbiz3qPmPk+IdYbjyHOYAnob4MTmGzmRgQWjEAIxhpXxi0+Tf7VNrA/Q8vLK+r7eWmzOldFaS15ohw==

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

# Declaring specific app values (TO CHANGE)
package_name = "rocketchat"


def install():
    # Specific app values
    install_deb(glob.glob("*.deb")[0])


def uninstall():
    # Uninstalling the package
    print("Uninstalling: %s" % package_name)
    uninstall_apt(package_name)

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json

# Declaring specific app values (TO CHANGE)
package_name = "rocketchat"


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

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system() == "Windows" and isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxy = {"http": proxywapt, "https": proxywapt}

    # Specific app values
    app_name = control.name
    git_repo = "RocketChat/Rocket.Chat.Electron"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest informations from Github API
    json_load = json.loads(wgets(url_api, proxies=proxy))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith("-linux-amd64.deb"):
            url_dl_deb = download["browser_download_url"]
            break

    version = json_load["tag_name"]

    latest_bin_deb = url_dl_deb.split("/")[-1]

    print("Latest " + app_name + " version is: " + version)
    print("Download url for APT-based systems is: " + url_dl_deb)

    # Downloading latest binaries
    if not isfile(latest_bin_deb):
        print("Downloading: " + latest_bin_deb)
        wget(url_dl_deb, latest_bin_deb, proxies=proxy)

        # Changing version of the package
        control.version = "%s-%s" % (version, int(control.version.split("-", 1)[1]) + 1)
        control.save_control_to_wapt()
        print("Changing version to " + control.version + " in WAPT\\control")
    else:
        print("This package is already up-to-date")

    # Deleting outdated binaries
    for bin_in_dir in glob.glob("*.deb"):
        if bin_in_dir != latest_bin_deb:
            print("Outdated binary: " + bin_in_dir + " Deleted")
            remove_file(bin_in_dir)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3302de01a2b3f73f3b440ba7ea924006b4492cc5cd081a1752b123e28738dba5 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
e7e9169c36e6429158950b6a7d9a8cbea58ca1a9f996394f019d232b799037eb : luti.json
332c0a50621ed03c9f9d883ec1ab5f25da7621dd816bc5608dab9e4db42d7c9a : rocketchat-4.8.0-linux-amd64.deb
c75c3526147584ca3d0c30f3a7da0fbca79d2ba5d4e0129ba2b2c4db3e3aca0b : setup.py
1556616badc3ce748974f1c29cb46b95f76cdc66497dbdc7e1d835c437dd854c : update_package.py