|
From: Serge L. <sma...@us...> - 2009-01-07 06:05:08
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4078 Modified Files: DenyHosts Log Message: - added Python dependency Index: DenyHosts =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/DenyHosts,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- DenyHosts 10 Jan 2007 15:00:56 -0000 1.4 +++ DenyHosts 7 Jan 2009 06:04:59 -0000 1.5 @@ -29,17 +29,20 @@ case $1 in build ) if [ "$CONFIG_DENYHOSTS" = "y" ]; then + if [ "$CONFIG_PYTHON" = "y" ]; then if [ ! -f .patch.done ] && [ -e $DL_DIR/src/denyhosts.diff.gz ]; then #From Debian zcat $DL_DIR/src/denyhosts.diff.gz | patch -p1 || exit 1 touch .patch.done fi python setup.py build || exit 1 + fi fi ;; install ) if [ "$CONFIG_DENYHOSTS" = "y" ]; then + if [ "$CONFIG_PYTHON" = "y" ]; then rm -rf $TMPDIR mkdir -p $TMPDIR || exit 1 @@ -67,6 +70,7 @@ echo "HELP_$MYNAME=\"analyzes hosts are attempting to hack\"" >> $SOFTWAREHELP rm -rf $TMPDIR || exit 1 + fi fi ;; |