mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
bacula: several fixes
This commit is contained in:
1
config/backup/includes/bacula
Normal file
1
config/backup/includes/bacula
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/etc/bacula/
|
||||||
@@ -15,24 +15,23 @@ etc/bacula/bacula-fd.conf
|
|||||||
#etc/bacula/mtx-changer
|
#etc/bacula/mtx-changer
|
||||||
#etc/bacula/mtx-changer.conf
|
#etc/bacula/mtx-changer.conf
|
||||||
etc/rc.d/init.d/bacula
|
etc/rc.d/init.d/bacula
|
||||||
#var/bacula
|
|
||||||
var/bacula/working
|
|
||||||
sbin/bacula-fd
|
|
||||||
#sbin/bconsole
|
|
||||||
#sbin/btraceback
|
|
||||||
usr/lib/bpipe-fd.so
|
usr/lib/bpipe-fd.so
|
||||||
usr/lib/libbac-5.2.13.so
|
usr/lib/libbac-5.2.13.so
|
||||||
usr/lib/libbac.la
|
#usr/lib/libbac.la
|
||||||
usr/lib/libbac.so
|
#usr/lib/libbac.so
|
||||||
usr/lib/libbaccfg-5.2.13.so
|
usr/lib/libbaccfg-5.2.13.so
|
||||||
usr/lib/libbaccfg.la
|
#usr/lib/libbaccfg.la
|
||||||
usr/lib/libbaccfg.so
|
#usr/lib/libbaccfg.so
|
||||||
usr/lib/libbacfind-5.2.13.so
|
usr/lib/libbacfind-5.2.13.so
|
||||||
usr/lib/libbacfind.la
|
#usr/lib/libbacfind.la
|
||||||
usr/lib/libbacfind.so
|
#usr/lib/libbacfind.so
|
||||||
usr/lib/libbacpy-5.2.13.so
|
usr/lib/libbacpy-5.2.13.so
|
||||||
usr/lib/libbacpy.la
|
#usr/lib/libbacpy.la
|
||||||
usr/lib/libbacpy.so
|
#usr/lib/libbacpy.so
|
||||||
|
#usr/sbin/bacula
|
||||||
|
usr/sbin/bacula-fd
|
||||||
|
#usr/sbin/bconsole
|
||||||
|
#usr/sbin/btraceback
|
||||||
#usr/share/doc/bacula
|
#usr/share/doc/bacula
|
||||||
#usr/share/doc/bacula/ChangeLog
|
#usr/share/doc/bacula/ChangeLog
|
||||||
#usr/share/doc/bacula/INSTALL
|
#usr/share/doc/bacula/INSTALL
|
||||||
@@ -59,3 +58,5 @@ usr/lib/libbacpy.so
|
|||||||
#usr/share/man/man8/btraceback.8.gz
|
#usr/share/man/man8/btraceback.8.gz
|
||||||
#usr/share/man/man8/bwild.8.gz
|
#usr/share/man/man8/bwild.8.gz
|
||||||
#usr/share/man/man8/dbcheck.8.gz
|
#usr/share/man/man8/dbcheck.8.gz
|
||||||
|
#var/bacula
|
||||||
|
var/bacula/working
|
||||||
|
|||||||
11
lfs/bacula
11
lfs/bacula
@@ -77,12 +77,15 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && ./configure --enable-client-only
|
cd $(DIR_APP) && ./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc/bacula \
|
||||||
|
--with-working-dir=/var/bacula/working \
|
||||||
|
--enable-client-only
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
mv -f /sbin/bacula /etc/init.d/bacula
|
ln -s etc/bacula/bacula-ctl-fd /etc/rc.d/init.d/bacula
|
||||||
mv -f /opt/bacula /var/
|
|
||||||
sed -i -e 's#/opt/bacula/working#/var/bacula/working#' /etc/bacula/bacula-fd.conf
|
|
||||||
rm -f /root/.rnd
|
rm -f /root/.rnd
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
@$(POSTBUILD)
|
@$(POSTBUILD)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user