summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen2017-05-07 20:04:04 +0200
committerToke Høiland-Jørgensen2017-05-07 20:04:04 +0200
commit6dcb62e5ad753ca0ff886963a90bfdce92ca36c1 (patch)
treeaf6726f33250f3bd9fc144d4f9e606618f00c4c5
parent9f848a42a0cfdaa95470ff6ff35b4ce3761975e8 (diff)
downloadaur-6dcb62e5ad753ca0ff886963a90bfdce92ca36c1.tar.gz
Add configuration file backup definitions
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD8
2 files changed, 15 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7efc54a4abc..22a2fae4f15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri May 5 13:56:33 UTC 2017
+# Sun May 7 18:03:47 UTC 2017
pkgbase = xtreemfs
pkgdesc = A fault-tolerant distributed file system for all storage needs
pkgver = 1.5.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.xtreemfs.org
arch = x86_64
license = BSD
@@ -32,6 +32,11 @@ pkgname = xtreemfs-server
install = xtreemfs-server.install
depends = java-environment
depends = util-linux
+ backup = etc/xos/xtreemfs/dirconfig.properties
+ backup = etc/xos/xtreemfs/mrcconfig.properties
+ backup = etc/xos/xtreemfs/osdconfig.properties
+ backup = etc/xos/xtreemfs/server-repl-plugin/dir.properties
+ backup = etc/xos/xtreemfs/server-repl-plugin/mrc.properties
pkgname = xtreemfs-client
pkgdesc = A fault-tolerant distributed file system for all storage needs (client)
@@ -39,4 +44,5 @@ pkgname = xtreemfs-client
depends = openssl
depends = fuse
depends = boost-libs
+ backup = etc/xos/xtreemfs/default_dir
diff --git a/PKGBUILD b/PKGBUILD
index 571429d53fa..670b4bdd51f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=xtreemfs
pkgname=(xtreemfs-server xtreemfs-client)
_pkgname=XtreemFS
pkgver=1.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="A fault-tolerant distributed file system for all storage needs"
arch=(x86_64)
url="http://www.xtreemfs.org"
@@ -37,6 +37,11 @@ package_xtreemfs-server() {
depends=('java-environment' 'util-linux')
pkgdesc="A fault-tolerant distributed file system for all storage needs (server)"
install=xtreemfs-server.install
+ backup=("etc/xos/xtreemfs/dirconfig.properties"
+ "etc/xos/xtreemfs/mrcconfig.properties"
+ "etc/xos/xtreemfs/osdconfig.properties"
+ "etc/xos/xtreemfs/server-repl-plugin/dir.properties"
+ "etc/xos/xtreemfs/server-repl-plugin/mrc.properties")
cd "$_pkgname-$pkgver"
install -d -m 0750 "$pkgdir/etc/xos/xtreemfs"
@@ -64,6 +69,7 @@ package_xtreemfs-server() {
package_xtreemfs-client() {
depends=('attr' 'openssl' 'fuse' 'boost-libs')
pkgdesc="A fault-tolerant distributed file system for all storage needs (client)"
+ backup=("etc/xos/xtreemfs/default_dir")
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install-client