summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2019-05-06 22:42:20 +0200
committerJaroslav Lichtblau2019-05-06 22:42:20 +0200
commit24ef2e8daf7852f3fbc73fe6d16de1b2ca3641e0 (patch)
treef4a1f82c51cccd5a07fd9853e16ad5fece1bf2bc
parent59e2d37c6e6e83f15d01c3853eaf4bc12a210479 (diff)
downloadaur-24ef2e8daf7852f3fbc73fe6d16de1b2ca3641e0.tar.gz
safekeep-1.5.0-1
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD12
-rw-r--r--safekeep.install10
3 files changed, 12 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4eb41a21b06f..fda120b07683 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Feb 23 16:42:45 UTC 2019
+# Mon May 6 20:42:18 UTC 2019
pkgbase = safekeep
pkgdesc = A client/server backup system which enhances the power of rdiff-backup
- pkgver = 1.4.5
+ pkgver = 1.5.0
pkgrel = 1
url = http://safekeep.sourceforge.net
install = safekeep.install
@@ -11,13 +11,14 @@ pkgbase = safekeep
makedepends = asciidoc
makedepends = docbook-xsl
makedepends = xmlto
- depends = python2
+ makedepends = git
+ depends = python
depends = rdiff-backup
depends = openssh
backup = etc/safekeep/safekeep.conf
backup = etc/cron.daily/safekeep
- source = http://downloads.sourceforge.net/sourceforge/safekeep/safekeep-1.4.5.tar.gz
- sha256sums = 89f3bd3cddc5aebf9af4380956735ebc09fd1ee5c55395f6886f205658847372
+ source = http://downloads.sourceforge.net/sourceforge/safekeep/safekeep-1.5.0.tar.gz
+ sha256sums = 128e15f0e76355d7aa6056d044dc248f86317dee474c549bc73cede28947d0a0
pkgname = safekeep
diff --git a/PKGBUILD b/PKGBUILD
index 3ff343c722a0..9cfff4e1aff2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=safekeep
-pkgver=1.4.5
+pkgver=1.5.0
pkgrel=1
pkgdesc="A client/server backup system which enhances the power of rdiff-backup"
arch=('any')
url="http://safekeep.sourceforge.net"
license=('GPL')
-depends=('python2' 'rdiff-backup' 'openssh')
-makedepends=('asciidoc' 'docbook-xsl' 'xmlto')
+depends=('python' 'rdiff-backup' 'openssh')
+makedepends=('asciidoc' 'docbook-xsl' 'xmlto' 'git')
install=$pkgname.install
backup=('etc/safekeep/safekeep.conf'
'etc/cron.daily/safekeep')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('89f3bd3cddc5aebf9af4380956735ebc09fd1ee5c55395f6886f205658847372')
+sha256sums=('128e15f0e76355d7aa6056d044dc248f86317dee474c549bc73cede28947d0a0')
build() {
cd "${srcdir}"/$pkgname-$pkgver
@@ -24,8 +24,8 @@ build() {
package () {
cd "${srcdir}"/$pkgname-$pkgver
-#Python2 fix
- sed -i 's_env python_env python2_' $pkgname
+#Python fix
+ sed -i 's_!/usr/bin/python3_!/usr/bin/python_' $pkgname
make DESTDIR="${pkgdir}" install
diff --git a/safekeep.install b/safekeep.install
index 4c49d215de4c..ff057bb940fc 100644
--- a/safekeep.install
+++ b/safekeep.install
@@ -1,14 +1,4 @@
post_install() {
- /usr/sbin/groupadd safekeep 2>/dev/null || true
- /usr/sbin/useradd -s /bin/bash -g safekeep -d /var/lib/safekeep -s /sbin/nologin \
- -c "Used by SafeKeep to run and store backups." safekeep 2>/dev/null || true
-
-
- if [ ! -d /var/lib/safekeep ]; then
- mkdir /var/lib/safekeep
- fi
- chown -R safekeep:safekeep /var/lib/safekeep
-
cat << _EOF
NOTE: You will have to manually take care of a number of