WAPT Agent
Paquet d’installation silencieuse pour WAPT Agent
2.6.1.17576-0
System and network
System and network
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-waptupgrade
- name: WAPT Agent
- version: 2.6.1.17576-0
- categories: System and Network
- maintainer: WAPT Team,Jimmy PELÉ,Hubert TOUVET,Simon Fonteneau
- editor: Tranquil IT
- target_os: macos
- impacted_process: waptconsole,waptself,wapt-get,waptmessage,wapttray,waptexit
- architecture: x64
- signature_date:
- size: 86.88 Mo
- homepage : https://www.wapt.fr
package : tis-waptupgrade
version : 2.6.1.17576-0
architecture : x64
section : base
priority : critical
name : WAPT Agent
categories : System and Network
maintainer : WAPT Team,Jimmy PELÉ,Hubert TOUVET,Simon Fonteneau
description : Deployement of the WAPT Agent (with the WAPT Console)
depends :
conflicts :
maturity : PREPROD
locale :
target_os : macos
min_wapt_version : 2.1
sources :
installed_size :
impacted_process : waptconsole,waptself,wapt-get,waptmessage,wapttray,waptexit
description_fr : Déploiement de l'agent WAPT (avec la console WAPT)
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Tranquil IT
keywords :
licence :
homepage : https://www.wapt.fr
package_uuid : f0909dfd-08ca-4114-a854-fcf1a6f9b70d
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 6dc8f2da8919852f729d395f63b92a33a0304323c3535981d335a50a83273ca5
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2025-11-18T14:38:06.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 : Lzqo6hMaFT4kvGnowXar9yj/V0to/19R4NupSQ7obx3KM5AQKoi8I6lhr91pw29t9VID0iSvcrlxt0BOi07wHYwtqpO16jIv91OhipFdgWZHU5J/B+bQ0jBEr+F8MwHT7ZlB4S1j2XybTtErDaUuEvDnJcgqT7jhxfRXuuic0PvqMCiT+w0Ec4Ukzg34vdQ+c50t+S+3xmScMvB/6r2/Ja6co+MkMM4mkzb8JEDstknlTK8rIbd5by4aFG8aSLPGxA2q2Q5THnmF1OUZSBUyd29YGBf+jYXr+Q95WWabEocQOhVamY+ThbToA+iR39J5wIDyUQTHpr2jub0LZnYjwQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
import subprocess
os_name = "%(os_name)s"
def installed_wapt_version():
try:
with open(os.path.join(WAPT.wapt_base_dir, "version-full")) as fver:
installed_wapt_version = fver.read()
except:
installed_wapt_version = "0.0.0.0"
return installed_wapt_version
def install():
waptagent_package_file = glob.glob('*.pkg')[0]
print("Install %s" % control.asrequirement())
if isfile(makepath(WAPT.wapt_base_dir, "waptserver", "server.py")):
print("Wapt server installed on this host. Aborting")
return "OK"
package_wapt_version = control.get_software_version()
if force or Version(installed_wapt_version()) < package_wapt_version:
filecopyto(waptagent_package_file,'/opt/wapt/waptsetup.pkg')
subprocess.Popen("sleep 60 && installer -package /opt/wapt/waptsetup.pkg -target / && rm -f /opt/wapt/waptsetup.pkg && launchctl kickstart -k system/it.tranquil.waptservice",shell=True, executable='/bin/bash', start_new_session=True)
else:
print("Your current wapt (%s) is same or more recent than the upgrade package (%s). Skipping..." % (installed_wapt_version, package_wapt_version))
def audit():
# Comparing installed WAPT agent version and package version
(package_wapt_version, package_packaging) = control.version.split("-")
if Version(installed_wapt_version()) < control.get_software_version():
print(
"The installed version of the WAPT agent and the version of the package are not corresponding. The installation may have just finished. If this warning persists one day after installation, please take this into consideration."
)
return "WARNING"
else:
print("The installed version of the WAPT agent and the version of the package are corresponding.")
return "OK"
# -*- coding: utf-8 -*-
from waptpackage import PackageEntry
from setuphelpers import *
import json
def update_package():
data = json.loads(wgets('https://wapt.tranquil.it/wapt/releases/latest/wapt_agent_list.json'))
for entry in data:
p = PackageEntry()
p.package = 'tis-waptupgrade'
p.min_os_version = entry['wapt_min_os_version']
p.max_os_version = entry['wapt_max_os_version']
p.target_os = entry['wapt_target_os']
p.architecture = entry['wapt_architecture']
if not WAPT.host_capabilities().is_matching_package(p):
continue
matchentry = entry
break
wget(matchentry['url'],matchentry['url'].split('/')[-1],sha256=matchentry['file_sha256'])
control.target_os = matchentry['wapt_target_os']
control.min_os_version = matchentry['wapt_min_os_version']
control.max_os_version = matchentry['wapt_max_os_version']
control.architecture = matchentry['wapt_architecture']
control.set_software_version(matchentry['wapt_version'])
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
f9d06536fc100872fe60fc82957b6b640f3a50a41d30ea3cf0e89f8c4a34da16 : WAPT/control
6dc8f2da8919852f729d395f63b92a33a0304323c3535981d335a50a83273ca5 : WAPT/icon.png
618e7cb28cdde854780633d337c0f3ceea1074d45669ce4e597b73f226bf1d13 : luti.json
67799c69852809c578e7f92a21f0925ca3b4559dd41731574a8ce3f03d1a9708 : setup.py
dcb63e0adf6fee849a162ad632c34c9a0990f1fa3b41ad89c0f87f326bcbbc13 : tis-waptagent-2.6.1.17576-407e255f-macos-all-x86_64.pkg
46c9a0f8a72bb5e12461c7333240355fc8f232973ae438ae36e9f241558f38d5 : update_package.py