Package Details: seadrive-daemon 2.0.16-1

Git Clone URL: https://aur.archlinux.org/seadrive-daemon.git (read-only, click to copy)
Package Base: seadrive-daemon
Description: Daemon part of seadrive
Upstream URL: https://www.seafile.com/en/download/ + https://linux-clients.seafile.com/seadrive-deb/focal/pool/main/s/seadrive-daemon/
Licenses: Apache
Submitter: eolianoe
Maintainer: C0gnitiveFl0w (eldios)
Last Packager: eldios
Votes: 5
Popularity: 0.000001
First Submitted: 2017-05-30 07:58 (UTC)
Last Updated: 2021-09-17 12:54 (UTC)

Latest Comments

sudoLife commented on 2022-05-15 09:10 (UTC) (edited on 2022-05-15 09:23 (UTC) by sudoLife)

There is once again a version mismatch: only 2.0.15 exists on Ubuntu's servers.

Perhaps it is time to change upstream to seadrive's github?

The following changes fix the problem:

5c5
< pkgver=2.0.16
---
> pkgver=2.0.15
14c14
< sha256sums=('d635d8d679c689d3abe0cf6a3ef4509c3fd5326690e9f887689415c289f93521')
---
> sha256sums=('ecf52a12de7cdbd816f75fd5d87449224f4fad4cfcc73f56955554f3c8ce0156')

seekstar commented on 2022-02-19 06:08 (UTC) (edited on 2022-02-19 06:17 (UTC) by seekstar)

For this error:

libevent-2.0.22-stable.tar.gz due of uknown public key 910397D88D29319A

t123yh provides a solution in a comment in https://aur.archlinux.org/packages/libevent-compat:

gpg --keyserver keyserver.ubuntu.com --recv 8D29319A

It works for me, though I don't know whether there is any security issue with it.

Edit: Found a nice article about gpg keys: https://forum.manjaro.org/t/aur-package-fails-to-verify-pgp-gpg-key-unknown-public-key-one-or-more-pgp-signatures-could-not-be-verified/6663

seifferth commented on 2021-11-23 19:44 (UTC)

Building from source seems to be rather easy, actually. It is also pretty fast, so I don't see any reason why we should stick to using the debian binaries. Here's a patch for this PKGBUILD to make it build from release tarballs. Also note that the current license seems to be GPL3.

diff --git a/PKGBUILD b/PKGBUILD
index d37acca..ec7c92e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,25 @@

 pkgname=seadrive-daemon
 pkgver=2.0.16
-pkgrel=1
+pkgrel=2
 pkgdesc="Daemon part of seadrive"
 arch=('x86_64')
-url="https://www.seafile.com/en/download/ + https://linux-clients.seafile.com/seadrive-deb/focal/pool/main/s/seadrive-daemon/"
-license=('Apache')
+url="https://github.com/haiwen/seadrive-fuse"
+license=('GPL3')
 depends=('libsearpc' 'libcurl-compat' 'libevent-compat'
          'openssl-1.0' 'fuse2')
