Package Details: kopia 0.8.4-1

Git Clone URL: https://aur.archlinux.org/kopia.git (read-only, click to copy)
Package Base: kopia
Description: A cross-platform backup-tool with encryption, deduplication, compression and cloud support.
Upstream URL: https://kopia.io
Keywords: backup
Licenses: Apache
Submitter: GraphZal
Maintainer: GraphZal
Last Packager: GraphZal
Votes: 8
Popularity: 0.20
First Submitted: 2020-10-21 15:36
Last Updated: 2021-04-30 12:36

Latest Comments

ibrokemypie commented on 2021-06-02 08:49

Fails to build when lto is enabled in makepkg OPTIONS with this output

# net
cgo: cannot load DWARF output from $WORK/b056//_cgo_.o: decoding dwarf section info at offset 0x0: too short
# os/user
cgo: cannot load DWARF output from $WORK/b343//_cgo_.o: decoding dwarf section info at offset 0x0: too short

I think it is related to this issue https://github.com/golang/go/issues/40041, the makepkg cflags and ldflags should only be applied to c files, not the cgo output.

eh8 commented on 2021-04-30 15:51

checksums.txt is included in every release.

Here’s the link to the most recent

https://github.com/kopia/kopia/releases/download/v0.8.4/checksums.txt

GraphZal commented on 2021-04-30 12:41

web-UI is now included.

@eh8: where did you get that checksum? Are the Devs publishing one that I missed? Or did you just compute it yourself?

eh8 commented on 2021-01-10 22:34

What dependencies need addressing regarding the web-UI? Perhaps I can help to take a look?

eh8 commented on 2021-01-10 09:39

Patch for signed tarball and additional architecture flags

diff --git a/.SRCINFO b/.SRCINFO
index ae09ddf..e9674a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,11 +4,13 @@ pkgbase = kopia
        pkgrel = 1
        url = https://kopia.io
        arch = x86_64
+       arch = aarch64
+       arch = armv7h
        license = APACHE
        makedepends = go>=1.15
        depends = glibc
        source = kopia-0.7.3.tar.gz::https://github.com/kopia/kopia/archive/v0.7.3.tar.gz
-       sha256sums = SKIP
+       sha256sums = 90200ccf915e6c3514ac9cb68985cc5443f31587be5c581a38aaa4f3a9abfb6e

 pkgname = kopia

diff --git a/PKGBUILD b/PKGBUILD
index 45f35c2..14173ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=kopia
 pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
 pkgver=0.7.3
 pkgrel=1
-arch=('x86_64')
+arch=(x86_64 aarch64 armv7)
 url='https://kopia.io'
 license=('APACHE')
 depends=('glibc')
@@ -12,8 +12,8 @@ makedepends=('go>=1.15')
 #makedepends=('go>=1.15', 'git') # git is needed if we switch to signed git commits/tags in the future
 #source=("$pkgname-$pkgver::git+https://github.com/kopia/kopia.git#commit=$(git rev-list -n 1 v$pkgver)?signed") # use git commit, if those are signed by a proper key in the future
 #source=("$pkgname-$pkgver::git+https://github.com/kopia/kopia.git#tag=v$pkgver?signed") # use git tag, if those are signed by a proper key in the future
-source=("$pkgname-$pkgver.tar.gz::https://github.com/kopia/kopia/archive/v$pkgver.tar.gz") # use unsigned tarball for now.
-sha256sums=('SKIP') #no checksum for tarball provided for now.
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kopia/kopia/archive/v$pkgver.tar.gz")
+sha256sums=('90200ccf915e6c3514ac9cb68985cc5443f31587be5c581a38aaa4f3a9abfb6e')

 build() {
         cd $srcdir/$pkgname-$pkgver

GraphZal commented on 2020-11-09 18:08

Currently, this pkgbuild does not contain the UI or web-based UI.

web-based UI will be integrated soon, once the node-dependencies are updated to fix some vulnerabilities.

standalone UI will get its own package once I figure out how to build that one properly.