tis-seadrive icon

SeaDrive

Paquet d'installation silencieuse pour SeaDrive

3.0.23-35
Utilities
Utilities

  • package: tis-seadrive
  • name: SeaDrive
  • version: 3.0.23-35
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT
  • editor: Seafile Ltd.
  • licence: GPLv2
  • locale: all
  • target_os: linux
  • impacted_process: seadrive,seadrive-gui
  • architecture: x64
  • signature_date:
  • size: 161.26 Mo
  • installed_size: 271.18 Mo
  • homepage : https://www.seafile.com/

package           : tis-seadrive
version           : 3.0.23-35
architecture      : x64
section           : base
priority          : optional
name              : SeaDrive
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT
description       : SeaDrive enables you to access files on the server without syncing to local disk. It works like a network drive.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : linux
min_wapt_version  : 2.0
sources           : https://www.seafile.com/en/download/
installed_size    : 271183872
impacted_process  : seadrive,seadrive-gui
description_fr    : SeaDrive vous permet d'accéder aux fichiers sur le serveur sans synchronisation avec le disque local. Il fonctionne comme un lecteur réseau
description_pl    : SeaDrive umożliwia dostęp do plików na serwerze bez konieczności synchronizacji na dysku lokalnym. Działa jak dysk sieciowy
description_de    : Mit SeaDrive können Sie auf Dateien auf dem Server zugreifen, ohne sie mit der lokalen Festplatte zu synchronisieren. Es funktioniert wie ein Netzlaufwerk
description_es    : SeaDrive permite acceder a los archivos del servidor sin necesidad de sincronizarlos con el disco local. Funciona como una unidad de red
description_pt    : SeaDrive permite o acesso a ficheiros no servidor sem sincronização com o disco local. Funciona como uma unidade de rede
description_it    : SeaDrive consente di accedere ai file sul server senza sincronizzare il disco locale. Funziona come un'unità di rete
description_nl    : Met SeaDrive hebt u toegang tot bestanden op de server zonder ze naar de lokale schijf te synchroniseren. Het werkt als een netwerkschijf
description_ru    : SeaDrive позволяет получить доступ к файлам на сервере без синхронизации с локальным диском. Он работает как сетевой диск
audit_schedule    : 
editor            : Seafile Ltd.
keywords          : sharing,file,seafile,drive,sea
licence           : GPLv2
homepage          : https://www.seafile.com/
package_uuid      : 469b8f46-4464-4ef0-a7b8-1781e4234cf8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://manual.seafile.com/changelog/drive-client-changelog/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 095bf254df112880418ca67754fab61e3d80467a8218bf911530a9a9aeade66b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-07-12T15:03:48.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         : HftRppYfzGaHpZa4xQObsU3wA7+Cj7wqvAfFDXu1DPo37bXr+04Q5WK7rRVxk/Yxi4S5HEAC/DYKapEZ884jAwcqqlpfxUXFCUjBzY5lGdLQwe+6e44xG54bkxf03z1Ox6v9+C00hZthB64asbPnqUoHlglvdlYlkz7/96cXxvQFHt6ps+s7k/XNAIoSmdq52Irk1Q3VxdZZ/ZeWJwTDSPT3T89f83tflNPW5Si2membCv/Yprp8FqmSK6WqS/r/ijSg/h2XNZ1UHDfmHdAG8ze/8zhEMPG/JNc3r8/ddoeG3QM8+3F2/pSP2YpKQL/YyHs+5feOfVZRG/bXpxFenA==

# -*- 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 "SeaDrive-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

77a91e84e4028fafac4f52712b50f327baf9601b75246cbf01883bb725c1f14c : SeaDrive-x86_64-3.0.23.AppImage
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
84ea659e4c67ea18ca4931a9c249d4d617f9dff529e1541adf3cf58dfab83ba6 : WAPT/control
095bf254df112880418ca67754fab61e3d80467a8218bf911530a9a9aeade66b : WAPT/icon.png
fa2e8cad70637db8633d12b1d56b9d22790d89176fc54ae4dc99fbb26d692339 : luti.json
0530dcaf8b5050035b40efcce641e0085794fbc6dc1c6a227f6525b6c378e4e5 : setup.py
26bdaa043d9580c99dd5e2be82d48110ca86bcba36a5d094eee392ccfbd8bafd : update_package.py