tis-xe-guest-utilities icon

XE Guest Utilities

Paquet d’installation silencieuse pour XE Guest Utilities

8.4.0-0

  • package: tis-xe-guest-utilities
  • name: XE Guest Utilities
  • version: 8.4.0-0
  • categories: System and network,Utilities
  • maintainer: Bertrand Lemoigne
  • target_os: debian_based
  • architecture: x64
  • signature_date:
  • size: 836.41 Ko

package           : tis-xe-guest-utilities
version           : 8.4.0-0
architecture      : x64
section           : base
priority          : optional
name              : XE Guest Utilities
categories        : System and network,Utilities
maintainer        : Bertrand Lemoigne
description       : This is the golang guest utilities for XenServer
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : debian_based
min_wapt_version  : 
sources           : https://github.com/xenserver/xe-guest-utilities
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      : b7b82df9-7887-46f2-a8b5-4b6ea1445aff
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 6d59bc7e7b30fbff407a0e61a05bb19d027b35a21166b7084ca2449c95867f88
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-19T17:01:40.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         : mdx6yKscz0/iiIqvMZ8rP/kY60CZXQajTgqR6J+TF/OWM6Gx2l183vZmawiANrBzQcWRLxmca/R61c/l6CRM5vOEjwjHZEfNGCNGS3B3bIdhdovZiH1I57PpdGMrBUYcgsW7ovaQqgYkk+MLFUhbeGjcjO/OXuyMT+EEb1AqfUqsE7/wGFLq28z2XyZpyhYD5yAuLk+WROiELQthNVVsCZWcf3qSKqbqgGVuqZusBrL4t5D4OzK958fsKz7nEU3D4RZMmodjcImSdSL6Y0GCzBXgBaThhTYNxQPbxtt9LeSGL/kcfiTctGSmt9TjM+Ylk62crNc8V1T1QLnk2qoflA==

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

def install():
    bin_name = glob.glob('*.deb')[0]
    install_deb(bin_name)



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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/xenserver/xe-guest-utilities/releases/latest"
    update_dict = {
            "redhat_based-x64": "x86_64.rpm",
            "redhat_based-x86": "i386.rpm",
            "debian_based-x64": "amd64.deb",
            "debian_based-x86": "i386.deb"
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "")
    for to_download in json_load["assets"]:
        if update_dict[control.target_os + "-" + control.architecture] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            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 update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
398f171aa40f157e20218b234ee6786b9d31f60a158096e8727a7c421285bfeb : WAPT/control
6d59bc7e7b30fbff407a0e61a05bb19d027b35a21166b7084ca2449c95867f88 : WAPT/icon.png
c606473370c856a6468902330210c6d071a3786a49045b2daf4f5989eec32c35 : luti.json
5e85be98411093a6e181d09d2e63496c3fa8fab39dafa97c474f5b347c50037b : setup.py
b0b2392bc0f38ddaa6d97f84eb55f98d2eb70606837ce97b813e5c6992388c3b : update_package.py
d5515e73f2ffc7223ceb1f3fe1212ff2d6e31dda49f861c50a07d00c3a7f4ef3 : xe-guest-utilities_8.4.0-1_amd64.deb