|
From: Heiko Z. <smi...@us...> - 2010-04-24 18:33:50
|
Update of /cvsroot/devil-linux/build/scripts In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv30127/scripts Modified Files: mod_auth_kerb mod_perl Added Files: modsecurity-apache Log Message: - added modsecurity-apache 2.5.12 - removed some redundant options from httpd compile script - cleaned up unnecessary parts from mod_xxx scripts Index: mod_auth_kerb =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/mod_auth_kerb,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mod_auth_kerb 6 Jan 2010 15:20:24 -0000 1.3 +++ mod_auth_kerb 24 Apr 2010 18:33:40 -0000 1.4 @@ -25,9 +25,7 @@ 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 ;; --- NEW FILE: modsecurity-apache --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/modsecurity-apache,v $ # $Revision: 1.1 $ # $Date: 2010/04/24 18:33:41 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=PHP case $1 in build ) if [ "$CONFIG_HTTPD" = "y" ] && [ "$CONFIG_MODSECURITY" = "y" ]; then cd apache2 || exit 1 ./configure --prefix=/usr || exit 1 make all || exit 1 fi ;; install ) if [ "$CONFIG_HTTPD" = "y" ] && [ "$CONFIG_MODSECURITY" = "y" ]; then cp -v apache2/.libs/mod_security2.so $CDDIR/usr/lib/apache2/modules/ || exit 1 mkdir -p $ETCDIR/etc/apache2/modsecurity_crs || exit 1 cp -vR rules/* $ETCDIR/etc/apache2/modsecurity_crs/ || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: mod_perl =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/mod_perl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- mod_perl 6 Jan 2010 15:20:24 -0000 1.6 +++ mod_perl 24 Apr 2010 18:33:41 -0000 1.7 @@ -25,9 +25,7 @@ install ) if [ "$CONFIG_HTTPD" = "y" ]; then if [ "$CONFIG_MOD_PERL" = "y" ]; then - make install DESTDIR=$TMPDIR || exit 1 cp src/modules/perl/mod_perl.so $CDDIR/usr/lib/apache2/modules/ || exit 1 - rm -rf $TMPDIR || exit 1 fi fi ;; |