mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
added bacula addon package
This commit is contained in:
committed by
Timo Eissler
parent
139e30d135
commit
469f20cdf7
61
config/rootfiles/packages/bacula
Normal file
61
config/rootfiles/packages/bacula
Normal file
@@ -0,0 +1,61 @@
|
||||
#etc/bacula
|
||||
#etc/bacula/bacula
|
||||
#etc/bacula/bacula-ctl-dir
|
||||
etc/bacula/bacula-ctl-fd
|
||||
#etc/bacula/bacula-ctl-sd
|
||||
etc/bacula/bacula-fd.conf
|
||||
#etc/bacula/bacula_config
|
||||
#etc/bacula/bconsole
|
||||
#etc/bacula/bconsole.conf
|
||||
#etc/bacula/btraceback.dbx
|
||||
#etc/bacula/btraceback.gdb
|
||||
#etc/bacula/btraceback.mdb
|
||||
#etc/bacula/disk-changer
|
||||
#etc/bacula/dvd-handler
|
||||
#etc/bacula/mtx-changer
|
||||
#etc/bacula/mtx-changer.conf
|
||||
sbin/bacula
|
||||
sbin/bacula-fd
|
||||
#sbin/bconsole
|
||||
#sbin/btraceback
|
||||
usr/lib/bpipe-fd.so
|
||||
usr/lib/libbac-5.2.6.so
|
||||
usr/lib/libbac.la
|
||||
usr/lib/libbac.so
|
||||
usr/lib/libbaccfg-5.2.6.so
|
||||
usr/lib/libbaccfg.la
|
||||
usr/lib/libbaccfg.so
|
||||
usr/lib/libbacfind-5.2.6.so
|
||||
usr/lib/libbacfind.la
|
||||
usr/lib/libbacfind.so
|
||||
usr/lib/libbacpy-5.2.6.so
|
||||
usr/lib/libbacpy.la
|
||||
usr/lib/libbacpy.so
|
||||
#usr/share/doc/bacula
|
||||
#usr/share/doc/bacula/ChangeLog
|
||||
#usr/share/doc/bacula/INSTALL
|
||||
#usr/share/doc/bacula/LICENSE
|
||||
#usr/share/doc/bacula/README
|
||||
#usr/share/doc/bacula/ReleaseNotes
|
||||
#usr/share/doc/bacula/VERIFYING
|
||||
#usr/share/doc/bacula/technotes
|
||||
#usr/share/man/man1/bacula-bwxconsole.1.gz
|
||||
#usr/share/man/man1/bacula-tray-monitor.1.gz
|
||||
#usr/share/man/man1/bat.1.gz
|
||||
#usr/share/man/man1/bsmtp.1.gz
|
||||
#usr/share/man/man8/bacula-dir.8.gz
|
||||
#usr/share/man/man8/bacula-fd.8.gz
|
||||
#usr/share/man/man8/bacula-sd.8.gz
|
||||
#usr/share/man/man8/bacula.8.gz
|
||||
#usr/share/man/man8/bconsole.8.gz
|
||||
#usr/share/man/man8/bcopy.8.gz
|
||||
#usr/share/man/man8/bextract.8.gz
|
||||
#usr/share/man/man8/bls.8.gz
|
||||
#usr/share/man/man8/bregex.8.gz
|
||||
#usr/share/man/man8/bscan.8.gz
|
||||
#usr/share/man/man8/btape.8.gz
|
||||
#usr/share/man/man8/btraceback.8.gz
|
||||
#usr/share/man/man8/bwild.8.gz
|
||||
#usr/share/man/man8/dbcheck.8.gz
|
||||
var/bacula
|
||||
var/bacula/working
|
||||
85
lfs/bacula
Normal file
85
lfs/bacula
Normal file
@@ -0,0 +1,85 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# 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 #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 5.2.6
|
||||
|
||||
THISAPP = bacula-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = http://downloads.sourceforge.net/project/bacula/bacula/$(VER)/
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = bacula
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = ""
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 914483b92539598678542bd2ddb28043
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(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) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
mv /sbin/bacula /etc/init.d/bacula
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
Reference in New Issue
Block a user