Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv3634/scripts
Added Files:
heimdal
Removed Files:
krb5
Log Message:
removed MIT kerberos 5
added heimdal as replacement
--- NEW FILE: heimdal ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/heimdal,v $
# $Revision: 1.1 $
# $Date: 2003/10/28 01:21:24 $
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: heimdal
# Required-Start: $basebuildtools glibc db-4 gdbm Libnet openssl openldap readline
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
source $MYDIR/functions
MYNAME=HEIMDAL
case $1 in
build )
if [ "$CONFIG_HEIMDAL" = "y" ]; then
./configure --prefix=/usr --localstatedir=/var --enable-shared --disable-berkeley-db || exit 1
make $PMAKE all || exit 1
strip_debug
make install
fi
;;
install )
if [ "$CONFIG_HEIMDAL" = "y" ]; then
rm -rf $WORKDIR/tmp || exit 1
mkdir -p $WORKDIR/tmp/usr/sbin || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
copy_docs $WORKDIR/tmp
rm -rf $WORKDIR/tmp/usr/include || exit 1
rm -rf $WORKDIR/tmp/usr/lib/*a || exit 1
copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1
rm -rf $WORKDIR/tmp || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- krb5 DELETED ---
|