tis-seafile icon

Seafile

Paquet d’installation silencieuse pour Seafile

9.0.15-2
Office
Office

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-seafile
  • name: Seafile
  • version: 9.0.15-2
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Hubert TOUVET,Amelie LE JEUNE
  • editor: HaiWenHuZhi ltd.
  • licence: opensource_free,wapt_public,cpe:/a:gnu:gpl_v2
  • locale: all
  • target_os: debian,ubuntu
  • impacted_process: seafile-applet,seaf-daemon
  • architecture: x64
  • signature_date:
  • size: 191.17 Mo
  • installed_size: 282.63 Mo
  • homepage : https://www.seafile.com/

package           : tis-seafile
version           : 9.0.15-2
architecture      : x64
section           : base
priority          : optional
name              : Seafile
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Hubert TOUVET,Amelie LE JEUNE
description       : Seafile is an open source file storage and sharing solution
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : debian,ubuntu
min_wapt_version  : 2.3
sources           : https://www.seafile.com/en/download/
installed_size    : 282629518
impacted_process  : seafile-applet,seaf-daemon
description_fr    : Seafile est une solution de stockage et de partage de fichiers open source
description_pl    : Seafile to rozwiązanie open source do przechowywania i udostępniania plików
description_de    : Seafile ist eine Open-Source-Lösung zur Speicherung und gemeinsamen Nutzung von Dateien
description_es    : Seafile es una solución de código abierto para almacenar y compartir archivos
description_pt    : O Seafile é uma solução de armazenamento e partilha de ficheiros de código aberto
description_it    : Seafile è una soluzione open source per l'archiviazione e la condivisione di file
description_nl    : Seafile is een open source oplossing voor het opslaan en delen van bestanden
description_ru    : Seafile - это решение для хранения и обмена файлами с открытым исходным кодом
audit_schedule    : 
editor            : HaiWenHuZhi ltd.
keywords          : seafile,cloud,file,storage,sharing,solution,client
licence           : opensource_free,wapt_public,cpe:/a:gnu:gpl_v2
homepage          : https://www.seafile.com/
package_uuid      : 68781564-cb15-4386-aa16-81fe952ee5a5
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://download.seafile.com/published/seafile-manual/changelog/client-changelog.md
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-09T13:49:44.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         : Qn6/C0EwpUt4rfqzPrY78WT6RcgUj69b/sAzitATWiWA994xxKzY3u22Rz/ZYlngnhKbQnAseg0HBehNPrjsQrj0SBzjByapuP9C0U1pFUAn0JHTiT9VPjuqeOZmD4j1sFs0M+OnAuJ2hGOll1t1sD3f+28mDDeO3lSJ/iqMYroaLkow5lT65AFk+WIjyKLWcRMdBbJi1aZfJj3PIqoVhp8uuIDWlw449hQmib7GhmPENn5D8+1Lc6InSKETyxhCHZfNuTn4gPF/bVtXW2Crn79kS7rLlFIuMQVAYdNPBn1PYf5HIm774JrMsoQl8n2ZKXVCDQtSjWaOxQvSWeqU+w==

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

def install():
    #Declare variables
    install_dir = makepath('/','opt',control.package.split('-',1)[1])
    appimage = glob.glob("*.AppImage")[0]
    
    #Make install dir
    if isdir(install_dir):
        remove_tree(install_dir)
    mkdirs(install_dir)

    #Copy appimage in install dir
    run('chmod a+x ./' + appimage)
    name_appimage = appimage.split('/')[-1]
    filecopyto(appimage, makepath(install_dir, name_appimage))

    #Extract image
    run(f'"./{appimage}" --appimage-extract')

def uninstall():
    install_dir = makepath('/','opt',control.package.split('-',1)[1])
    killalltasks("seafile")
    remove_tree(install_dir)

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

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    url = "https://www.seafile.com/en/download/"

    # Getting latest version from official sources
    print(f"URL used is: {url}")
    bs_search = bs_find_all(url, "a", "class", "download-op")
    for i in bs_search:
        if "Seafile-x" in i["href"] and i["href"].endswith(".AppImage"):
            version = i.text
            download_url = i["href"]
            latest_bin = download_url.split("/")[-1]

    # Downloading latest binaries
    print(f"Latest {control.name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Deleting outdated binaries
    for f in glob.glob("*.AppImage"):
        if f != latest_bin:
            remove_file(f)

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

7b2501999c166322c9b55deebb5ad1a5ee8d383bdc636678347c14d56652f38a : Seafile-x86_64-9.0.15.AppImage
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
270a8d8bdcd5bc2bc89717b239bbd9efaa34e8db1ab2456454dd74838020d888 : WAPT/control
2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741 : WAPT/icon.png
346ab2f856cb30db2a37c599bde7963f0b17b912b6c95279ae5c27da64440f3a : luti.json
0530dcaf8b5050035b40efcce641e0085794fbc6dc1c6a227f6525b6c378e4e5 : setup.py
cf8e3254e914ee1ef17ba21db5351eb19cf824eb062fcc3819dd33637a08b889 : update_package.py