|
From: Bruce S. <bl...@us...> - 2008-08-25 13:45:37
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv30574/scripts Added Files: mod_auth_kerb Log Message: added mod_auth_kerb to PHP --- NEW FILE: mod_auth_kerb --- #!/bin/bash # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: mod_auth_kerb # Required-Start: $basebuildtools $libs httpd krb5 # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: mod_auth_kerb for apache ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) if [ "$CONFIG_HTTPD" = "y" ]; then if [ "$CONFIG_MOD_AUTH_KERB" = "y" ]; then ./configure --with-krb5 --with-krb4=no --with-apache make || exit 1 strip_debug fi fi ;; install ) if [ "$CONFIG_HTTPD" = "y" ]; then if [ "$CONFIG_MOD_AUTH_KERB" = "y" ]; then make install DESTDIR=$TMPDIR || exit 1 cp src/.libs/mod_auth_kerb.so $CDDIR/usr/lib/apache2/modules/ || exit 1 rm -rf $TMPDIR || exit 1 fi fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |