- package: tis-seadrive
- name: SeaDrive
- version: 2.0.15-34
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: Seafile Ltd.
- licence: GPLv2
- locale: all
- target_os: debian(>=9),ubuntu(>=18)
- impacted_process: seadrive,seadrive-gui
- architecture: x64
- signature_date:
- size: 9.37 Ko
- installed_size: 271.18 Mo
- homepage : https://www.seafile.com/
package : tis-seadrive
version : 2.0.15-34
architecture : x64
section : base
priority : optional
name : SeaDrive
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
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 : debian(>=9),ubuntu(>=18)
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 : 4c80a39d-9d53-490d-afa6-e686ef5ea032
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 : Azsl3vyPRafU7V4lDFfbAWTAdXaL8Z6XfbrK1WAg/UHvU7Agb+uH+h5R+XLl3jveDDHQPfPYSbVI1U8+cPbDMB5R247cI4DZ7kFFkKoMsWM4/CPBQnSXtwvzc53K123NVHI1MIoEoKwO3gfjTpnHYll/zhEWC8b903C66Xuor4zklFe9Xw3wccK+CkNfVsXZp01CZhx8emd1g40/9ymswuA9CX9zelN9mGdthYjL1HYpKi39p+5pYyYj3+OdgH7AHAFjfYvhW5RQMDUVYKZ8vqyUlbwu5YwZ7BvbU107Fd9AxKbeax4X/BCJJ0dIuYCJfkFH5Aw9bv4xvw6ybkMDdg==
signature_date : 2024-05-04T11:03:28.529131
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
# -*- coding: utf-8 -*-
from setuphelpers import *
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
package_name = "seadrive-gui"
def install():
# Installing the package
print("Installing: %s" % package_name)
if isfile("/etc/apt/sources.list.d/seadrive.list"):
remove_file("/etc/apt/sources.list.d/seadrive.list")
update_apt()
install_apt("apt-transport-https")
install_apt("ca-certificates")
run("wget https://linux-clients.seafile.com/seafile.asc -O /usr/share/keyrings/seafile-keyring.asc")
run(
"bash -c \"echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seadrive-deb/$(lsb_release -c -s)/ stable main ' > /etc/apt/sources.list.d/seadrive.list\""
)
install_apt(package_name)
def uninstall():
# Uninstalling the package
print("Uninstalling %s" % package_name)
uninstall_apt(package_name)
uninstall_apt("seadrive-daemon")
# -*- coding: utf-8 -*-
from setuphelpers import *
import bs4 as BeautifulSoup
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
package_name = "seadrive-gui"
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://manual.seafile.com/changelog/drive-client-changelog/"
version = control.get_software_version()
""" for u in bs_find_all(url,'li', proxies=proxies):
# Getting latest version from official website
#for u in bs_find_all(url,'h3', proxies=proxies):
if '[Linux]' in u.text:
previous_element = u.previous_element
good_version = False
while(not good_version):
if previous_element.name =='h3':
latest_version = previous_element.text.split(' ')[0]
good_version=True
else:
previous_element = previous_element.previous_element
import requests
page = requests.get(url, proxies=proxies).text
soup = BeautifulSoup.BeautifulSoup(page)
soup.find_all('h3')
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url) """
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
414beac903488aa9ae201ce5f281a7529e5d5f3175191432e87c3f37dae05daf : setup.py
c8c21bd4d4c0855f98d16f08bffbb5211258102ee6eb3e9c07abbb14fe9d0483 : update_package.py
095bf254df112880418ca67754fab61e3d80467a8218bf911530a9a9aeade66b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
ac223552e1a6245867d9d3a5d47083c54353e264384ccff8dba022acbbac9d19 : luti.json
f7fc1882f2bdc204bc7a1df23de5ee05e670dcd2f9260c494218e0a95ec1e24b : WAPT/control