Package Details: kopia 0.11.3-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: 20
Popularity: 0.62
First Submitted: 2020-10-21 15:36 (UTC)
Last Updated: 2022-07-20 17:43 (UTC)

Latest Comments

1 2 Next › Last »

GraphZal commented on 2021-12-28 14:16 (UTC)

Package now is on v0.9.8.

I also figured out how to make the --version flag give useful info.

GraphZal commented on 2021-12-28 10:19 (UTC)

Sorry for the late update, had some real-life issues to deal with (job related).

package is now on v0.9.7. I'll update to 0.9.8 as soon as I figure out why it's not building correctly.

Kido commented on 2021-12-22 19:57 (UTC)

@GraphZal, 0.9.7 builds fine, please update this package.

eh8 commented on 2021-09-13 21:08 (UTC)

@GraphZal my bad, if there are no checksums provided for source code then you have to compute the hashes yourself by checksumming the tar.gz.

GraphZal commented on 2021-09-13 21:01 (UTC)

Unflagged, since the latest stable release is still 0.8.4. 0.9.0-rc1 is a release candidate. Will update once the final 0.9.0 is released.

@eh8: the checksums.txt sadly doesn't have an entry for the source code, only the binaries.

@ibrokemypie: I didn't notice any problems when enabling lto in the makepkg options, so either that specific issue is already fixed, or we need to drill deeper.

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