]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Logwatch Buildfix.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Wed, 22 Aug 2007 21:24:17 +0000 (21:24 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Wed, 22 Aug 2007 21:24:17 +0000 (21:24 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@808 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

lfs/logwatch

index 39c6244bd14a82357c740cdcc8bef43d7a8bb774..faf31ed627e3748f15d8c3588d0e3190ee478278 100644 (file)
@@ -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)