summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeath Caldwell <hncaldwell@gentoo.org>2008-12-17 20:34:56 +0000
committerHeath Caldwell <hncaldwell@gentoo.org>2008-12-17 20:34:56 +0000
commitc085b9f12398d44b0da0b0e8bad5fe3a8b199e9b (patch)
treecb2e7f275579199d82235e17242bd392e910c8f4 /app-admin/tenshi/files
parentRemove dummy autotools INSTALL file from DOCS. (diff)
downloadhistorical-c085b9f12398d44b0da0b0e8bad5fe3a8b199e9b.tar.gz
historical-c085b9f12398d44b0da0b0e8bad5fe3a8b199e9b.tar.bz2
historical-c085b9f12398d44b0da0b0e8bad5fe3a8b199e9b.zip
Fixed tenshi-0.10-warn-logfile.patch to not error if there are fifos set (Fixes
bug #250403). Now installing documentation in the correct place (Fixes bug Package-Manager: portage-2.1.6.1/cvs/Linux 2.6.25-gentoo-r6-grey01 x86_64
Diffstat (limited to 'app-admin/tenshi/files')
-rw-r--r--app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch b/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch
index 4a0f33be7aed..7a43cbbd9f2e 100644
--- a/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch
+++ b/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch
@@ -1,5 +1,5 @@
Submitted by: Heath Caldwell <hncaldwell@gentoo.org>
-Date: 2008-10-21
+Date: 2008-12-17
Initial Package Version: 0.10
Upstream Status: No response
Description: Warns on log files that tenshi can't open and continues monitoring the ones that it can, instead of just exiting.
@@ -7,7 +7,7 @@ Description: Warns on log files that tenshi can't open and continues monitoring
diff -ur tenshi-0.10/tenshi tenshi-0.10.new/tenshi
--- tenshi-0.10/tenshi 2008-10-06 16:55:37.000000000 -0700
+++ tenshi-0.10.new/tenshi 2008-10-07 11:46:06.000000000 -0700
-@@ -141,10 +141,22 @@
+@@ -141,10 +141,23 @@
die RED "[ERROR] $main{'csv'}{'path'}: not executable";
}
@@ -27,7 +27,8 @@ diff -ur tenshi-0.10/tenshi tenshi-0.10.new/tenshi
+
+ push @good_log_files, $log;
}
-+ @good_log_files > 0 or die RED "[ERROR] no readable log files";
++ @good_log_files > 0 || @fifo_files > 0
++ or die RED "[ERROR] no readable log files";
+ @log_files = @good_log_files;
}