Weiter Packages Ueberarbeitet...ready for V962
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4763 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
333aa6bdeb
commit
16b7017563
@ -58,7 +58,7 @@
|
|||||||
0 tools/mtx
|
0 tools/mtx
|
||||||
0 tools/dbus
|
0 tools/dbus
|
||||||
0 development/tcl
|
0 development/tcl
|
||||||
#Baud nicht mehr sauber. dürfte auch durch libxml2 ersetzt worden sein
|
#Baut nicht mehr sauber. dürfte auch durch libxml2 ersetzt worden sein
|
||||||
#0 tools/libxml
|
#0 tools/libxml
|
||||||
0 tools/doctools
|
0 tools/doctools
|
||||||
0 development/XML-Parser
|
0 development/XML-Parser
|
||||||
@ -90,7 +90,6 @@
|
|||||||
0 multimedia/audiofile
|
0 multimedia/audiofile
|
||||||
0 multimedia/toolame
|
0 multimedia/toolame
|
||||||
0 multimedia/a52dec
|
0 multimedia/a52dec
|
||||||
|
|
||||||
0 multimedia/wav2cdr
|
0 multimedia/wav2cdr
|
||||||
0 multimedia/bladeenc
|
0 multimedia/bladeenc
|
||||||
0 development/dmake
|
0 development/dmake
|
||||||
@ -166,12 +165,11 @@
|
|||||||
0 network/privoxy
|
0 network/privoxy
|
||||||
0 network/ipvsadm
|
0 network/ipvsadm
|
||||||
0 network/openssh
|
0 network/openssh
|
||||||
|
0 security/cyrus-sasl
|
||||||
0 tools/cyrus-sasl
|
|
||||||
0 tools/openldap
|
|
||||||
0 tools/net-snmp
|
0 tools/net-snmp
|
||||||
0 tools/postgresql
|
0 dbase/mysql
|
||||||
0 tools/mysql
|
0 network/openldap
|
||||||
0 tools/openslp
|
0 network/openslp
|
||||||
|
|
||||||
0 tools/samba
|
0 tools/samba
|
||||||
0 tools/amanda
|
0 tools/amanda
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Tools/Database
|
SRCPATH=DBase/Server
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
@ -81,23 +81,23 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--prefix=/opt/MySQL \
|
--prefix=/opt/MySQL \
|
||||||
--enable-thread-save-client \
|
--libexecdir=\${prefix}/sbin \
|
||||||
--enable-assembler \
|
--enable-assembler \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--with-server-suffix=CompuExtreme \
|
--with-server-suffix=CompuExtreme \
|
||||||
--with-pthread \
|
--with-pthread \
|
||||||
--with-mysqld-user=mysql \
|
--with-mysqld-user=mysql \
|
||||||
--with-mysqlfs \
|
--with-ssl &&
|
||||||
--with-vio \
|
|
||||||
--with-openssl &&
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
make distclean
|
make distclean
|
||||||
ClearHostSysNameing32 $TMPROOT
|
ClearHostSysNameing32 $TMPROOT
|
||||||
|
mv $TMPROOT/opt/MySQL/bin/mysql_config{,-32}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
@ -106,19 +106,18 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--prefix=/opt/MySQL \
|
--prefix=/opt/MySQL \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--enable-thread-save-client \
|
--libexecdir=\${prefix}/sbin \
|
||||||
--enable-assembler \
|
--enable-assembler \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--with-server-suffix=CompuExtreme \
|
--with-server-suffix=CompuExtreme \
|
||||||
--with-pthread \
|
--with-pthread \
|
||||||
--with-mysqld-user=mysql \
|
--with-mysqld-user=mysql \
|
||||||
--with-mysqlfs \
|
--with-ssl &&
|
||||||
--with-vio \
|
|
||||||
--with-openssl &&
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
@ -134,5 +133,9 @@ postmk() {
|
|||||||
cd -
|
cd -
|
||||||
GetSVN Viitor_mysql $TMPROOT
|
GetSVN Viitor_mysql $TMPROOT
|
||||||
ClearHostSysNameing $TMPROOT
|
ClearHostSysNameing $TMPROOT
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/opt/MySQL/bin/mysql_config{,-64}
|
||||||
|
ln -s /usr/bin/multiarch_wrapper $TMPROOT/opt/MySQL/bin/mysql_config
|
||||||
|
fi
|
||||||
CheckError "postmk() failed !" 1
|
CheckError "postmk() failed !" 1
|
||||||
}
|
}
|
@ -69,27 +69,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Tools/Database
|
SRCPATH=DBase/Server
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
X11R7_Fix
|
#X11R7_Fix
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/opt/PostgreSQL \
|
--prefix=/opt/PostgreSQL \
|
||||||
--enable-locale \
|
--enable-locale \
|
||||||
--enable-multibyte \
|
--enable-multibyte \
|
||||||
--enable-unicode-conversion \
|
--enable-unicode-conversion \
|
||||||
--with-tcl \
|
--with-tcl \
|
||||||
--with-tclconfig=/usr/X11R6/lib/ \
|
--with-tclconfig=/usr/X11R7/lib/ \
|
||||||
--with-tkconfig=/usr/X11R6/lib/ \
|
--with-tkconfig=/usr/X11R7/lib/ \
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--enable-odbc \
|
--enable-odbc \
|
||||||
@ -114,6 +116,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/opt/PostgreSQL \
|
--prefix=/opt/PostgreSQL \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
@ -121,8 +124,8 @@ mk() {
|
|||||||
--enable-multibyte \
|
--enable-multibyte \
|
||||||
--enable-unicode-conversion \
|
--enable-unicode-conversion \
|
||||||
--with-tcl \
|
--with-tcl \
|
||||||
--with-tclconfig=/usr/X11R6/$LIBDIRS/ \
|
--with-tclconfig=/usr/X11R7/$LIBDIRS/ \
|
||||||
--with-tkconfig=/usr/X11R6/$LIBDIRS/ \
|
--with-tkconfig=/usr/X11R7/$LIBDIRS/ \
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-python \
|
--with-python \
|
||||||
--with-openssl \
|
--with-openssl \
|
@ -71,7 +71,7 @@
|
|||||||
# Downlad location: http://net-snmp.sourceforge.net/
|
# Downlad location: http://net-snmp.sourceforge.net/
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Tools/Net
|
SRCPATH=Network/Servers
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
@ -87,6 +87,7 @@ mk32() {
|
|||||||
yes ""|\
|
yes ""|\
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc/snmp \
|
--sysconfdir=/etc/snmp \
|
||||||
@ -97,14 +98,15 @@ mk32() {
|
|||||||
--with-perl-modules \
|
--with-perl-modules \
|
||||||
--with-mib-modules="host,smux,tunnel"
|
--with-mib-modules="host,smux,tunnel"
|
||||||
|
|
||||||
for i in `find . -name Makefile`; do
|
#for i in `find . -name Makefile`; do
|
||||||
< $i >/tmp/Makefile sed -e "s/prefix.*= /prefix\t= \${DESTDIR}/g"
|
#< $i >/tmp/Makefile sed -e "s/prefix.*= /prefix\t= \${DESTDIR}/g"
|
||||||
mv /tmp/Makefile $i
|
#mv /tmp/Makefile $i
|
||||||
done
|
#done
|
||||||
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make distclean
|
make distclean
|
||||||
|
mv $TMPROOT/usr/bin/net-snmp-config{,-32}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
@ -114,6 +116,7 @@ mk() {
|
|||||||
yes ""|\
|
yes ""|\
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
@ -125,10 +128,10 @@ mk() {
|
|||||||
--with-perl-modules \
|
--with-perl-modules \
|
||||||
--with-mib-modules="host,smux,tunnel"
|
--with-mib-modules="host,smux,tunnel"
|
||||||
|
|
||||||
for i in `find . -name Makefile`; do
|
#for i in `find . -name Makefile`; do
|
||||||
< $i >/tmp/Makefile sed -e "s/prefix.*= /prefix\t= \${DESTDIR}/g"
|
#< $i >/tmp/Makefile sed -e "s/prefix.*= /prefix\t= \${DESTDIR}/g"
|
||||||
mv /tmp/Makefile $i
|
#mv /tmp/Makefile $i
|
||||||
done
|
#done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -142,6 +145,10 @@ mk() {
|
|||||||
cp -rp /usr/man $TMPROOT/usr/share
|
cp -rp /usr/man $TMPROOT/usr/share
|
||||||
rm -r /usr/man
|
rm -r /usr/man
|
||||||
fi
|
fi
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/net-snmp-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/net-snmp-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
@ -71,7 +71,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zu Basis Source Tree eintragen!
|
#Pfad zu Basis Source Tree eintragen!
|
||||||
SRCPATH=Tools/Net
|
SRCPATH=Network/Servers
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
@ -80,13 +80,13 @@ SRCPATH=Tools/Net
|
|||||||
premk() {
|
premk() {
|
||||||
mkdir ../build-openldap
|
mkdir ../build-openldap
|
||||||
cd ../build-openldap
|
cd ../build-openldap
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
LDFLAGS="-L/usr/lib" \
|
LDFLAGS="-L/usr/lib -L/usr/lib/sasl2" \
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32} -I/usr/include/sasl" \
|
||||||
CXX="g++ ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32} -I/usr/include/sasl" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
../openldap*/configure --host=$TARGET32 \
|
../openldap*/configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
@ -94,34 +94,51 @@ mk32() {
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--enable-backends=yes \
|
--enable-dynamic \
|
||||||
--enable-sql=no \
|
--enable-syslog \
|
||||||
|
--enable-crypt \
|
||||||
|
--enable-lmpasswd \
|
||||||
|
--enable-spasswd \
|
||||||
|
--enable-modules \
|
||||||
|
--enable-rlookups \
|
||||||
|
--enable-rlookups \
|
||||||
|
--enable-bdb \
|
||||||
|
--enable-dnsserv \
|
||||||
|
--enable-hdb \
|
||||||
|
--enable-ldap \
|
||||||
|
--enable-meta \
|
||||||
|
--enable-monitor \
|
||||||
|
--enable-null \
|
||||||
|
--enable-passwd \
|
||||||
|
--enable-perl \
|
||||||
|
--enable-relay \
|
||||||
|
--enable-shell \
|
||||||
|
--enable-sock \
|
||||||
--enable-overlays=yes \
|
--enable-overlays=yes \
|
||||||
--enable-crypt=yes \
|
|
||||||
--enable-lmpasswd=yes \
|
|
||||||
--enable-spasswd=yes \
|
|
||||||
--enable-modules=yes \
|
|
||||||
--enable-slurpd=yes \
|
|
||||||
--with-cyrus-sasl \
|
--with-cyrus-sasl \
|
||||||
|
--with-gssapi \
|
||||||
--with-threads \
|
--with-threads \
|
||||||
--with-tls \
|
--with-tls \
|
||||||
--with-mp \
|
--with-mp \
|
||||||
--disable-perl \
|
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
make depend &&
|
make LDEMULATION=elf_i386 depend
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU LDEMULATION=elf_i386
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU LDEMULATION=elf_i386 DESTDIR=$TMPROOT install
|
||||||
make distclean
|
cd ../openldap*
|
||||||
|
rm -r ../build-openldap
|
||||||
|
mkdir ../build-openldap
|
||||||
|
cd ../build-openldap
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
ADDOPTIONS="--libdir=/usr/lib64"
|
||||||
export LDFLAGS="-L/usr/lib64"
|
|
||||||
fi
|
fi
|
||||||
CC="gcc" \
|
CC="gcc $BUILDOPTIONS -I/usr/include/sasl" \
|
||||||
CXX="g++" \
|
CXX="g++ $BUILDOPTIONS -I/usr/include/sasl" \
|
||||||
|
LDFLAGS="-L/usr/$LIBDIR -L/usr/$LIBDIR/sasl2" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
../openldap*/configure --host=$TARGET \
|
../openldap*/configure --host=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
@ -130,22 +147,35 @@ mk() {
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--enable-backends=yes \
|
--enable-dynamic \
|
||||||
--enable-sql=no \
|
--enable-syslog \
|
||||||
|
--enable-crypt \
|
||||||
|
--enable-lmpasswd \
|
||||||
|
--enable-spasswd \
|
||||||
|
--enable-modules \
|
||||||
|
--enable-rlookups \
|
||||||
|
--enable-rlookups \
|
||||||
|
--enable-bdb \
|
||||||
|
--enable-dnsserv \
|
||||||
|
--enable-hdb \
|
||||||
|
--enable-ldap \
|
||||||
|
--enable-meta \
|
||||||
|
--enable-monitor \
|
||||||
|
--enable-null \
|
||||||
|
--enable-passwd \
|
||||||
|
--enable-perl \
|
||||||
|
--enable-relay \
|
||||||
|
--enable-shell \
|
||||||
|
--enable-sock \
|
||||||
--enable-overlays=yes \
|
--enable-overlays=yes \
|
||||||
--enable-perl=yes \
|
|
||||||
--enable-crypt=yes \
|
|
||||||
--enable-lmpasswd=yes \
|
|
||||||
--enable-spasswd=yes \
|
|
||||||
--enable-modules=yes \
|
|
||||||
--enable-slurpd=yes \
|
|
||||||
--with-cyrus-sasl \
|
--with-cyrus-sasl \
|
||||||
|
--with-gssapi \
|
||||||
--with-threads \
|
--with-threads \
|
||||||
--with-tls \
|
--with-tls \
|
||||||
--with-mp \
|
--with-mp \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
make depend &&
|
make depend
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,9 +186,8 @@ postmk() {
|
|||||||
|
|
||||||
mkdir -p $TMPROOT/usr/share/doc/openldap
|
mkdir -p $TMPROOT/usr/share/doc/openldap
|
||||||
cp -a ../openldap*/doc/* $TMPROOT/usr/share/doc/openldap
|
cp -a ../openldap*/doc/* $TMPROOT/usr/share/doc/openldap
|
||||||
cd ..
|
cd ../openldap*
|
||||||
rm -r build-openldap
|
rm -r ../build-openldap
|
||||||
cd openldap*
|
|
||||||
|
|
||||||
# disable start
|
# disable start
|
||||||
mv $TMPROOT/etc/openldap/slapd.conf $TMPROOT/etc/openldap/slapd.conf.disabled
|
mv $TMPROOT/etc/openldap/slapd.conf $TMPROOT/etc/openldap/slapd.conf.disabled
|
@ -68,7 +68,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Tools/Net
|
SRCPATH=Network/Lib
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
@ -83,6 +83,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-async-api \
|
--enable-async-api \
|
||||||
@ -98,6 +99,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
@ -69,7 +69,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Tools/Net
|
SRCPATH=Network/Servers
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
@ -88,41 +88,40 @@ premk() {
|
|||||||
# tar xvzf $LFSSOURCE/$SRCPATH/smbldap-tools-0.9.2*
|
# tar xvzf $LFSSOURCE/$SRCPATH/smbldap-tools-0.9.2*
|
||||||
# delivered with source
|
# delivered with source
|
||||||
|
|
||||||
cd ../examples/VFS
|
#cd ../examples/VFS
|
||||||
tar xvjf $LFSSOURCE/$SRCPATH/samba-vscan*
|
#tar xvjf $LFSSOURCE/$SRCPATH/samba-vscan*
|
||||||
cd ../../source
|
#cd ../../source
|
||||||
|
cd $WD
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
LDEMULATION=elf_i386 \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--with-configdir=/etc/samba \
|
--with-configdir=/etc/samba \
|
||||||
--with-sysconfdir=/etc/samba \
|
--sysconfdir=/etc/samba \
|
||||||
--prefix=/opt/samba \
|
--prefix=/opt/samba \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
--with-privatedir=/etc/samba \
|
--with-privatedir=/etc/samba \
|
||||||
--with-lockdir=/var/locks \
|
--with-lockdir=/var/locks \
|
||||||
--with-swatdir=/opt/samba/swat \
|
--with-swatdir=/opt/samba/swat \
|
||||||
--with-logfilebase=/var \
|
--with-logfilebase=/var \
|
||||||
--with-cups \
|
--enable-cups \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-ads \
|
--with-ads \
|
||||||
--with-krb5 \
|
--with-krb5 \
|
||||||
--with-automount \
|
--with-automount \
|
||||||
--with-smbmount \
|
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-pam_smbpass \
|
--with-pam_smbpass \
|
||||||
--with-ldapsam \
|
|
||||||
--with-quotas \
|
--with-quotas \
|
||||||
--with-acl-support \
|
--with-acl-support \
|
||||||
--with-aio-support \
|
--with-aio-support \
|
||||||
--with-python \
|
|
||||||
--with-syslog \
|
--with-syslog \
|
||||||
--with-libsmbclient \
|
--with-libsmbclient &&
|
||||||
--without-python &&
|
sed -i -e "s/lib64/lib/g" Makefile
|
||||||
sed -e "s/lib64/lib/g" Makefile >/tmp/Makefile
|
make -j $NUMCPU LDEMULATION=elf_i386
|
||||||
mv /tmp/Makefile Makefile
|
|
||||||
make
|
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
make DESTDIR=$TMPROOT installclientlib
|
make DESTDIR=$TMPROOT installclientlib
|
||||||
make distclean
|
make distclean
|
||||||
@ -132,65 +131,65 @@ mk32() {
|
|||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--with-libdir=\${prefix}/lib64"
|
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--with-configdir=/etc/samba \
|
--with-configdir=/etc/samba \
|
||||||
--with-sysconfdir=/etc/samba \
|
--sysconfdir=/etc/samba \
|
||||||
--prefix=/opt/samba \
|
--prefix=/opt/samba \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--with-privatedir=/etc/samba \
|
--with-privatedir=/etc/samba \
|
||||||
--with-lockdir=/var/locks \
|
--with-lockdir=/var/locks \
|
||||||
--with-swatdir=/opt/samba/swat \
|
--with-swatdir=/opt/samba/swat \
|
||||||
--with-logfilebase=/var \
|
--with-logfilebase=/var \
|
||||||
--with-cups \
|
--enable-cups \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-ads \
|
--with-ads \
|
||||||
--with-krb5 \
|
--with-krb5 \
|
||||||
--with-automount \
|
--with-automount \
|
||||||
--with-smbmount \
|
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-pam_smbpass \
|
--with-pam_smbpass \
|
||||||
--with-ldapsam \
|
|
||||||
--with-quotas \
|
--with-quotas \
|
||||||
--with-acl-support \
|
--with-acl-support \
|
||||||
--with-aio-support \
|
--with-aio-support \
|
||||||
--with-python \
|
|
||||||
--with-syslog \
|
--with-syslog \
|
||||||
--with-libsmbclient &&
|
--with-libsmbclient &&
|
||||||
make -k -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make -k -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT installclientlib
|
||||||
make -k -j $NUMCPU DESTDIR=$TMPROOT installclientlib
|
|
||||||
mv $TMPROOT/opt/samba/lib/smb.conf $TMPROOT/etc/samba
|
mv $TMPROOT/opt/samba/lib/smb.conf $TMPROOT/etc/samba
|
||||||
# LDAP support for PDC service
|
# LDAP support for PDC service
|
||||||
cd mkntpwd
|
cd mkntpwd
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
cp mkntpwd $TMPROOT/opt/samba/bin
|
cp mkntpwd $TMPROOT/opt/samba/bin
|
||||||
cd ../../examples/LDAP/smbldap-tools-*
|
cd ../../examples/LDAP/
|
||||||
cp smbldap*/smbldap-* $TMPROOT/opt/samba/sbin
|
mkdir -p $TMPROOT/etc/openldap/schema
|
||||||
cp smbldap*/smbldap_tools.pm $TMPROOT/opt/samba/sbin
|
cp *.schema $TMPROOT/etc/openldap/schema
|
||||||
mkdir -p /etc/smbldap-tools
|
cp *.ldif $TMPROOT/etc/openldap/schema
|
||||||
cp smbldap*/*.conf $TMPROOT/etc/smbldap-tools
|
for i in convertSambaAccount get_next_oid ol-schema-migrate.pl; do
|
||||||
chmod 644 $TMPROOT/etc/smbldap-tools/smbldap.conf
|
cp $i $TMPROOT/opt/samba/bin
|
||||||
chmod 600 $TMPROOT/etc/smbldap-tools/smbldap_bind.conf
|
chmod 755 $TMPROOT/opt/samba/bin/$i
|
||||||
|
done
|
||||||
cd $WD
|
cd $WD
|
||||||
|
|
||||||
# virusscan support
|
## virusscan support
|
||||||
make -j $NUMCPU proto
|
## Deaktiviert, da nicht mehr compilebar
|
||||||
|
#make -j $NUMCPU proto
|
||||||
cd ../examples/VFS/samba-vscan*
|
#
|
||||||
./configure --host=$BUILDSYS \
|
#cd ../examples/VFS/samba-vscan*
|
||||||
--target=$TARGET \
|
#./configure --host=$BUILDSYS \
|
||||||
--build=$BUILDSYS \
|
#--target=$TARGET \
|
||||||
--sysconfdir=/etc/samba \
|
#--build=$BUILDSYS \
|
||||||
--prefix=/opt/samba
|
#--sysconfdir=/etc/samba \
|
||||||
|
#--prefix=/opt/samba
|
||||||
make -j $NUMCPU
|
#
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
#make -j $NUMCPU
|
||||||
cd $WD
|
#make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
#cd $WD
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
@ -71,7 +71,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zu Basis Source Tree eintragen!
|
#Pfad zu Basis Source Tree eintragen!
|
||||||
SRCPATH=Tools/Lib
|
SRCPATH=Security/Lib
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
@ -82,8 +82,8 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32 -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32 -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
@ -101,6 +101,15 @@ mk32() {
|
|||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make distclean
|
make distclean
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/sasl2/libsasldb.a 2.1.23
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/sasl2/libanonymous.a 2.1.23
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/sasl2/libgssapiv2.a 2.1.23
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/sasl2/liblogin.a 2.1.23
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/sasl2/libotp.a 2.1.23
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/sasl2/libplain.a 2.1.23
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/libsasl2.a 2.1.23
|
||||||
|
sed -i -e "s/\(dependency_libs='\)\(.*-ldl\)\(.*$\)/\1-L\/usr\/lib\/sasl2 \2 -lgssapiv2 -lgssapi_krb5\3/" \
|
||||||
|
$TMPROOT/usr/lib/libsasl2.la
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
@ -110,15 +119,15 @@ mk() {
|
|||||||
--with-plugindir=/usr/lib64/sasl2 "
|
--with-plugindir=/usr/lib64/sasl2 "
|
||||||
mv $TMPROOT/usr/lib/sasl2{,_32}
|
mv $TMPROOT/usr/lib/sasl2{,_32}
|
||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--with-configdir=/etc/sasl2 \
|
--with-configdir=/etc/sasl2 \
|
||||||
--with-saslauthd=/var/run/sasl2 \
|
--with-saslauthd=/var/run/sasl2 \
|
||||||
--with-pam=/lib/security \
|
--with-pam=/$LIBDIR/security \
|
||||||
--with-dblib=berkeley \
|
--with-dblib=berkeley \
|
||||||
--enable-login \
|
--enable-login \
|
||||||
--enable-gssapi \
|
--enable-gssapi \
|
||||||
@ -133,6 +142,15 @@ mk() {
|
|||||||
mv $TMPROOT/usr/lib/sasl2 $TMPROOT/usr/lib64
|
mv $TMPROOT/usr/lib/sasl2 $TMPROOT/usr/lib64
|
||||||
mv $TMPROOT/usr/lib/sasl2_32 $TMPROOT/usr/lib/sasl2
|
mv $TMPROOT/usr/lib/sasl2_32 $TMPROOT/usr/lib/sasl2
|
||||||
fi
|
fi
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/sasl2/libsasldb.a 2.1.23
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/sasl2/libanonymous.a 2.1.23
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/sasl2/libgssapiv2.a 2.1.23
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/sasl2/liblogin.a 2.1.23
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/sasl2/libotp.a 2.1.23
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/sasl2/libplain.a 2.1.23
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/libsasl2.a 2.1.23
|
||||||
|
sed -i -e "s/\(dependency_libs='\)\(.*-ldl\)\(.*$\)/\1-L\/usr\/$LIBDIR\/sasl2 \2 -lgssapiv2 -lgssapi_krb5\3/" \
|
||||||
|
$TMPROOT/usr/$LIBDIR/libsasl2.la
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
@ -101,6 +101,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
CXX="g++ ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
../amanda*/configure --target=$TARGET32 \
|
../amanda*/configure --target=$TARGET32 \
|
||||||
--with-user=amanda \
|
--with-user=amanda \
|
||||||
--with-group=backup \
|
--with-group=backup \
|
||||||
@ -113,8 +114,10 @@ mk32() {
|
|||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make distclean
|
|
||||||
ClearHostSysNameing32 $TMPROOT
|
ClearHostSysNameing32 $TMPROOT
|
||||||
|
cd ../amanda*
|
||||||
|
rm -r ../build-amanda
|
||||||
|
cd ../build-amanda
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
@ -124,6 +127,7 @@ mk() {
|
|||||||
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
../amanda*/configure --target=$TARGET \
|
../amanda*/configure --target=$TARGET \
|
||||||
--with-user=amanda \
|
--with-user=amanda \
|
||||||
--with-group=backup \
|
--with-group=backup \
|
||||||
|
@ -83,6 +83,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
@ -106,6 +107,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
|
Loading…
Reference in New Issue
Block a user