tis-rocketchat icon

Rocket.Chat

Silent install package for Rocket.Chat

4.10.0-18
Messaging
Messaging

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-rocketchat
  • name: Rocket.Chat
  • version: 4.10.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.20 Mo
  • homepage : https://rocket.chat/

package           : tis-rocketchat
version           : 4.10.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          : PREPROD
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      : 206431fd-4700-4076-9cf2-11dde6f9536e
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            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-05T15:30:22.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         : YeBY8adImF7Zqalll00JaHnEOsQtkNsvg/ROGnJ+CVCBzRFVsNIvokmqv7UYlFbatv3gEZMSA29NEyYqRO7slRR6vxxYTehWy4rsy7ew9qXGI7udAPvQVSaU/8pLllaAq9QsdWsxRogeXKtbXl/fk/p2JmjgLwFVpsAZbpnG8/nqwROKT/j/Y10PUTKlFDGJCtV4XMgLS7uYJtRiHvVpAgZpVuqSmK5mTXDhklT4maasSsfsCMlwZfiQ1AIofpyW1uKJXaquYX0WTjAjTojy8aWOKHVW+7GRkdsstHbxwF7AiZ1vJaIg70F6U8T19ZpeiiKYCdinyBxPBPwBZffj4g==

# -*- 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)

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
8830a8bf2700ab9523915e2a0e882c7b7932b950fadefdfcb49cc19a0db324c0 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
ec6b31298b89dd30001ba17f561d7ebc6c5dd33e9c39a99de3d37e5e525459b5 : luti.json
ed202ad7f0d863a2191f5db624a148435c5cab188e1e36a4d787be188306823a : rocketchat-4.10.0-linux-amd64.deb
c75c3526147584ca3d0c30f3a7da0fbca79d2ba5d4e0129ba2b2c4db3e3aca0b : setup.py
1556616badc3ce748974f1c29cb46b95f76cdc66497dbdc7e1d835c437dd854c : update_package.py