Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added changes to build glusterfs plugins on ubuntu
- Loading branch information
André Bauer
committed
Oct 2, 2015
1 parent
600dc53
commit 845c75b
Showing
10 changed files
with
101 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@plugindir@/gfapi-fd.so | ||
/etc/bareos/bareos-dir.d/plugin-gfapi.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@backenddir@/libbareossd-gfapi*.so | ||
@confdir@/bareos-sd.d/device-gluster.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/sh | ||
# postinst script for bareos | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <postinst> `configure' <most-recently-configured-version> | ||
# * <old-postinst> `abort-upgrade' <new version> | ||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
# <new-version> | ||
# * <postinst> `abort-remove' | ||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
# <failed-install-package> <version> `removing' | ||
# <conflicting-package> <version> | ||
# for details, see http://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
daemon_user=bareos | ||
daemon_group=bareos | ||
|
||
permissions() | ||
{ | ||
chown root:${daemon_group} /etc/bareos/bareos-sd.d/device-gluster.conf | ||
} | ||
|
||
case "$1" in | ||
configure) | ||
permissions | ||
;; | ||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: bareos-filedaemon-glusterfs-plugin | ||
Architecture: any | ||
Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 | ||
Depends: bareos-filedaemon (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} | ||
Description: Backup Archiving Recovery Open Sourced - storage-python-plugin | ||
Bareos is a set of programs to manage backup, recovery and verification of | ||
data across a network of computers of different kinds. | ||
. | ||
This package provides the glusterfs plugin for the file daemon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: bareos-storage-glusterfs | ||
Architecture: any | ||
Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 | ||
Depends: bareos-storage (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} | ||
Description: Backup Archiving Recovery Open Sourced - storage-python-plugin | ||
Bareos is a set of programs to manage backup, recovery and verification of | ||
data across a network of computers of different kinds. | ||
. | ||
This package provides the glusterfs backend for the storage daemon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters