aboutsummaryrefslogtreecommitdiffstats
path: root/testing/safekeep/APKBUILD
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2017-04-02 16:25:02 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-06 17:47:42 +0000
commitc6bf31ba99eba81f53016bb6c9715b4c495148d1 (patch)
treec7f44808bb95844f644726d26a21ecffb6512d81 /testing/safekeep/APKBUILD
parent78cdf0a2538157fedaf3502a65110eca63bcf0b5 (diff)
downloadaports-c6bf31ba99eba81f53016bb6c9715b4c495148d1.tar.bz2
aports-c6bf31ba99eba81f53016bb6c9715b4c495148d1.tar.xz
community/safekeep: move from testing
Diffstat (limited to 'testing/safekeep/APKBUILD')
-rw-r--r--testing/safekeep/APKBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/testing/safekeep/APKBUILD b/testing/safekeep/APKBUILD
deleted file mode 100644
index 17f044d7b2..0000000000
--- a/testing/safekeep/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
-# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
-pkgname=safekeep
-pkgver=1.4.4
-pkgrel=1
-pkgdesc="SafeKeep backup system"
-url="https://github.com/dimipaun/safekeep"
-arch="noarch"
-license="GPL2"
-depends="openssh-client python2 rdiff-backup util-linux"
-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-ssh.strict_hostkey_checking-configurable.patch
- "
-builddir="$srcdir/$pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- make man || return 1
- # ionice from util-linux is in /usr/bin (busybox in /bin)
- sed -i 's|PATH=/sbin:/bin:/usr/sbin:/usr/bin|PATH=/sbin:/usr/sbin:/usr/bin:/bin|' safekeep.cron || return 1
-}
-
-check() {
- cd "$builddir"
- PATH="$PATH:." make check || return 1
-}
-
-client() {
- pkgdesc="SafeKeep backup system - client"
- depends="$pkgname"
- mkdir -p "$subpkgdir"
- # just a meta package
-}
-
-server() {
- pkgdesc="SafeKeep backup system - server"
- depends="$pkgname"
- mkdir -p "$subpkgdir"
- mv "$pkgdir"/etc "$subpkgdir"/etc || return 1
- mkdir "$subpkgdir"/etc/periodic || return 1
- mv "$subpkgdir"/etc/cron.daily "$subpkgdir"/etc/periodic/daily || return 1
-}
-
-package() {
- cd "$builddir"
- make install DESTDIR="$pkgdir" || return 1
-}
-
-sha512sums="2afdf6784ef2033032978554bc4b8703be86b5dde92795f1b7efe0099fc4cd35d215bc390e9b9ee3b3e396435ab1168a81dad1c7051861fb584a31749e63c68d safekeep-1.4.4.tar.gz
-c4576c6aad11b70b3e3fbd43a726dcc9f41e6a607281178f30605ff0812833e09efc97d46dda68c89d6e1586e9dc01a74f38484c625f64d084f11f4d806e1e25 0001-ssh.strict_hostkey_checking-configurable.patch"