]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/bacula
bacula: several fixes
[ipfire-2.x.git] / lfs / bacula
index 8d9631c9305e3778a84bd08f5bc929d799a0165d..4d2fed6d448bad776fa6302c7455b16c86c438d9 100644 (file)
@@ -77,9 +77,15 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @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 install
-       mv /sbin/bacula /etc/init.d/bacula
+       ln -s etc/bacula/bacula-ctl-fd /etc/rc.d/init.d/bacula
+       rm -f /root/.rnd
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
+