tis-qemu icon

QEMU

Paquet d’installation silencieuse pour QEMU

9.2.0-1

  • package: tis-qemu
  • name: QEMU
  • version: 9.2.0-1
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
  • licence: opensource_free,wapt_private
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 181.93 Mo
  • homepage : https://www.qemu.org/

package           : tis-qemu
version           : 9.2.0-1
architecture      : x64
section           : base
priority          : optional
name              : QEMU
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ,
description       : QEMU is a generic, open source machine emulator and virtualizer
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : QEMU est un émulateur et un virtualiseur de machine générique et open source
description_pl    : QEMU to ogólny emulator i wirtualizator maszyn typu open source
description_de    : QEMU ist ein generischer Open-Source-Maschinenemulator und -Virtualisierer
description_es    : QEMU es un emulador y virtualizador de máquinas genérico y de código abierto
description_pt    : O QEMU é um emulador e virtualizador de máquinas genérico e de código aberto
description_it    : QEMU è un emulatore di macchine e un virtualizzatore generico e open source
description_nl    : QEMU is een generieke, open-source machine-emulator en virtualiser
description_ru    : QEMU - это универсальный эмулятор и виртуализатор машин с открытым исходным кодом
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_private
homepage          : https://www.qemu.org/
package_uuid      : daaf2b71-b1e4-4d17-bfa2-ab1b171c39b4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4f205d6e0b5ac723f8bfc134f5e991f855c268c4f3ab0f5dcf3797d789fe17fe
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-25T09:16: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         : ttvQmCVrISnBSt+JV5a3xV6pptc04ZszAv3MOoFYgJu0VpOmby+ExdKW+dlDvAtwcwRiSX8F0o6XKs2POYpGBvG6PkXUiL3zywiKWG5SByJjIGsicUROqIdYLknWmNm1yVtd0tEdynZM9IhgomHsZNqroA0AF1FNMdvKrGndd+L3MVZ9HPQZwXgfTuasS5IqZL8soZnOqvcgwFGhi0OZP2w5TEW9SoTeGOC9Monp0YUQvSxsHuBuhNujhM/Fw+NfywG3ie4qkSCdPEdbx34V9Yh74eKCWL65UirxxViG8/oU7XVTUjllhv1XHh0gcDAXqj5cpF0kee8JbNWCDUOxig==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"QEMU",
   "name":"QEMU",
   "version":"9.0.94",
   "install_date":"",
   "install_location":"",
   "uninstall_string":"\"C:\\Program Files\\qemu\\qemu-uninstall.exe\"",
   "publisher":"QEMU Community",
   "system_component":0,
   "win64":true
  }

"""
# 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("qemu-*.exe")[0]
    # Installing the software

    install_exe_if_needed(bin_name, silentflags="/S", key="QEMU", min_version=control.get_software_version(),)

from setuphelpers import *
import re
import requests


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

    # Getting the latest available year
    base_url = "https://qemu.weilnetz.de/w64/"
    index = wgets(base_url, proxies=proxies)

    # Find the latest year directory
    year_pattern = re.compile(r'<a href="(\d{4}/)">')
    years = sorted(year_pattern.findall(index), reverse=True)

    if not years:
        print("No available year found.")
        return False

    latest_year = years[0].strip("/")

    # Get the index page of the latest year
    year_index = wgets(base_url + latest_year + "/", proxies=proxies)

    # Find the latest version in that year
    version_pattern = re.compile(r"qemu-w64-setup-(\d+)\.exe")
    versions = sorted(version_pattern.findall(year_index), reverse=True)

    if not versions:
        print("No available versions found.")
        return False

    latest_version = versions[0]
    latest_bin = f"qemu-w64-setup-{latest_version}.exe"
    download_url = base_url + latest_year + "/" + latest_bin
    # Construct the version string in the format YYYY.M.D
    version = latest_version[:4] + "." + str(int(latest_version[4:6])) + "." + str(int(latest_version[6:8]))

    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)

    # remove files
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    version =get_version_from_binary(latest_bin)
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
eb5e7f10483dae1c34343de634c17f80e1f41a27ab49f0481e2fa6714566ebfb : WAPT/control
4f205d6e0b5ac723f8bfc134f5e991f855c268c4f3ab0f5dcf3797d789fe17fe : WAPT/icon.png
5a56ce0e9220bbf0d9fac803433944934ae87911f2794ff1fffe1f7e17c87840 : luti.json
50929f001e5c5ea382430fc79b55e86684facb274889d73c3302e39e60bc024b : qemu-w64-setup-20241220.exe
b3fbfee19e794f195f8728245e6d7c8ada59424c606b7207de8da457cfdfb960 : setup.py
b768059d146f838d506ed0e4f8ef28e3e2eb836fdd2d437557e387c543536fcd : update_package.py