mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Merge remote-tracking branch 'jlentfer/logwatch' into next
This commit is contained in:
@@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@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) && 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) && chmod 755 install_logwatch.sh
|
||||||
cd $(DIR_APP) && yes "" | ./install_logwatch.sh
|
cd $(DIR_APP) && yes "" | ./install_logwatch.sh
|
||||||
|
|
||||||
|
|||||||
13
src/patches/logwatch-7.3.6-date_manip6.patch
Normal file
13
src/patches/logwatch-7.3.6-date_manip6.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
--- Logwatch.pm.orig 2012-06-20 09:58:12.786294471 +0200
|
||||||
|
+++ Logwatch.pm 2012-06-20 09:41:59.443055298 +0200
|
||||||
|
@@ -4,6 +4,10 @@
|
||||||
|
|
||||||
|
package Logwatch;
|
||||||
|
|
||||||
|
+# Define interace version 5 for Date::Manip
|
||||||
|
+BEGIN {
|
||||||
|
+ $Date::Manip::Backend = 'DM5';
|
||||||
|
+}
|
||||||
|
use strict;
|
||||||
|
use Exporter;
|
||||||
|
use POSIX qw(strftime);
|
||||||
Reference in New Issue
Block a user