
anchor CLI
Paquet d’installation silencieuse pour anchor CLI
0.1.10-2
- package: tis-anchor-cli
- name: anchor CLI
- version: 0.1.10-2
- maintainer: Amel FRADJ
- licence: MIT license
- target_os: windows
- architecture: x64
- signature_date:
- size: 4.42 Mo
- homepage : https://anchor.dev/
package : tis-anchor-cli
version : 0.1.10-2
architecture : x64
section : base
priority : optional
name : anchor CLI
categories :
maintainer : Amel FRADJ
description : Anchor is a command-line interface for the Anchor certificate management platform
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Anchor est une interface de ligne de commande pour la plateforme de gestion de certificats Anchor
description_pl : Anchor to interfejs wiersza poleceń dla platformy zarządzania certyfikatami Anchor
description_de : Anchor ist eine Befehlszeilenschnittstelle für die Anchor-Plattform zur Verwaltung von Zertifikaten
description_es : Anchor es una interfaz de línea de comandos para la plataforma de gestión de certificados Anchor
description_pt : Anchor é uma interface de linha de comandos para a plataforma de gestão de certificados Anchor
description_it : Anchor è un'interfaccia a riga di comando per la piattaforma di gestione dei certificati Anchor
description_nl : Anchor is een opdrachtregelinterface voor het Anchor certificaatbeheerplatform
description_ru : Anchor - это интерфейс командной строки для платформы управления сертификатами Anchor
audit_schedule :
editor :
keywords :
licence : MIT license
homepage : https://anchor.dev/
package_uuid : 4d9f5a2b-7ba5-41ae-aa1e-900ddc583785
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : e13f4b811d3a526320597901f2d7ebaa4e7a98582ddf92b9fc5b4b9ae7348807
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-03-26T15:06:11.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 : hl/Ao2JN9LjT4lpeIKT1CnLTQgYdUhZnBj2+fINLvZQPrFNdNs94o45HyU0v64j/Q2FUAHl5ffrTpDcJj6TqvZVkvtzAVZq5lrDYPonFeXCqSCEkv8TZRMUBafn5ZgWHXfVZdn3U6HcazdQ8AyjbJXlYYJ3AqNbO5uDBT7i5TYs5JENkaP0LLxdwUJRbt2f7BY29Hd6xWIxxCdXbNeLiteQf5r7efYq8y7+aTuCrqBlmPVe8G0k9AqGP0HQutNr1gA7fQg19HVRnUZmhzNLHBRIqCa0jasrIoyU0PJNrz6k3/sqWOA06B2I5x4aLc2/E0okVA4mMcVep1iOVYsanIg==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
# Uninstalling older versions of the software
for to_uninstall in installed_softwares(name="anchor CLI"):
if Version(to_uninstall["version"]) < Version(control.get_software_version()) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
# Installing the software
install_msi_if_needed('msi-builder-x64.msi')
# -*- 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()
dict_arch = {
"x64" :"-x64.msi",
"x86" :"-x86.msi"
}
git_repo = "anchordotdev/cli"
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(".msi") and dict_arch[control.architecture] in download["browser_download_url"]:
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('*.msi'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
10951b0c75ecdf9bb7a8f24b5046c5cb53c8f91a47df48c1f0ebef425250ca35 : WAPT/control
e13f4b811d3a526320597901f2d7ebaa4e7a98582ddf92b9fc5b4b9ae7348807 : WAPT/icon.png
8126a39900aa58b3466085f4552163996b537439bc366f0db199c6139855d6ba : luti.json
c2e9a9d59041193ba16948f25321b5c499d64e835b2921b60305b4df83e9870b : msi-builder-x64.msi
b8a62ffb236a353c148af027454674f6a3e010fb83e222eb958d8e8cbb4d7bbc : setup.py
5809a16137408dfebb158d57dc855fc5cee2f7f0eb369824f798b2ddbd103653 : update_package.py