Package Details: etesync-server 0.3.0-1

Git Clone URL: https://aur.archlinux.org/etesync-server.git (read-only, click to copy)
Package Base: etesync-server
Description: A self-hostable EteSync 1.0 (legacy) server (for EteSync 2.0: etebase-server)
Upstream URL: https://github.com/etesync/server
Licenses: AGPLv3
Submitter: daftaupe
Maintainer: daftaupe (tasn)
Last Packager: tasn
Votes: 5
Popularity: 0.000105
First Submitted: 2019-05-02 08:53
Last Updated: 2020-11-29 16:24

Latest Comments

« First ‹ Previous 1 2

daftaupe commented on 2019-10-10 12:17

Hello Gordane,

I've made an update to 0.2.1 and fixed the wrong name of the directory which is due to the fact that the github repo has changed its name recently.

Please try.

Gordane commented on 2019-10-10 11:51

EDIT: The checksum doesn't fail anymore since you updated to package, but the skeleton crash is still happening.

==> Validating source files with sha256sums...
    v0.2.0.tar.gz ... FAILED
    etesync-server.install ... Passed
    etesync-server.sysusers ... Passed
    etesync-server ... Passed
==> ERROR: One or more files did not pass the validity check!

sha256sum v0.2.0.tar.gz gives this result: 468a0a0bd1aa4f4b93fcf4690651039f544cc7078b9a94d89a41def805fe340b

PKGBUILD have 435aef6f8f33f82b13dbb99f00c16fa92743194aedb0b4a88ee51001e51244f1

Then after changing the checksum, I had issues because the folder was renamed 'server-' instead of 'server-skeleton'. It worked with this PKGBUILD file:

pkgname=('etesync-server')
pkgver=0.2.0
pkgrel=1
pkgdesc="A self-hostable EteSync server"
arch=(any)
depends=('python-django-cors-headers'
         'python-django-etesync-journal' 
         'python-pytz')
optdepends=('postgresql: storage backend'
            'uwsgi-plugin-python: application container')
url="https://github.com/etesync/server-skeleton"
license=('AGPLv3')
backup=('etc/etesync-server/etesync-server.ini')
options=(!emptydirs)
source=(https://github.com/etesync/server-skeleton/archive/v"$pkgver".tar.gz
        $pkgname.install
        $pkgname.sysusers
        $pkgname)
sha256sums=('468a0a0bd1aa4f4b93fcf4690651039f544cc7078b9a94d89a41def805fe340b'
            '965e5eb9664f7aaf4e071c901d3be9b345b6480846c7146697d945e877a5480e'
            '7363b065206a40e067675d072c5ff269b32704ec89c4eed98e5d3edd71fca122'
            'd695d13c339c72fde298d5f751e99a6f6c4da467692a6c1be352dfe7a9c8791a')
install=$pkgname.install

package() {
    mkdir -p "$pkgdir/etc/etesync-server/"
    mkdir -p "$pkgdir/usr/bin/"
    mkdir -p "$pkgdir/usr/lib"
    mkdir -p "$pkgdir/usr/share/doc/$pkgname"
    mkdir -p "$pkgdir/usr/share/licenses/$pkgname"

    install -Dm644 "$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"

    install -Dm644 "server-$pkgver/$pkgname.ini" "$pkgdir/etc/$pkgname/$pkgname.ini"
    sed -i "s@secret.txt@/var/lib/$pkgname/secret.txt@;s@db.sqlite3@/var/lib/$pkgname/db.sqlite3@" "$pkgdir/etc/$pkgname/$pkgname.ini"

    install -Dm644 "server-$pkgver/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
    mv "server-$pkgver/example-configs" "$pkgdir/usr/share/doc/$pkgname/"
    rm -f "server-$pkgver/README.md"

    install -Dm644 "server-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    rm -f "server-$pkgver/LICENSE"

    rm -f "server-$pkgver/icon.svg"

    cp -r "server-$pkgver" "$pkgdir/usr/lib/$pkgname"

    install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
    chmod +x "$pkgdir/usr/bin/etesync-server"
}