X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fbacula;h=bef221b6a08c976b25ea5081bfcc1dc426b47f44;hp=890a51208e7527c37bedb9070dc15a31df1729fe;hb=97499aa8a3c7b85de7609126f77ec41ab03cf469;hpb=008c392e7827a4907c4a6942fe814967c86ddc18 diff --git a/lfs/bacula b/lfs/bacula index 890a51208e..bef221b6a0 100644 --- a/lfs/bacula +++ b/lfs/bacula @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2009 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2018 IPFire Team # # # # 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 # @@ -24,15 +24,15 @@ 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) +