
anchor CLI
Paquet d’installation silencieuse pour anchor CLI
0.1.12-2
- package: tis-anchor-cli
- name: anchor CLI
- version: 0.1.12-2
- maintainer: Amel FRADJ
- licence: MIT license
- target_os: windows
- architecture: x64
- signature_date:
- size: 4.63 Mo
- homepage : https://anchor.dev/
package : tis-anchor-cli
version : 0.1.12-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 : 321c3503-8b6e-4d92-8268-56f6ac9b9ab6
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-07-21T21:00:52.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 : efcHwq+0i7Fhslsb5HeWrP4yltOmY6D+UTlUJ0bkz9cUU57HYBx9LQLGAQeMZKe6gbTiPWMvIpuUSeupIzaqeeBkgydZy8zRChhUZulZt0by9UDHbo1vN5pAjfS6swqm7orBimzNKCZiDhRPIUFhMdWFIgK/Uud8bEzdrBgFudpXNas9hNrFfrI1PX0fT/Hhgpjhb5Iw6Kdacy6W07JX06o7PDTgOS9uKg7LDs4iSLproZyH9IfHhn4KbH5r0SZi4bj7/gXr9WckzWsuAH7BVNKXtas5+ELeUeYG4HUmSdgf7Ug/fkLdpmkGCuzPk/PNAeB7+TKdoF+vwY4lNtuDYQ==
# -*- 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
9b3ec116431745f28b1475bd43dd66f6b448a3dfac18f68aa42eb64e3e7fbb78 : WAPT/control
e13f4b811d3a526320597901f2d7ebaa4e7a98582ddf92b9fc5b4b9ae7348807 : WAPT/icon.png
f8b405b6f47d342b13865ca073afa51079bf10657c12ed3c715a5fabbc6c3cb9 : luti.json
0b4e7b2126f3f790c111f6519850803b17d4c1dbadcc16d9b646bf5e424b8e63 : msi-builder-x64.msi
b8a62ffb236a353c148af027454674f6a3e010fb83e222eb958d8e8cbb4d7bbc : setup.py
5809a16137408dfebb158d57dc855fc5cee2f7f0eb369824f798b2ddbd103653 : update_package.py