tis-duplicati icon

duplicati

Paquet d’installation silencieuse pour duplicati

2.0.9.110-1

  • package: tis-duplicati
  • name: duplicati
  • version: 2.0.9.110-1
  • maintainer: Jordan ARNAUD
  • licence: LGPL
  • target_os: debian(>=12),ubuntu(>=18)
  • architecture: x64
  • signature_date:
  • size: 79.43 Mo
  • homepage : https://duplicati.com/

package           : tis-duplicati
version           : 2.0.9.110-1
architecture      : x64
section           : base
priority          : optional
name              : duplicati
categories        : 
maintainer        : Jordan ARNAUD
description       : Duplicati is a free, open source, backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : debian(>=12),ubuntu(>=18)
min_wapt_version  : 
sources           : https://github.com/duplicati/duplicati/releases
installed_size    : 
impacted_process  : 
description_fr    : Duplicati est un client de sauvegarde gratuit et open source qui stocke en toute sécurité des sauvegardes cryptées, incrémentielles et compressées sur des services de stockage en nuage et des serveurs de fichiers distants
description_pl    : Duplicati to darmowy, otwarty klient kopii zapasowych, który bezpiecznie przechowuje zaszyfrowane, przyrostowe, skompresowane kopie zapasowe w usługach przechowywania w chmurze i na zdalnych serwerach plików
description_de    : Duplicati ist ein kostenloser Open-Source-Backup-Client, der verschlüsselte, inkrementelle und komprimierte Backups sicher auf Cloud-Speicherdiensten und Remote-Dateiservern speichert
description_es    : Duplicati es un cliente de copia de seguridad gratuito y de código abierto que almacena de forma segura copias de seguridad cifradas, incrementales y comprimidas en servicios de almacenamiento en la nube y servidores de archivos remotos
description_pt    : O Duplicati é um cliente de cópia de segurança gratuito e de código aberto que armazena de forma segura cópias de segurança encriptadas, incrementais e comprimidas em serviços de armazenamento na nuvem e servidores de ficheiros remotos
description_it    : Duplicati è un client di backup gratuito e open source che archivia in modo sicuro backup crittografati, incrementali e compressi su servizi di cloud storage e file server remoti
description_nl    : Duplicati is een gratis, open source back-upclient die veilig versleutelde, incrementele, gecomprimeerde back-ups opslaat op cloudopslagdiensten en externe bestandsservers
description_ru    : Duplicati - это бесплатный клиент резервного копирования с открытым исходным кодом, который надежно сохраняет зашифрованные, инкрементные, сжатые резервные копии на облачных сервисах хранения и удаленных файловых серверах
audit_schedule    : 
editor            : 
keywords          : 
licence           : LGPL
homepage          : https://duplicati.com/
package_uuid      : 5104ad12-a3df-4d7d-a357-7bdcb2ff3a94
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : fee169d7067d3c0b88d575f55ee9d0b83472203f1c50938efd6b6e4ed697ecb9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-12T15:05: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         : w9CXOdGcorH2+h2PJjTH2HQMoNP0KO8PYPCJYGYfJ3BhZw8wGBl4EKV52VZs/eKTE7p8poua76XYC3Fr/JUU9Ubb1LzevwyvlNLOC1Y1457hKd1uSGffd9IMbds5QQhDh5hPGkz4eSDJ2xttfi//IS6XHz7pvalqheaYmR/SeSND3EyCJ294uVKpGQVBmUyJ3511NeCSCT88xxrKK5b7eVQtA9RiA/jCxwlPeNs8weo5kVNjzGXSWUavJcPBgFqj2N/m7+QDmM08V7BfhYFOrQgU4E2NxFKFChAePqO0/w/44uoG5tJJTkPJUQ6Op/ntStMz9FpQdS99onv3mSCTww==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_deb(glob.glob("duplicati*linux-x64-gui.deb")[0])


def uninstall():
    uninstall_apt("duplicati")

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {
        "x64":"-x64-gui.dmg",
        "x86" : ".dmg",  
        "arm64" : "linux-arm64-gui.deb",
        "x64" : "linux-x64-gui.deb"
        }
    
    url_api = "https://api.github.com/repos/duplicati/duplicati/releases" 
    # Getting latest version information from official source
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    # Vérifier que json_load est une liste
    if isinstance(json_load, list):
        # Itérer à travers chaque release
        for release in json_load:

            # Vérifier que la release contient une clé "assets" et que c'est une liste
            if "assets" in release and isinstance(release["assets"], list):
                found_valid_asset = False
                for download in release["assets"]:
                    # Vérifier si l'URL de téléchargement se termine par .dmg e
                    if download["browser_download_url"].endswith(".deb") and dict_arch[control.architecture] in download["browser_download_url"] :
                        url_dl = download["browser_download_url"]
                        filename = download["name"]
                        version = release["name"][1:10]
                        found_valid_asset = True
                        break
    #nettoyer les fichiers temporaires
    for f in glob.glob('*.deb'):
        if f != filename:
            remove_file(f)

    if not isfile(filename):
        package_updated = True
        print(filename)
        wget(url_dl,filename,proxies=proxies)

    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
62976af363bb6196a4459e19cd151e011b534fa9e49db92af39b03e5e8f9945f : WAPT/control
fee169d7067d3c0b88d575f55ee9d0b83472203f1c50938efd6b6e4ed697ecb9 : WAPT/icon.png
74212913a4813f0bad875660f20ec9fbb8c90228f114238395a470e77f22b9c2 : duplicati-2.0.9.110_canary_2024-11-09-linux-x64-gui.deb
b25990949cc2d39da85ba2b6d98663f1e87bcaf7bcef1ced69b0d14a5064ec6c : luti.json
3de63d018944c947ce00d0e1f0a5d6147f2ebb7d8216b51689b087fea1c6d77a : setup.py
e8451fc5cd5a834c904905b6cd7bffcd49775cc1eb997e332297316113bf257d : update_package.py