X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Flogwatch;h=7144d07f3ba0f4ef3b60567d6a06959fcaa32264;hb=96e31c9817f1ee3bec3fe33ecae7a84ff7e4ffff;hp=4fbe9d694699b4169479e5d7d58a46401885dc1a;hpb=83aa25a74ea4b7e763d2cd0d02f6a0cdb52adf34;p=ipfire-2.x.git diff --git a/lfs/logwatch b/lfs/logwatch index 4fbe9d6946..7144d07f3b 100644 --- a/lfs/logwatch +++ b/lfs/logwatch @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2015 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 7.3.6 +VER = 7.4.1 THISAPP = logwatch-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 937d982006b2a76a83edfcfd2e5a9d7d +$(DL_FILE)_MD5 = a0c3d8721f877bdcd4a9089eb1b4691b install : $(TARGET) @@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && sed -e "s/^TEMPDIR=.*/TEMPDIR=\"\/tmp\"/g" -i install_logwatch.sh + cd $(DIR_APP)/lib && patch < $(DIR_SRC)/src/patches/logwatch-7.3.6-date_manip6.patch @cd $(DIR_APP) && chmod 755 install_logwatch.sh cd $(DIR_APP) && yes "" | ./install_logwatch.sh @@ -96,9 +97,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) -mkdir -p /var/cache/logwatch chmod -v 777 /var/cache/logwatch -mkdir -p /var/log/logwatch - chmod -v 755 /var/cache/logwatch + chmod -v 755 /var/log/logwatch -rm -rf /etc/logwatch/conf - ln -vsf /usr/share/logwatch/default.config /etc/logwatch/conf + ln -vsf /usr/share/logwatch/default.conf /etc/logwatch/conf @rm -rf $(DIR_APP) @$(POSTBUILD)