tofu
Paquet d’installation silencieuse pour tofu
1.11.4-1
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-opentofu-portable
- name: tofu
- version: 1.11.4-1
- maintainer: Amel FRADJ
- licence: MPL-2.0 license
- target_os: windows
- architecture: all
- signature_date:
- size: 32.39 Mo
- homepage : opentofu.org
package : tis-opentofu-portable
version : 1.11.4-1
architecture : all
section : base
priority : optional
name : tofu
categories :
maintainer : Amel FRADJ
description : OpenTofu is an OSS tool for creating, modifying and versioning infrastructure securely and efficiently
depends :
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : OpenTofu est un outil OSS permettant de créer, de modifier et de versionner une infrastructure de manière sûre et efficace
description_pl : OpenTofu to narzędzie OSS do bezpiecznego i wydajnego tworzenia, modyfikowania i wersjonowania infrastruktury
description_de : OpenTofu ist ein OSS-Tool, mit dem man eine Infrastruktur sicher und effizient erstellen, ändern und versionieren kann
description_es : OpenTofu es una herramienta OSS para crear, modificar y versionar infraestructuras de forma segura y eficiente
description_pt : O OpenTofu é uma ferramenta OSS para criar, modificar e versionar infra-estruturas de forma segura e eficiente
description_it : OpenTofu è uno strumento OSS per la creazione, la modifica e il versionamento di infrastrutture in modo sicuro ed efficiente
description_nl : OpenTofu is een OSS-tool voor het veilig en efficiënt maken, wijzigen en versiebeheer van infrastructuur
description_ru : OpenTofu - это OSS-инструмент для безопасного и эффективного создания, изменения и версионирования инфраструктуры
audit_schedule :
editor :
keywords :
licence : MPL-2.0 license
homepage : opentofu.org
package_uuid : f72e67ce-1811-4712-9a05-2d372098de34
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 68a49e9c72829057aafb675ea8f2a67602d89a93321bb0fa1e0f48d685c5e679
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-01-21T16:58:15.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 : byhD13vHZEK6MNNaRo9384XPLi+UwcVXxA/90cHdVkNb8O7YQvbCW8DPgeLPAqQ6BIRHuQAbTAkVZwlN7WhaXYoLMkLqj9molvv/yneL5AdEwbFm9PqbF29GIhnbbHapI1GLsocYBNimeiSy0fgq7gXkk87Alp5UpaEKGMuFy0IvPpsPBocKyeQDFguN8WayqmIzYhPWSTd+EQwKHvBg9KjgILzXHD2I2A2YG2E2MZ8oIS5S0WR+lGGRm2ntluVpXk1Y/kQc2eCwZ36vCskfBadNaWZr6Dqj0IdbFmwzRLFSbxU7s1tzremm7VHlZ/uISdsjjN405KsCGl6/ZrI/Xw==
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "tofu "
editor_dir = makepath(programfiles, "tofu")
app_dir = makepath(editor_dir, "tofu")
app_path = makepath(app_dir,"tofu.exe")
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"*.zip")[0]
unzipped_dir = "tofu"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
unzip(zip_name, unzipped_dir)
print('Copy tofu to %s' % app_dir)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
# Creating custom shortcuts
create_desktop_shortcut(app_name, target=app_path)
create_programs_menu_shortcut(app_name, target=app_path)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
if dir_is_empty(editor_dir):
remove_tree(editor_dir)
# Removing shortcuts
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "opentofu/opentofu"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith("windows_386.zip") :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.zip'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
9aec57dd170b049d5cff2510f52d2e117c39779839e1c2c340bc8743de5acf61 : WAPT/control
68a49e9c72829057aafb675ea8f2a67602d89a93321bb0fa1e0f48d685c5e679 : WAPT/icon.png
fc24c78a4bedf0abb59d9bff4e4d08c4809995b08b1a701411bfef6eec58285e : luti.json
9b5d20c72a0c8e96f7fbdcc6e5e7f3bae84eee18270f4364fab15913461cd5e2 : setup.py
59551bbaef6af4903b3b93856e31cf0474a45da2c51ddedf62ce11ae5ac78433 : tofu_1.11.4_windows_386.zip
146cfc90f815af7bf32984092d697c4e798b2e3a3e317913c59b6fd82b185e5b : update_package.py