tis-beebeep icon

BeeBEEP

Paquet d’installation silencieuse pour BeeBEEP

5.8.4-3

  • package: tis-beebeep
  • name: BeeBEEP
  • version: 5.8.4-3
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • locale: all
  • target_os: windows
  • impacted_process: beebeep
  • architecture: all
  • signature_date:
  • size: 30.66 Mo
  • homepage : https://www.beebeep.net/

package           : tis-beebeep
version           : 5.8.4-3
architecture      : all
section           : base
priority          : optional
name              : BeeBEEP
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : BeeBEEP is the office messaging application that does not need an external server to let users communicate with each other
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.beebeep.net/download
installed_size    : 
impacted_process  : beebeep
description_fr    : BeeBEEP est une application de messagerie de bureau qui ne nécessite pas de serveur externe pour permettre aux utilisateurs de communiquer entre eux
description_pl    : BeeBEEP to biurowa aplikacja do przesyłania wiadomości, która nie potrzebuje zewnętrznego serwera, aby użytkownicy mogli się ze sobą komunikować
description_de    : BeeBEEP ist die Office-Messaging-Anwendung, die keinen externen Server benötigt, damit die Benutzer miteinander kommunizieren können
description_es    : BeeBEEP es la aplicación de mensajería de oficina que no necesita un servidor externo para que los usuarios se comuniquen entre sí
description_pt    : BeeBEEP é a aplicação de mensagens de escritório que não necessita de um servidor externo para permitir que os utilizadores comuniquem entre si
description_it    : BeeBEEP è un'applicazione di messaggistica per ufficio che non necessita di un server esterno per consentire agli utenti di comunicare tra loro
description_nl    : BeeBEEP is de kantoor messaging applicatie die geen externe server nodig heeft om gebruikers met elkaar te laten communiceren
description_ru    : BeeBEEP - это офисное приложение для обмена сообщениями, которому не нужен внешний сервер, чтобы пользователи могли общаться друг с другом
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : https://www.beebeep.net/
package_uuid      : f0663d80-8ccd-4f18-8a43-65f3ca494343
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://sourceforge.net/p/beebeep/code/HEAD/tree/CHANGELOG.txt
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c36524d14d5dde1683a7961e66a430c8e00fea440aa332a107bd2396e6f61297
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : hTEtlc24DeeOVYNTou52/erheSh4iWcMhUyMwo2doK+AeTHrw6uLSyuNn9QXSpEcKj1s91m1gP+XqENd0bUBvo63oMrCb08xC37t1QpENLxuiO6tMRaYOIv2aHnPuZjHqsIxImT9grPPRkjsM02gg4SQaPCuZ6N637Ibr1+SayJ40oy5aFr+oBEXuMR+x/6w5J7nYYndoCxH7/qimIVbZcZriqLXyb0JFebM32ZFRj0vQhWjuICej/2+1lfPaSn6AaC/65hGYYHcPXK+BpWHVC+ES5nxFUO8Cr79ghI6sgO6Gp9DmEPmjt70P4p0Wdb+ksEgQWjGsLl1ZH225C27pw==
signature_date    : 2022-08-01T04:30:54.096557
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

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


def install():
    bin_name = glob.glob("beebeep-setup*")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="{85A0D6B6-2163-425F-92E7-E0BC4CEDCE9A}_is1",
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://sourceforge.net/projects/beebeep/best_release.json"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["platform_releases"]:
        latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1]
        if "beebeep-setup-" in latest_bin:
            download_url = json_load["platform_releases"][download]["url"]
            # version = download_url.split("/")[-2]
            version = latest_bin.split("-")[-1].rsplit(".", 1)[0]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin).split("-")[0]
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

53f39274aa16a12fa36c3f56a084051db59fbfe19fa049dac684280b16e4b9c4 : setup.py
7bad44d872cf63e8665ce842fcceaf9dedf3c3bc3cf68c34d513fb68bc38048a : beebeep-setup-5.8.4.exe
41fed9f53681f30f9d1ae392c9b447ceb5dc222899a48ad715d256d72af70d80 : update_package.py
c36524d14d5dde1683a7961e66a430c8e00fea440aa332a107bd2396e6f61297 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
df581e42c0116a76ccc90678db554d5397c6a15b0f99a9ed619c684f59c3a38f : luti.json
a9af3ab7385573e5408b0daab84f9ebef623cea6c6825d48c3a53cd06a7b1a72 : WAPT/control