tis-miranda icon

Miranda

Paquet d’installation silencieuse pour Miranda

0.96.5-1

  • package: tis-miranda
  • name: Miranda
  • version: 0.96.5-1
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public,cpe:/a:apache:license_2.0
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 6.33 Mo

package           : tis-miranda
version           : 0.96.5-1
architecture      : x86
section           : base
priority          : optional
name              : Miranda
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Miranda NG is the successor to the popular Miranda IM multiprotocol instant messaging client for Windows. Extremely fast and requiring very few system resources
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Miranda NG est le successeur d'un client de messagerie instantanée multiprotocole populaire pour Windows  Miranda IM. Très peu gourmand en ressources système et extrêmement rapide
description_pl    : Miranda NG jest następcą popularnego wieloprotokołowego klienta wiadomości błyskawicznych dla systemu Windows, Miranda IM. Wymaga bardzo niewielu zasobów systemowych i jest niezwykle szybka
description_de    : Miranda NG ist der Nachfolger des beliebten Multiprotokoll-Instant-Messaging-Clients für Windows Miranda IM. Sehr geringe Belastung der Systemressourcen und extrem schnell
description_es    : Miranda NG es el sucesor del popular cliente de mensajería instantánea multiprotocolo para Windows, Miranda IM. Requiere muy pocos recursos del sistema y es extremadamente rápido
description_pt    : O Miranda NG é o sucessor do popular cliente de mensagens instantâneas multi-protocolo para Windows, o Miranda IM. Requer muito poucos recursos do sistema e é extremamente rápido
description_it    : Miranda NG è il successore del popolare client di messaggistica istantanea multiprotocollo per Windows, Miranda IM. Richiede pochissime risorse di sistema ed è estremamente veloce
description_nl    : Miranda NG is de opvolger van de populaire multiprotocol instant messaging-client voor Windows, Miranda IM. Het vereist zeer weinig systeembronnen en is extreem snel
description_ru    : Miranda NG - это преемник популярного многопротокольного клиента обмена мгновенными сообщениями для Windows, Miranda IM. Он требует очень мало системных ресурсов и отличается высокой скоростью работы
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public,cpe:/a:apache:license_2.0
homepage          : 
package_uuid      : 209403af-da90-4dcb-8366-88c99970ddf9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2aec26817926d630ca0255340487dcb1cfe5001c21023665c2a1f771a4621a34
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-09-17T10:02:16.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         : hin2C8Y1z/fPbGxV4nOibbFd4gzNBSstlXDONdtXQkH6NYFh5y+CWXim1FQV9w4S6yvMWJWthCi/Xouj5xY27rFVp5w2TJMC7mw4R7EVCVAfsHrrFzD/NlIs0qea2fUhRbZI5HOdzVgemqKb5NVaE4NJNTWgDXZlgUQglOhIT/blPoWg1pnRDMB1CYkn9/J3gBdqfAGvrd7V5z4rqoPHwCnqZQePmaWw2yq+FG82YLFj6ZuLFzGxUT9C0RjhKAvK0MM8mjAD8GzcG/sUxuOHtM+AqybKiWn7LWZoW7lLYAw8LN90tI7Nk49l18L3oQSELBqtoBfjG4RU8asm5nPjAw==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('miranda-ng-*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
        key='Miranda NG_is1',
        min_version=control.get_software_version(),
    )



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




def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    
    url_base = "https://www.miranda-ng.org/downloads/"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "td", proxies=proxies)
    exe_file = None
    for div in divs:
        if exe_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.exe'):
                href = link['href']
                exe_file = href
                download_url ="https://www.miranda-ng.org" + exe_file
                latest_bin = exe_file.split('/')[-1]
                version = latest_bin.split('-')[-1].rsplit('.exe')[0].replace('v','')
                break


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


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

          
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
aafa6ed093638ff827b7c0c6d966f47ce924df4091cee2199d5ba9f3b1f4f021 : WAPT/control
2aec26817926d630ca0255340487dcb1cfe5001c21023665c2a1f771a4621a34 : WAPT/icon.png
1aa6e5021c22cc88febc1dc84c14e77fcd9199ad6262538026b420874bdc4baa : luti.json
537d8b4dc8d295a219fc66148b2ba70ce32c0d1a72613d4700030007754b8067 : miranda-ng-v0.96.5.exe
3ba9e84f94f77765feddbb410280f926d922d4b683edadf84e13643999b3f918 : setup.py
5f4641b2a95aea2b152b503ebc97a5f2bbc05f3a5cb406f7c55818e84f863e44 : update_package.py