Package Details: kopia 0.17.0-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-2.0
Submitter: GraphZal
Maintainer: gromit
Last Packager: gromit
Votes: 30
Popularity: 1.36
First Submitted: 2020-10-21 15:36 (UTC)
Last Updated: 2024-04-16 08:12 (UTC)

Latest Comments

« First ‹ Previous 1 2

ibrokemypie commented on 2021-06-02 08:49 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

eh8 commented on 2021-01-10 09:39 (UTC) (edited on 2021-01-10 09:43 (UTC) by eh8)

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 (UTC) (edited on 2020-11-10 10:28 (UTC) by GraphZal)

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.