]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/bacula
core129: Ship updated OpenVPN
[people/pmueller/ipfire-2.x.git] / lfs / bacula
index 890a51208e7527c37bedb9070dc15a31df1729fe..bef221b6a08c976b25ea5081bfcc1dc426b47f44 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
-VER        = 5.2.6
+VER        = 9.0.6
 
 THISAPP    = bacula-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = http://downloads.sourceforge.net/project/bacula/bacula/$(VER)/
+DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = bacula
-PAK_VER    = 1
+PAK_VER    = 4
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 914483b92539598678542bd2ddb28043
+$(DL_FILE)_MD5 = 9168e398808c42bf290515f60892f643
 
 install : $(TARGET)
 
@@ -77,9 +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 /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)
+