tis-copy-waptagent-linux-mac-on-waptserver icon

tis-copy-waptagent-linux-mac-on-waptserver

Paquet d’installation silencieuse pour tis-copy-waptagent-linux-mac-on-waptserver

2.6.0.17226

  • package: tis-copy-waptagent-linux-mac-on-waptserver
  • version: 2.6.0.17226
  • maintainer: Simon Fonteneau
  • locale: all
  • target_os: windows,linux
  • architecture: all
  • signature_date:
  • size: 476.65 Mo

package           : tis-copy-waptagent-linux-mac-on-waptserver
version           : 2.6.0.17226
architecture      : all
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : Simon Fonteneau
description       : Place the wapt linux and macos agents in the correct folder on the wapt server
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows,linux
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Place les agents wapt linux et macos dans le dans le bon dossier sur le serveur wapt
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 309635ca-639e-4aab-bfc8-f573bf94030e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 6dc8f2da8919852f729d395f63b92a33a0304323c3535981d335a50a83273ca5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T09:38:12.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         : k39YKI/OhdDuEpnskn5x3KWaaZbzyUxU9SFG6b1Hj1P1bH/ZRJvvmVQJef0AFSlyz+t+opQbUaDSxC47IPez7UqPlKORX3tjwa15wksswOtDbhVf8TQWZx09TzAAHc0+ZkrJjmFeZ31Ibnt3CD7Gw+ZCxhOk1Igkl1suXuNjH8wbIszrJO7DCEPlnAS0faPu+kEqOya4uhxqSpX1RXWcifpVnCK67VnopJgbgqbPRSZcUwb/rPF/BH0AsoEz9e/PZfc+BJysoI5XfOIttQ4gulsLFAE3sVQBIf10kywIF8QOXgYgWIvuUs0mb4TE9uBQeltonshZgKpYdJhwPRRcvw==

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


def install():
    if not isdir(makepath(WAPT.wapt_base_dir, 'waptserver')):
        return

    import waptserver.config
    server_config = waptserver.config.load_config()

    waptagent_folder = server_config['agents_folder']

    for f in glob.glob(makepath('waptagent','*')):
        finale_filename = f.split(os.path.sep)[-1]
        filecopyto(f,makepath(waptagent_folder,finale_filename))

        if platform.system() == 'Linux':
            if type_debian():
                nginx_user = 'www-data'
            elif type_redhat():
                nginx_user = 'nginx'
            run('chown wapt:%s "%s"' %  (nginx_user,makepath(waptagent_folder,finale_filename)))



def update_package():

    url = 'https://wapt.tranquil.it/wapt/releases/latest/wapt_agent_list.json'
    datajson = wgets(url, as_json=True)


    for u in datajson:
        urldl = u['url']
        finalfilename = os.path.join('waptagent',u['filename_without_version'])
        fname = urldl.split('/')[-1]

        print('Download %s' % fname)
        wget(urldl,finalfilename, sha256=u['file_sha256'])
        open(finalfilename+'.sha256','w').write(u['file_sha256'])
        control.set_software_version(u['wapt_version'])
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bea43b3cb16dbb99f506b053a1ba088d4c3c41ff3109ed9ec5bca381e58ca5b4 : WAPT/control
6dc8f2da8919852f729d395f63b92a33a0304323c3535981d335a50a83273ca5 : WAPT/icon.png
f78a6be67849395491f98a2b50477175945141c47cf7982e841ef00b307358ad : luti.json
fc676f6a56b144171ed3a77c83d0d9e568b16d4fe948565cca55a1427ed54cf7 : setup.py
75334a6c4ecfa3f3e7f0faeb2f97d0e52e6e96f7634e76826d4aae2fe12b101e : waptagent/tis-waptagent-2.6.0.16767-6f0468d8-macos-all-arm64.pkg
59e66961cc9d5a3007d5102e58cc1e17507664d81b711497dad86cd8050efefd : waptagent/tis-waptagent-2.6.0.16767-6f0468d8-macos-all-arm64.pkg.sha256
9ec7b8313c07867ca75baffea741217ea4233ba3eab267972624e3a6e75a6e2b : waptagent/tis-waptagent-amd64.deb
e64c0dc4b3845df9f486a3444985852e5cef539fafa2fddba1e5e98acc97aeb9 : waptagent/tis-waptagent-amd64.deb.sha256
caba610cc8fc6263a30334eac3d061476811d5903e62121883208d888d5b7b91 : waptagent/tis-waptagent-arm64.deb
41d35c20349ca9fed502771fe93d3c82318217b75d15f5bf38d2b4377b4609fa : waptagent/tis-waptagent-arm64.deb.sha256
afc0f408566fee624863ed760c52e959baafb2435345b49a91e0556cab0e8088 : waptagent/tis-waptagent-armhf.deb
c89dcfd033bb17a043a198f82db9d16d145dfff9f0af1d10c9933ac79eefa305 : waptagent/tis-waptagent-armhf.deb.sha256
b3836cc874d322f42cc712a94390f800895d9947ae891c86ad48bcdd71e288b2 : waptagent/tis-waptagent-gui-amd64.deb
d33b8746d49b352edb28d4410d8542573aa4773db20d11da299e01a80e769ada : waptagent/tis-waptagent-gui-amd64.deb.sha256
7d94d99462fd4d01f6c1c17046179601338652eb90e03be63d767a7a8017005d : waptagent/tis-waptagent-gui.x86_64.rpm
c5b9eec43796951be967be5425074a713bccf00a713bec13f4a02244c4a2510a : waptagent/tis-waptagent-gui.x86_64.rpm.sha256
67c586fc27b65a2d820b12f5dd0e144be974adbd944bb15f74f8a2aabe9d37c0 : waptagent/tis-waptagent-i386.deb
ed0595414777eadb23f2a965d8d7dacc42df7e33d1d8868e71f4e2bf629856cc : waptagent/tis-waptagent-i386.deb.sha256
9d60b933fea006e699833d4b8aaa1986855f1f5a645b7ce50ae9247255c95148 : waptagent/tis-waptagent-macos-all-arm64.pkg
83646b46c3a95aa194b9fa66aa7dcf68e1e58e9d43b973dbeedd07b70fb389d2 : waptagent/tis-waptagent-macos-all-arm64.pkg.sha256
304cf704beab990afa95c75b6a4c3149ae63baa695a4d3401ddad96b6699debd : waptagent/tis-waptagent-macos-all-x86_64.pkg
3587d8e30b94473341dfbde415f82169b2c5fa1983e9223e36d65b1d6f9e68b4 : waptagent/tis-waptagent-macos-all-x86_64.pkg.sha256
5cccc560272dd22f5087e6e214b55010d0dea8a50d16a4bdcdbd54ee096b6df6 : waptagent/tis-waptagent.x86_64.rpm
7fdf21dae44265b7025475c66523f4022128d7a4a722bb4bcfa3116a6922dc6c : waptagent/tis-waptagent.x86_64.rpm.sha256