Update of /cvsroot/devil-linux/build/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5362/scripts
Modified Files:
bareos
Log Message:
fixes to get bareos working properly
Index: bareos
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/bareos,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- bareos 2 Jan 2016 14:52:03 -0000 1.3
+++ bareos 2 Jan 2016 19:42:44 -0000 1.4
@@ -22,7 +22,7 @@
--enable-batch-insert --with-dir-user=bareos --with-dir-group=backup --with-logdir=/var/log/bareos \
--with-sd-user=bareos --with-sd-group=backup --with-lzo=/usr/lib --with-openssl --with-readline \
--with-zlib --with-lzo --with-fastlz --with-python --with-hostname=yourhostname \
- --with-plugindir=/usr/lib/bareos/plugins --with-backenddir=/usr/lib/bareos || exit 1
+ --with-plugindir=/usr/lib/bareos/plugins --with-backenddir=/usr/lib/bareos --libdir=/usr/lib/bareos || exit 1
make $PMAKE || exit 1
@@ -44,6 +44,10 @@
chmod 770 $ETCDIR/etc/bareos || exit 1
chmod -R o-rwx $ETCDIR/etc/bareos/* || exit 1
chown -R bareos.backup $TMPDIR/var/bareos || exit 1
+ chown -R bareos.backup $TMPDIR/var/log/bareos || exit 1
+ chown -R bareos.backup $TMPDIR/usr/sbin/* || exit 1
+ rm -f $TMPDIR/usr/lib/bareos/libbareoscats-15.2.2.so || exit 1
+ ln -sf libbareoscats-mysql-15.2.2.so $TMPDIR/usr/lib/bareos/libbareoscats-15.2.2.so || exit 1
chmod 555 $TMPDIR/usr/lib/*
cp -dvpR $TMPDIR/* $CDDIR/ || exit 1
rm -rf $TMPDIR || exit 1
|