tis-rocketchat icon

Rocket.Chat

Paquet d’installation silencieuse pour Rocket.Chat

4.7.1-18

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

package           : tis-rocketchat
version           : 4.7.1-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      : 4a6e687c-7de7-48d5-9fe6-cb098e0c47ed
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-07-08T22:01:53.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         : agBdFrJqSEalYQpl7ekejrpUP/XkAgWBEh2yicbp8S+Lywvb0vdBqrN1JpSXCj63InDhrReW3ornW3oGI0TpSduwrTwickEaQ9ioX+cSEqSy3UNHvwN1xtOSAna30jVWCkuop7TpSC1WcH84xtJpp2DgXum68dKWEDgQb/X6OBDczvivB+oarJT0R4Eqn+Kij/Hg//wVESFmJyEuIH+VdZQ8utMyilblVvZiIh6E2nYbet7LbEXgCbyx1Fu43mdUGqR9Xs3sgczDMP2n8QbFmFncWmgQ1kPutXoztLkkUoILEtk/sf9ZrYsvL1SqNY73mTrlNKEgQKAjUFMbmZeBvQ==

# -*- 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
f8dec519835ca24a563a2b264bfc45c9b8455b877cc9a7a4edc518d9dbf2f5d8 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
a7c068b54ba67e25da16ae364ce9a55d516bea2c88ba24f299c9fa51fb06109c : luti.json
e96af8d39f23794fa125a7c9995f4d404900b7af7d1387f22a6b54c2a908402c : rocketchat-4.7.1-linux-amd64.deb
c75c3526147584ca3d0c30f3a7da0fbca79d2ba5d4e0129ba2b2c4db3e3aca0b : setup.py
1556616badc3ce748974f1c29cb46b95f76cdc66497dbdc7e1d835c437dd854c : update_package.py