Commit de142543 authored by Henrik Riomar's avatar Henrik Riomar

community/safekeep: upgrade to 1.5.1

parent 6f339753
Pipeline #58704 passed with stages
in 1 minute and 30 seconds
From 11d5af13ce8c55e48272fd0a45a3ee780d1b6dec Mon Sep 17 00:00:00 2001
From: Frank Crawford <frank@crawford.emu.id.au>
Date: Sat, 31 Oct 2020 20:33:53 +1100
Subject: [PATCH] Address issue with '::' as an argument to rdiff-backup. See
rdiff-backup issue #480.
---
safekeep | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/safekeep b/safekeep
index 4123f1f..7875b93 100755
--- a/safekeep
+++ b/safekeep
@@ -1555,8 +1555,8 @@ def do_server_rdiff(cfg, bdir, nice, ionice, force):
userhost = ''
if cfg['host']:
- userhost = '%s@%s' % (cfg['user'], cfg['host'])
- args.extend([userhost + '::' + bdir, cfg['dir']])
+ userhost = '%s@%s::' % (cfg['user'], cfg['host'])
+ args.extend([userhost + bdir, cfg['dir']])
ret = spawn(args)
if ret:
raise Exception('Failed to run rdiff-backup')
--
2.29.1
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=safekeep
pkgver=1.5.0
pkgrel=1
pkgver=1.5.1
pkgrel=0
pkgdesc="SafeKeep backup system"
url="https://github.com/dimipaun/safekeep"
arch="noarch"
......@@ -12,7 +12,6 @@ makedepends="asciidoc libxml2-utils xmlto"
install="$pkgname-server.post-install"
subpackages="$pkgname-doc $pkgname-client $pkgname-server"
source="$pkgname-$pkgver.tar.gz::https://github.com/dimipaun/$pkgname/archive/$pkgver.tar.gz
0001-Address-issue-with-as-an-argument-to-rdiff-backup.patch
"
build() {
......@@ -47,5 +46,4 @@ package() {
make install DESTDIR="$pkgdir"
}
sha512sums="f08c0880ea10bab81dedb8e5601e089344e9a5655a57f0f78d940483bed42c039e62514922c05714a296214d0e7f943cb8da476ee57efc1f7095715af70b3a91 safekeep-1.5.0.tar.gz
2149b68f8c8b676320ca062c9e2d27bcb027877a8355f46b4e99d5c926982abeb5b28796a88188f3c9f1bf3e8ec357bb6451165f9fbed70b5e486f7fb1d431dc 0001-Address-issue-with-as-an-argument-to-rdiff-backup.patch"
sha512sums="8977edadc48ccff4cf6cc524addf0b47a10320fb134adc78ff6663b33d8856393a448212814224b990f4f77876b06b1ef2fb47fe6e4a8a8d3678b0900c6b54f3 safekeep-1.5.1.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment