Source File section

File deleted: Versuche/IPSec/~$stallation Freeswan IPSec.doc (Size: 162, Created: Aug 2 13:51 )
File deleted: Old-Packages/WebminModule/shellinabox.wbm.gz (Size: 159522, Created: Feb 3 04:54 )
File created: Versuche/IPSec/Installation Freeswan V2.doc (Size: 642048, Created: Aug 3 16:23 )
File created: Versuche/IPSec/Hilfe.pdf (Size: 105775, Created: Aug 4 20:40 )
File created: Versuche/OpenOffice/helpcontent_49_unix.tgz.url (Size: 152, Created: Aug 3 18:07 )
File created: Versuche/OpenOffice/helpcontent_49_unix.tgz (Size: 13649920, Created: Aug 3 18:13 )
File created: Old-Packages/WebminModule/shellinabox.wbm.gz (Size: 159522, Created: Feb 3 2004 )

Usermanager Section

File deleted: 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 <michael.oberg@mylinuxproject.de>      #
#                                                                      #
# 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/compile-scripts/COMPILE-OOO

87c87
<   --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
---
>   --with-lang=ALL
88a89
> mv ../*.zip ../license.txt solver/641/unxlngi4.pro/pck/
92a94,99
> 
> # As long as I does not have a non-interactive setup, the compiled
> # system has to be stored whole:
> cd ..
> mv oo_* /usr/src/
> 
93a101,113
> 
> # The following I've found in google, so ignore the message given
> # after compiling:
> # >WARNING! Project(s):
> # >gtk
> # >
> # >not found and couldn't be built. Correct build.lsts.
> # >
> # ...
> # This is a warning, should be ignored. If it bothers you, it can be 
> # removed from one of prj.lst files as dependency. From what I undestood, 
> # it is one of the internal projects that OO developers use to compile 
> # crashrep.