- package: tis-olvid
- name: Olvid
- version: 2.4.2-2
- categories: Messaging
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- licence: opensource_free,cpe:/a:gnu:agpl_v3,wapt_public
- target_os: windows(>=10.0)
- impacted_process: Olvid
- architecture: x64
- signature_date:
- size: 126.39 Mo
- installed_size: 240.14 Mo
package : tis-olvid
version : 2.4.2-2
architecture : x64
section : base
priority : optional
name : Olvid
categories : Messaging
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Olvid est un système de messagerie instantanée chiffrée. La mise en relation se fait entre téléphones et sans intervention du serveur d'adresses de l'opérateur
depends :
conflicts :
maturity : PROD
locale :
target_os : windows(>=10.0)
min_wapt_version : 2.3
sources :
installed_size : 240139322
impacted_process : Olvid
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence : opensource_free,cpe:/a:gnu:agpl_v3,wapt_public
homepage :
package_uuid : bd8d0eb2-e8ba-4f9d-82f1-e83aea340f75
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : dd1ccba811494a7e4cf44af7ba8fe9a8606f8d023820008d240378cbd8d3ec22
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-03-16T21:04:49.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 : f73JJjosY3qWOVfYKF2pMPYzcTNRBJPQ0g87XOAn0CXGPpTiL1cA3QwLRNsmkLDspWTYmwGhrsOD6QpGoM0aR1WbZINsrP9bFujYuPrGfUQOWUbbEXvlO93XMWDEFbvRNjcvpnxoHHL/+hhVNnhsiuEct+mMPPMIQWn8LPNNnEOo7GIDWZ0KF2QWu54Lk8m4FxW7OpEIJltpkBQY3nPbimJZaepoXf7xC/v1ZgGA6vcdOnftGy0cxi+sp2Vj9OF2+oJ6xbmojtF14k9xa+K9+lQwHwGRDdxSWmik/VUxpNZa6k/kt/WdjKn86X8cTP786Nj1TPIIMCfRaa0seXLNFA==
# -*- coding: utf-8 -*-
from setuphelpers import *
app_dir = makepath(programfiles, "Olvid")
def install():
bin_name = glob.glob("Olvid-*.msi")[0]
install_msi_if_needed(
bin_name,
properties=f'INSTALLDIR="{app_dir}" /lv "C:\Windows\Temp\{bin_name}.log"',
timeout=600,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://www.olvid.io/download/fr/"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "i", "class", "fa fa-download", proxies=proxies):
if "msi" in bs_search.parent.get("href", ""):
download_url = bs_search.parent.get("href", "")
latest_bin = bs_search.parent.get("href", "").split("/")[-1]
version = latest_bin.split("-")[-1].rsplit(".", 1)[0]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.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)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# arch_list = ensure_list(control.architecture)
# remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Checking version from file
if get_os_name() == "Windows" and "windows" in control.target_os.lower():
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) == Version(version, 4):
print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
else:
error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
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()
# Validating or not update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
c9ae6306337bc8f83c7312a8c57173455ee885a60b4bad4458f2e44b47ae4018 : Olvid-2.4.2.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
8ca4e6279891da115091ac5b885663eb739fc19169a21a1274a6d8f42f3f14f9 : WAPT/control
dd1ccba811494a7e4cf44af7ba8fe9a8606f8d023820008d240378cbd8d3ec22 : WAPT/icon.png
6f1220f4e5f1ae98cd5b203a78d9a11dd5f550f73151d313dede41a560950018 : luti.json
38459dff943c08a78d6ea18178acdf64b9560744d44dfb8b98982aaa31f53bd9 : setup.py
1506b035b561fc6501ad832e5b4d424e92292560ea79a22c81ee2af67a1206b7 : update_package.py