tis-smartmontools icon

smartmontools

Silent install package for smartmontools

7.4-2

  • package: tis-smartmontools
  • name: smartmontools
  • version: 7.4-2
  • categories: Utility
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
  • editor: Bruce Allen, Christian Franke, Guido Guenther
  • licence: opensource_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: smartd,smartctl,smartctl-nc
  • architecture: all
  • signature_date:
  • size: 1.41 Mo
  • installed_size: 4.41 Mo
  • homepage : https://www.smartmontools.org/

package           : tis-smartmontools
version           : 7.4-2
architecture      : all
section           : base
priority          : optional
name              : smartmontools
categories        : Utility
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
description       : The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA/SATA, SCSI/SAS and NVMe disks
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/smartmontools/smartmontools/releases
installed_size    : 4411188
impacted_process  : smartd,smartctl,smartctl-nc
description_fr    : Le paquet smartmontools contient deux utilitaires (smartctl et smartd) pour contrôler et surveiller les systèmes de stockage en utilisant le système SMART (Self-Monitoring, Analysis and Reporting Technology System) intégré dans la plupart des disques modernes ATA/SATA, SCSI/SAS et NVMe.
description_pl    : Pakiet smartmontools zawiera dwa programy narzędziowe (smartctl i smartd) do kontroli i monitorowania systemów pamięci masowej z wykorzystaniem systemu Self-Monitoring, Analysis and Reporting Technology (SMART) wbudowanego w większość nowoczesnych dysków ATA/SATA, SCSI/SAS i NVMe
description_de    : Das smartmontools-Paket enthält zwei Dienstprogramme (smartctl und smartd) zur Steuerung und Überwachung von Speichersystemen unter Verwendung des in den meisten modernen ATA/SATA-, SCSI/SAS- und NVMe-Festplatten integrierten Self-Monitoring, Analysis and Reporting Technology System (SMART)
description_es    : El paquete smartmontools contiene dos programas de utilidad (smartctl y smartd) para controlar y supervisar los sistemas de almacenamiento utilizando el sistema de tecnología de autocontrol, análisis e información (SMART) incorporado en la mayoría de los discos ATA/SATA, SCSI/SAS y NVMe modernos
description_pt    : O pacote smartmontools contém dois programas utilitários (smartctl e smartd) para controlar e monitorizar sistemas de armazenamento usando o Sistema de Tecnologia de Auto Monitorização, Análise e Relatórios (SMART) incorporado na maioria dos discos modernos ATA/SATA, SCSI/SAS e NVMe
description_it    : Il pacchetto smartmontools contiene due programmi di utilità (smartctl e smartd) per controllare e monitorare i sistemi di archiviazione utilizzando il sistema tecnologico di auto-monitoraggio, analisi e reporting (SMART) integrato nella maggior parte dei moderni dischi ATA/SATA, SCSI/SAS e NVMe
description_nl    : Het smartmontools pakket bevat twee hulpprogramma's (smartctl en smartd) om opslagsystemen te controleren en te bewaken met behulp van het Self-Monitoring, Analysis and Reporting Technology System (SMART) dat in de meeste moderne ATA/SATA, SCSI/SAS en NVMe schijven is ingebouwd
description_ru    : Пакет smartmontools содержит две программы-утилиты (smartctl и smartd) для управления и мониторинга систем хранения данных с помощью системы технологии самоконтроля, анализа и отчетности (SMART), встроенной в большинство современных дисков ATA/SATA, SCSI/SAS и NVMe
audit_schedule    : 
editor            : Bruce Allen, Christian Franke, Guido Guenther
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://www.smartmontools.org/
package_uuid      : 5d9e5eb3-79c2-45ae-82b2-0f7819fc2f72
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/smartmontools/smartmontools/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5d3f019324828a01c9ff7551f3c450523b3624971abb7357bcc354c4c091959f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : m3lkpEiC0UlTPsswYB6rst79gdvOCVFo0p5NrDfadAYBOlYJU4EEBiqNCP9jSDbiko5SVGs5sap2R4CE95bzZep2Q7qXx91dBNpOJ5pRoTIurYPCkyHwvervH6cWA94OdKegHAI5qMjkMaugxWnC4PlWvnpKcXMat563FXa/HkzBbBA/cH4OhQjKrkvDgaBlOUw2H49Pj6y+APbFnipLu02n4Fs+v+g2bgIde10M+1KzlnMbnnC9ulU829GXIeFuvGYb/s99w5Q0YlRW+0MgTEuANKfgREemP+i0JF7ZgqJ1C65kS1xlxXAVJhoQjHNCN+jZLPxEYcdUdjSlUftBrw==
signature_date    : 2023-08-26T18:00:12.484109
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 *


bin_path = makepath(programfiles, "smartmontools", "bin", "smartctl.exe")


def get_soft_version(key):
    return get_file_properties(bin_path)["ProductVersion"]


def install():
    bin_name = glob.glob("smartmontools*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="smartmontools",
        min_version=control.get_software_version(),
        get_version=get_soft_version,
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/smartmontools/smartmontools/releases/latest"
    download_dict = {"windows-all": ".win32-setup.exe"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    for to_download in json_load["assets"]:
        if to_download["name"].endswith(download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]):
            download_url = to_download["browser_download_url"]
            version = json_load["name"].split(" ")[-1]
            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)

    # 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_from_file.startswith(version):
            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)

832d8417434c57ec0544d5934969ba24bd178fc8c864ef04f30968a579967464 : setup.py
76880e7303403667739066782b1c458ede2b4462a8ebd6aeacf97efecd4bdde7 : smartmontools-7.4-1.win32-setup.exe
56a0de3c857272d4f659384756c611c5def120baa90148c16b1ee1cf881ab2f2 : update_package.py
5d3f019324828a01c9ff7551f3c450523b3624971abb7357bcc354c4c091959f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e19fe87159fc342ae2477b8cfd86398b0ebcd9760a62c4c767131fb584108e24 : luti.json
54c1dc325e447402391b3c55923043f33cfe3032a01573ade7027e7178ae433a : WAPT/control