]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/bacula
snort: Drop package
[ipfire-2.x.git] / lfs / bacula
index 54864b229595dfe1b81aaddbeb9357b23d9258ec..591476b9f513aacf34129b0df001faca376db632 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 5.2.13
+VER        = 9.0.6
 
 THISAPP    = bacula-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = bacula
-PAK_VER    = 2
+PAK_VER    = 4
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 43417bae0c221afb1f30a581c9e0f2fe
+$(DL_FILE)_MD5 = 9168e398808c42bf290515f60892f643
 
 install : $(TARGET)
 
@@ -77,12 +77,16 @@ $(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
+       $(UPDATE_AUTOMAKE)
+       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 -f /sbin/bacula /etc/init.d/bacula
-       mv -f /opt/bacula /var/
-       sed -i -e 's#/opt/bacula/working#/var/bacula/working#' /etc/bacula/bacula-fd.conf
+       ln -s /etc/bacula/bacula-ctl-fd /etc/rc.d/init.d/bacula
        rm -f /root/.rnd
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
+