From 9163300fb79c4f4602b50e2316b13b1e2502fe67 Mon Sep 17 00:00:00 2001 From: ms Date: Wed, 22 Aug 2007 21:24:17 +0000 Subject: [PATCH] Logwatch Buildfix. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@808 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- lfs/logwatch | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/lfs/logwatch b/lfs/logwatch index 39c6244bd1..faf31ed627 100644 --- a/lfs/logwatch +++ b/lfs/logwatch @@ -92,18 +92,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # for i in $$UNNEEDED ; do \ # rm -f /etc/log.d/{conf,scripts}/services/$$i{,.conf} /etc/log.d/conf/logfiles/$$i.conf; \ # done - #rm -rf /etc/log.d/scripts/logfiles - cp -f $(DIR_SRC)/config/logwatch/dialup /etc/log.d/scripts/services/dialup - cp -f $(DIR_SRC)/config/logwatch/dialup.conf /etc/log.d/conf/services/dialup.conf - - #sed -i 's/df -h/df -h -x rootfs/' /etc/log.d/scripts/services/zz-disk_space - #for i in `find /etc/log.d -type f`; do \ - # sed -i 's/perl -w/perl/' $$i; \ - #done - # The httpd log checker script considers any request containing the word - # null to be an exploit attempt, reverse this behaviour as we have a - # null.gif - #sed -i -e "/ 'null',/d" /etc/log.d/scripts/services/http - #chmod -R 755 /etc/log.d + cp -f $(DIR_SRC)/config/logwatch/dialup /usr/share/logwatch/scripts/services/dialup + cp -f $(DIR_SRC)/config/logwatch/dialup.conf /usr/share/logwatch/dist.conf/services/dialup.conf + @rm -rf $(DIR_APP) @$(POSTBUILD) -- 2.39.2