Source File section
File created: changelogs/changes-20040727.html (Size: 12539, Created: Jul 27 08:10 )
Usermanager Section
File created: mylinux-usermanager-0.98/compile-scripts/x
#!/bin/bash
########################################################################
# File: compile-scripts/MAIN-PACKAGE #
# myLinux Server: Copyright (c) 2004 Michael Oberg #
# Version: 0.98 #
# Author: Michael Oberg #
# #
# 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 2 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 Public License along #
# with this package; if not, write to the Free Software Foundation, #
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
########################################################################
# Warning: You have to make sure that setup/mylinux.conf is correct.
MYLINUXMGR=`dirname $0`
if echo $MYLINUXMGR | grep '^[^/]' > /dev/null
then
# MYLINUXMGR is not an absolute path, but relative to pwd;
# change it into an absolute path
MYLINUXMGR=`pwd`/`dirname $0`
fi
MYLINUXPACKAGE=`echo $MYLINUXMGR | sed 's|/compile-scripts||'`
MYLINUXPACKAGENAME=`echo $MYLINUXPACKAGE | sed 's|.*/\([^/]*\)|\1|'`
cp $MYLINUXMGR/{COMPILE-*,STARTPACKAGE,CREATEPACKAGE} $LFS/MyLinux-Sources
##############################################################
# Package OpenOffice.org #
##############################################################
echo "Unpacking OpenOffice.org Sources"
mkdir $LFS/OOO-Sources
cd $LFS/OOO-Sources
$MYLINUXMGR/UNPACK Versuche/OpenOffice
echo "Start Package"
chroot $LFS /usr/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/qt/bin \
/bin/bash --login \
-c "/MyLinux-Sources/STARTPACKAGE" || exit 1
echo "Compile OpenOffice.org"
chroot $LFS /usr/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/qt/bin \
/bin/bash --login \
-c /MyLinux-Sources/COMPILE-OOO || exit 1
echo "Create Package"
chroot $LFS /usr/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/qt/bin \
/bin/bash --login \
-c "/MyLinux-Sources/CREATEPACKAGE openoffice" || exit 1
##############################################################
# Package Compiler 340 #
##############################################################
#echo "Start Package"
#chroot $LFS /usr/bin/env -i \
# HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
# PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/qt/bin \
# /bin/bash --login \
# -c "/MyLinux-Sources/STARTPACKAGE" || exit 1
#
#echo "Compile GCC 3.4.0"
#chroot $LFS /usr/bin/env -i \
# HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
# PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/qt/bin \
# /bin/bash --login \
# -c /MyLinux-Sources/COMPILE-COMPILERS340 || exit 1
#
#echo "Create Package"
#chroot $LFS /usr/bin/env -i \
# HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
# PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/qt/bin \
# /bin/bash --login \
# -c "/MyLinux-Sources/CREATEPACKAGE gcc340" || exit 1
##############################################################
# End Installation #
##############################################################
# since .profile sets a PATH, it has to be moved while compiling -
# restoring it now
mv $LFS/root/profile-backup $LFS/root/.profile
# reactivate ldap in nsswitch.conf
mv $LFS/etc/nsswitch.bak $LFS/etc/nsswitch.conf
File changed: mylinux-usermanager-0.98/MyLinux-Patches/asterisk-makefile.patch
1,3c1,3
< --- ./Makefile 2004-04-01 00:43:10.000000000 +0200
< +++ ./Makefile 2004-07-14 20:43:35.000000000 +0200
< @@ -97,7 +97,7 @@
---
> --- ./Makefile 2004-07-27 06:00:29.000000000 +0200
> +++ ./Makefile 2004-07-27 14:37:13.000000000 +0200
> @@ -107,7 +107,7 @@
8a9
> ASTMANDIR=$(INSTALL_PREFIX)/usr/share/man
11d11
< AGI_DIR=$(ASTVARLIBDIR)/agi-bin
File changed: mylinux-usermanager-0.98/compile-scripts/BASESYSTEM
24c24
< if [ x$2 = x]
---
> if [ x$2 = x ]
File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-ASTERISK
52c52
< cat << EOF > /root/asterisk
---
> cat << "EOF" > /root/asterisk
74a75,78
> # This file will be ignored anyway, but causes error messages -
> # it could be considered as a bug in the new bri-stuff.
> rm /etc/conf.modules
>
File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-OOO
26,27c26,27
< mv /OOO-Sources/apache-ant-1.6.2/ /usr/$JAVA_HOME
< chown -R root.root /usr/$JAVA_HOME/apache-ant-*
---
> mv /OOO-Sources/apache-ant-1.6.2/ $JAVA_HOME
> chown -R root.root $JAVA_HOME/apache-ant-*
29d28
< export JAVA_HOME ANT_HOME
30a30
> export JAVA_HOME ANT_HOME PATH
75,76c75,78
< cd /OOO-Sources/oo_1.1.2_src/
< ./configure
---
> mount /proc
> cd /OOO-Sources/oo_1.1.2_src/config_office/
> echo "TCSH=/bin/bash ./configure --with-jdk-home=$JAVA_HOME --with-ant-home=$ANT_HOME"
> TCSH=/bin/bash ./configure --with-jdk-home=$JAVA_HOME --with-ant-home=$ANT_HOME
79a82
> umount /proc
File changed: mylinux-usermanager-0.98/compile-scripts/MAIN-PACKAGES
450c450
< $MYLINUXMGR/UNPACK Versuche/ÓpenOffice
---
> $MYLINUXMGR/UNPACK Versuche/OpenOffice