Update of /cvsroot/devil-linux/build/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16986/scripts
Modified Files:
bareos
Added Files:
fastlz
Log Message:
added fastlz support to bareos
fixed bareos paths and added python support
Index: bareos
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/bareos,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bareos 1 Jan 2016 21:26:27 -0000 1.1
+++ bareos 1 Jan 2016 21:50:22 -0000 1.2
@@ -21,7 +21,8 @@
./configure --prefix=/usr --disable-nls --with-mysql --sysconfdir=/etc --with-working-dir=/var/bareos/working \
--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 || exit 1
+ --with-zlib --with-lzo --with-fastlz --with-python \
+ --with-plugindir=/usr/lib/bareos/plugins --with-backenddir=/usr/lib/bareos || exit 1
make $PMAKE || exit 1
--- NEW FILE: fastlz ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/fastlz,v $
# $Revision: 1.1 $
# $Date: 2016/01/01 21:50:22 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
./configure --prefix=/usr || exit 1
make $PMAKE || exit 1
# let's install this, but make sure we don't overwrite anything from lz4
mkdir -p $TMPDIR || exit 1
make install DESTDIR=$TMPDIR || exit 1
rm $TMPDIR/usr/include/lz4* || exit 1
cp -vdpfR $TMPDIR/* / || exit 1
rm -rf $TMPDIR || exit 1
;;
install )
mkdir -p $TMPDIR || exit 1
make install DESTDIR=$TMPDIR || exit 1
rm -rf $TMPDIR/usr/include || exit
rm -rf $TMPDIR/usr/lib/*.a || exit 1
cp -vdpR $TMPDIR/* $CDDIR/ || exit 1
rm -rf $TMPDIR
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|