-source=("http://linux-clients.seafile.com/seadrive-deb/focal/pool/main/s/${pkgname}/${pkgname}_${pkgver}_amd64.deb")
-sha256sums=('d635d8d679c689d3abe0cf6a3ef4509c3fd5326690e9f887689415c289f93521')
+source=("https://github.com/haiwen/seadrive-fuse/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('36d32896cb8f347692fe8357014d709cee9b6a2d15f6bb4670343cd69df22b4c')

-prepare() {
-  cd "${srcdir}"
-
-  tar -xJf data.tar.xz
+build() {
+  cd "seadrive-fuse-${pkgver}"
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
 }

-package () {
-  cd "${srcdir}"
-
-  install -Dm 755 "${srcdir}/usr/bin/seadrive" "${pkgdir}/usr/bin/seadrive"
+package() {
+  install -Dm 755 \
+    "${srcdir}/seadrive-fuse-${pkgver}/src/seadrive" \
+    "${pkgdir}/usr/bin/seadrive"
 }

matejdro commented on 2020-10-23 13:37 (UTC)

Seadrive is now open source:

https://github.com/haiwen/seadrive-fuse

I guess build could be changed to build from source instead of using deb file that often has mismatched versions?

Aroun commented on 2020-08-26 15:46 (UTC) (edited on 2020-08-26 15:50 (UTC) by Aroun)

Having openrc in my Artix distribution, I had to execute the below to make this working:
sudo pacman -S fuse-openrc && sudo rc-update add fuse

samk commented on 2019-11-06 14:45 (UTC) (edited on 2019-11-06 14:50 (UTC) by samk)

Struggled with the same problem. The solution of papa33 did not fully work for me.

I had to link libcurl-compat.so.4.5.0 to libcurl-compat.so.4.6.0 instead of to /usr/lib/libcurl.so.4.6.0

Thus:

sudo ln -s /usr/lib/libcurl-compat.so.4.6.0 /usr/lib/libcurl-compat.so.4.5.0

Not sure, if it's really necessary, to remove the libevent-compat and libcurl-compat dependencies.

Also used pkgver=1.06, probably this could be updated here. Strangely, on the seafile page there is version 1.0.8 (2019/11/05), but it's not available in their debian repository yet.

papa33 commented on 2019-11-01 09:22 (UTC) (edited on 2019-11-01 11:58 (UTC) by papa33)

I found a working solution : I installed seadrive-daemon 1.0.6 with the follwing PKGBUILD (note that I removed libevent-compat and libcurl-compat dependencies and I also removed the line sed -i s/libcurl-compat.so.4.5.0/libcurl-compat.so.4.6.0/g "${srcdir}/seadrive").

pkgname=seadrive-daemon pkgver=1.0.6 pkgrel=0 pkgdesc="Daemon part of seadrive" arch=('x86_64') url="https://www.seafile.com/en/help/drive_client_linux" license=('Apache') depends=('libsearpc' 'openssl-1.0' 'fuse2') source=('seadrive' "https://deb.seadrive.org/bionic/pool/main/s/${pkgname}/${pkgname}_${pkgver}_amd64.deb")

prepare() { cd "${srcdir}"

tar -xJf data.tar.xz }

package () { cd "${srcdir}"

install -Dm 755 "${srcdir}/seadrive" "${pkgdir}/usr/bin/seadrive" install -Dm 755 "${srcdir}/usr/bin/seadrive" "${pkgdir}/usr/share/seadrive/seadrive" }

Then sudo ln -s /usr/lib/libevent-2.1.so.7 /usr/lib/libevent-2.1.so.6 sudo ln -s /usr/lib/libcurl.so.4.6.0 /usr/lib/libcurl-compat.so.4.5.0

It's working, but I can't get seadrive-gui to work with this, because it kills the daemon when I start it. Not a big deal though. Edit: I was able to compile and run seadrive-gui 1.0.6.

papa33 commented on 2019-11-01 06:47 (UTC)

Hi, is there any solution to make this work? I have been struggling for days, but it always fails with library issues. It's working on debian/ubuntu based distros without problems. Thanks.

Johnnii360 commented on 2019-06-23 18:57 (UTC)

Hi! When I try to install seadrive the process stops on libevent-2.0.22-stable.tar.gz due of uknown public key 910397D88D29319A.

atha commented on 2019-06-20 11:08 (UTC)

Hello,

I encounter an error when trying to launch the daemon: /usr/share/seadrive/seadrive: /usr/lib/libcurl-compat.so.4.5.0: no version information available (required by /usr/share/seadrive/seadrive)

Any idea how I could solve this ?

Eljoth commented on 2017-10-11 09:27 (UTC)

Hey, how do I fix this error ? ERROR: ld.so: object 'libcurl-compat.so.4.4.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. /usr/share/seadrive/seadrive: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/share/seadrive/seadrive)