diff options
author | Leslie P. Polzer <polzer@port-zero.com> | 2013-10-31 11:22:07 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 13:39:12 +0000 |
commit | 08f5f7fa4854208cafb43c771b7dbf4464d23ae3 (patch) | |
tree | a3c06e0901113ac5639c3cbe18f96609ea0b4e38 | |
parent | 459e7dbf90ac8d6958d53914b7201711938aab1b (diff) | |
download | alpine_aports-08f5f7fa4854208cafb43c771b7dbf4464d23ae3.tar.bz2 alpine_aports-08f5f7fa4854208cafb43c771b7dbf4464d23ae3.tar.xz alpine_aports-08f5f7fa4854208cafb43c771b7dbf4464d23ae3.zip |
testing/tartarus: new aport
A flexible script based backup system
http://wertarbyte.de/tartarus.shtml
-rw-r--r-- | testing/tartarus/APKBUILD | 39 | ||||
-rw-r--r-- | testing/tartarus/tartarus.post-install | 7 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/tartarus/APKBUILD b/testing/tartarus/APKBUILD new file mode 100644 index 0000000000..5edc45ba72 --- /dev/null +++ b/testing/tartarus/APKBUILD | |||
@@ -0,0 +1,39 @@ | |||
1 | # Contributor: Leslie P. Polzer <polzer@port-zero.com> | ||
2 | # Maintainer: Leslie P. Polzer <polzer@port-zero.com> | ||
3 | pkgname=tartarus | ||
4 | pkgver=0.9.8 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="A flexible script based backup system" | ||
7 | url="http://wertarbyte.de/tartarus.shtml" | ||
8 | arch="noarch" | ||
9 | license="GPL3" | ||
10 | depends="perl" # for charon | ||
11 | makedepends="perl" # pod2man for doc | ||
12 | subpackages="$pkgname-doc" | ||
13 | install="$pkgname.post-install" | ||
14 | source="http://wertarbyte.de/tartarus/tartarus-$pkgver.tar.bz2" | ||
15 | |||
16 | _builddir="$srcdir/tartarus-$pkgver" | ||
17 | build() { | ||
18 | cd "$_builddir" | ||
19 | make || return 1 | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "$_builddir" | ||
24 | |||
25 | mkdir -p "$pkgdir"/usr/bin | ||
26 | install -m755 bin/* "$pkgdir"/usr/bin | ||
27 | |||
28 | mkdir -p "$pkgdir"/usr/lib/perl5/vendor_perl | ||
29 | cp -rv lib/Tartarus "$pkgdir"/usr/lib/perl5/vendor_perl/ | ||
30 | |||
31 | mkdir -p "$pkgdir"/usr/share/man/man1 | ||
32 | install -m644 man/*.1 "$pkgdir"/usr/share/man/man1 | ||
33 | |||
34 | chown -R 0:0 "$pkgdir" | ||
35 | } | ||
36 | |||
37 | md5sums="4aa1cc8b550ded1c77fc50aeef146310 tartarus-0.9.8.tar.bz2" | ||
38 | sha256sums="cfd3158974e4c331bebf5b9fbf51eb3f884a71d60eaf2c82e8856a150691bcef tartarus-0.9.8.tar.bz2" | ||
39 | sha512sums="b879e214924643664e45165b227ceda9723be919854bd867fe11a2c474c1ae3cc9c2206992cb3a75ad02683c8feb44c21f884eb6f354caa398ca0ea9ce9f82d4 tartarus-0.9.8.tar.bz2" | ||
diff --git a/testing/tartarus/tartarus.post-install b/testing/tartarus/tartarus.post-install new file mode 100644 index 0000000000..ddf64f851e --- /dev/null +++ b/testing/tartarus/tartarus.post-install | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | echo "Optional packages for Tartarus:" | ||
4 | echo " * afio: for using afio as archive format" | ||
5 | echo " * curl: for storing backups on FTP sites" | ||
6 | echo " * lvm2: for snapshot support" | ||
7 | echo " * gnupg: for encryption support" | ||