Bacula lefft jetzt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5112 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
1f8d7e91df
commit
574970c580
1
SysBuild/BuildCluster/Apps.dmk
Normal file
1
SysBuild/BuildCluster/Apps.dmk
Normal file
@ -0,0 +1 @@
|
||||
0 network/bacula
|
@ -58,10 +58,10 @@
|
||||
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
||||
# kümmern
|
||||
|
||||
#Module zur Erstellung des Packetes:
|
||||
#Module zur Erstellung des Packetes: bacula
|
||||
#Quelle der Source Archive: http://www.bacula.org
|
||||
#Kurzbeschreibung: network backup program
|
||||
#
|
||||
#Network Backup Programm. Client + Server
|
||||
#
|
||||
#Letzte Änderung von: $Author$
|
||||
#Datum der letzten Änderung: $Date$
|
||||
@ -69,20 +69,20 @@
|
||||
#
|
||||
#
|
||||
|
||||
SRCPATH=X11/System
|
||||
SRCPATH=Network/Servers
|
||||
|
||||
premk() {
|
||||
# acl.h stored in xfs for Viitor
|
||||
mv src/filed/acl.c src/filed/acl.c.orig
|
||||
sed -e "s/sys\/acl.h/xfs\/sys\/acl.h/g" src/filed/acl.c.orig >src/filed/acl.c
|
||||
#mv src/filed/acl.c src/filed/acl.c.orig
|
||||
#sed -e "s/sys\/acl.h/xfs\/sys\/acl.h/g" src/filed/acl.c.orig >src/filed/acl.c
|
||||
|
||||
# Linkbug in wx-config
|
||||
/bin/ls -l /usr/X11R7/bin/wx-config | grep -q tmpinstsys
|
||||
if [ $? -eq 0 ]; then
|
||||
LINKDEST=`/bin/ls -l /usr/X11R7/bin/wx-config | awk '{ print $10; }' | sed -e "s/\/usr\/tmpinstsys\/.*\/usr/\/usr/g"`
|
||||
rm /usr/X11R7/bin/wx-config
|
||||
ln -s $LINKDEST /usr/X11R7/bin/wx-config
|
||||
fi
|
||||
#/bin/ls -l /usr/X11R7/bin/wx-config | grep -q tmpinstsys
|
||||
#if [ $? -eq 0 ]; then
|
||||
# LINKDEST=`/bin/ls -l /usr/X11R7/bin/wx-config | awk '{ print $10; }' | sed -e "s/\/usr\/tmpinstsys\/.*\/usr/\/usr/g"`
|
||||
# rm /usr/X11R7/bin/wx-config
|
||||
# ln -s $LINKDEST /usr/X11R7/bin/wx-config
|
||||
#fi
|
||||
if ! getent group bacula; then
|
||||
groupadd -g 26 bacula
|
||||
BACULAGROUP=true
|
||||
@ -94,12 +94,16 @@ premk() {
|
||||
}
|
||||
|
||||
mk() {
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||
fi
|
||||
CC="gcc $BUILDOPTIONS" \
|
||||
CXX="g++ $BUILDOPTIONS" \
|
||||
./configure --target=$TARGET \
|
||||
--with-x \
|
||||
USE_ARCH=$UARCH \
|
||||
./configure $ADDOPTIONS \
|
||||
--with-x \
|
||||
--x-includes=/usr/X11R7/include \
|
||||
--x-libraries=/usr/X11R7/lib \
|
||||
--x-libraries=/usr/X11R7/$LIBDIR \
|
||||
--enable-gnome \
|
||||
--enable-wx-console \
|
||||
--enable-tray-monitor \
|
||||
@ -114,6 +118,7 @@ mk() {
|
||||
--with-mysql=/opt/MySQL \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--prefix=/usr/X11R7
|
||||
find . -name "Makefile" -exec sed -i "s/-lssl/\/usr\/$LIBDIR\/libssl.a/g" {} \;
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
}
|
Loading…
Reference in New Issue
Block a user