|
From: Heiko Z. <smi...@us...> - 2011-12-10 19:11:57
|
Update of /cvsroot/devil-linux/build/scripts In directory vz-cvs-3.sog:/tmp/cvs-serv11680/scripts Modified Files: linux Added Files: fail2ban Log Message: - updated grsecurity to 2.2.2-3.1.4-201112082139 - added fail2ban 0.8.4 --- NEW FILE: fail2ban --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/fail2ban,v $ # $Revision: 1.1 $ # $Date: 2011/12/10 19:11:55 $ # # 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=PYTHON_LDAP case $1 in build ) if [ "$CONFIG_PYTHON" = "y" ] && [ "$CONFIG_FAIL2BAN" = "y" ]; then cp $MYDIR/config/python-ldap.cfg setup.cfg || exit 1 python setup.py build fi ;; install ) if [ "$CONFIG_PYTHON" = "y" ] && [ "$CONFIG_FAIL2BAN" = "y" ]; then mkdir -p $TMPDIR python setup.py install --root $TMPDIR cp -dvpR $TMPDIR/etc $ETCDIR/ || exit 1 rm -rf $TMPDIR/etc cp -dvpR $TMPDIR/* $CDDIR/$PYTHONDIR/ || exit 1 rm -rf $TMPDIR cp -dpvR man/*.1 $CDDIR/usr/share/man/man1 || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: linux =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/linux,v retrieving revision 1.75 retrieving revision 1.76 diff -u -d -r1.75 -r1.76 --- linux 21 Nov 2011 21:17:22 -0000 1.75 +++ linux 10 Dec 2011 19:11:55 -0000 1.76 @@ -31,8 +31,8 @@ fi make oldconfig - make $PMAKE bzImage || exit 1 - make $PMAKE modules || exit 1 + make CC="gcc -U_FORTIFY_SOURCE" $PMAKE bzImage || exit 1 + make CC="gcc -U_FORTIFY_SOURCE" $PMAKE modules || exit 1 # make sure everything exists to make other scripts happy cp -v arch/x86/boot/bzImage /boot/vmlinuz || exit 1 @@ -43,7 +43,7 @@ ;; install ) - make modules_install INSTALL_MOD_PATH=$CDDIR || exit 1 + make CC="gcc -fno-PIE -no-fatal-warnings" modules_install INSTALL_MOD_PATH=$CDDIR || exit 1 cp -v arch/x86/boot/bzImage $BOOTIMAGEDIR/vmlinuz || exit 1 cp -v System.map $BOOTIMAGEDIR/boot || exit 1 cp -v System.map $CDDIR/boot || exit 1 |