summaryrefslogtreecommitdiff
path: root/community/rsnapshot
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/rsnapshot
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/rsnapshot')
-rw-r--r--community/rsnapshot/ChangeLog3
-rw-r--r--community/rsnapshot/PKGBUILD23
-rw-r--r--community/rsnapshot/rsnapshot4
3 files changed, 30 insertions, 0 deletions
diff --git a/community/rsnapshot/ChangeLog b/community/rsnapshot/ChangeLog
new file mode 100644
index 000000000..811f87d4f
--- /dev/null
+++ b/community/rsnapshot/ChangeLog
@@ -0,0 +1,3 @@
+2007-06-28 tardo <tardo@nagi-fanboi.net>
+* Built for x86_64
+
diff --git a/community/rsnapshot/PKGBUILD b/community/rsnapshot/PKGBUILD
new file mode 100644
index 000000000..21cdc3ba6
--- /dev/null
+++ b/community/rsnapshot/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
+# Contributor: Thorsten Tasch <tht@thorstentasch.de>
+# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
+pkgname=rsnapshot
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="A remote filesystem snapshot utility"
+arch=('i686' 'x86_64')
+url="http://www.rsnapshot.org"
+license=('GPL')
+depends=('perl' 'rsync' 'openssh')
+backup=('etc/rsnapshot.conf')
+source=(http://www.rsnapshot.org/downloads/$pkgname-$pkgver.tar.gz rsnapshot)
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || return 1
+ sed -i 's:/usr/bin/pod2man:/usr/bin/perlbin/core/pod2man:' Makefile
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ mv "$pkgdir"/etc/rsnapshot.conf.default "$pkgdir"/etc/rsnapshot.conf
+ install -Dm644 ${srcdir}/rsnapshot ${pkgdir}/etc/logrotate.d/rsnapshot
+}
+md5sums=('588f92995dcf60a6ea6df8d94a017e7e' '4cd16eaa51d58a652cffde945985e91c')
diff --git a/community/rsnapshot/rsnapshot b/community/rsnapshot/rsnapshot
new file mode 100644
index 000000000..190b1f512
--- /dev/null
+++ b/community/rsnapshot/rsnapshot
@@ -0,0 +1,4 @@
+/var/log/rsnapshot {
+ copytruncate
+ missingok
+}