tis-seadrive icon

SeaDrive

Paquet d'installation silencieuse pour SeaDrive

3.0.24-35
Utilities
Utilities

  • package: tis-seadrive
  • name: SeaDrive
  • version: 3.0.24-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.28 Mo
  • installed_size: 271.18 Mo
  • homepage : https://www.seafile.com/

package           : tis-seadrive
version           : 3.0.24-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      : 9b48c49c-de58-49e1-af41-b90c07a6abb8
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-08-09T09:00:42.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         : EZoJkzCRO3rFaoOkzddjzHeupWrOLqgQtgIT90KymCYG8UnTrYPiMimGdEx0uphz2OtJ0LPDek5qJaP3w/jKTFCOSAbexOsKWdBQN2HAle0N3JEcmhMW9U/nBXQZ55a8XexaV7Itut8pKANXVTF64lTGxA2MeADaS/joP42k79isIEhyu7XzCV8x9fhRquor6Is2OThuSGefdhcziovxVE0KQoo58KJZvDsjDr39e9yjFPop4a2DW8XiE5JDG0F1H1DjltaaHsULZ5TXz9cQE6gscRb9yTbZtw4Y7agoQDyZYV5S/FOblaKflojnnJ60aWpogKFekqoiskFBa3h/sA==

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

e9f63b801971ba89e8e1cb87c704198b0a32e4e5555bd84d1108ed9f3a3169e0 : SeaDrive-x86_64-3.0.24.AppImage
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4b72e101d37605acf3c1ce6d12c6cf7b2b0d624d16a0a66365b62f48ae682b0d : WAPT/control
095bf254df112880418ca67754fab61e3d80467a8218bf911530a9a9aeade66b : WAPT/icon.png
5c14a0c4a669dbe7112e1d248793e308e8c8b8f4d38b9f096a83f8fb638db467 : luti.json
0530dcaf8b5050035b40efcce641e0085794fbc6dc1c6a227f6525b6c378e4e5 : setup.py
26bdaa043d9580c99dd5e2be82d48110ca86bcba36a5d094eee392ccfbd8bafd : update_package.py