diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-12-23 01:11:36 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-12-23 01:11:36 +0000 |
commit | de747516b128a8df8af8935a351e0874420e8d80 (patch) | |
tree | b85219b333cc4138475dc8f38eef5a15fd3fa06e /app-admin/tenshi | |
parent | [QA] Remove unused files. (A stub init script that has been 7,5 years in the ... (diff) | |
download | gentoo-2-de747516b128a8df8af8935a351e0874420e8d80.tar.gz gentoo-2-de747516b128a8df8af8935a351e0874420e8d80.tar.bz2 gentoo-2-de747516b128a8df8af8935a351e0874420e8d80.zip |
[QA] Remove unused files.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'app-admin/tenshi')
-rw-r--r-- | app-admin/tenshi/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/tenshi/files/tenshi-0.10-solo-queue-escalation.patch | 46 | ||||
-rw-r--r-- | app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch | 34 | ||||
-rw-r--r-- | app-admin/tenshi/files/tenshi-remove-timezone-cache.patch | 18 |
4 files changed, 8 insertions, 100 deletions
diff --git a/app-admin/tenshi/ChangeLog b/app-admin/tenshi/ChangeLog index c0d2de3ecf10..5707c5da018a 100644 --- a/app-admin/tenshi/ChangeLog +++ b/app-admin/tenshi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/tenshi -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.73 2012/08/04 09:07:53 maksbotan Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.74 2013/12/23 01:11:36 tomwij Exp $ + + 23 Dec 2013; Tom Wijsman <TomWij@gentoo.org> + -files/tenshi-0.10-solo-queue-escalation.patch, + -files/tenshi-0.10-warn-logfile.patch, + -files/tenshi-remove-timezone-cache.patch: + [QA] Remove unused files. 04 Aug 2012; Maxim Koltsov <maksbotan@gentoo.org> metadata.xml: Use proper herd name in metadata.xml diff --git a/app-admin/tenshi/files/tenshi-0.10-solo-queue-escalation.patch b/app-admin/tenshi/files/tenshi-0.10-solo-queue-escalation.patch deleted file mode 100644 index c17d9f7e749e..000000000000 --- a/app-admin/tenshi/files/tenshi-0.10-solo-queue-escalation.patch +++ /dev/null @@ -1,46 +0,0 @@ -Submitted by: Heath Caldwell <hncaldwell@gentoo.org> -Date: 2008-10-21 -Initial Package Version: 0.10 -Upstream Status: Accepted to be included in next release -Description: Allows the leftmost queue to have an escalation number if it is the only queue mentioned. - ---- a/tenshi -+++ b/tenshi -@@ -522,7 +522,7 @@ - } - } - -- if ($queue[0] =~ /:/) { -+ if (@queue > 1 and $queue[0] =~ /:/) { - die RED "[ERROR] Left most queue in a multiple queue declaration can not have an escalation number\n"; - } - ---- a/tenshi.8 -+++ b/tenshi.8 -@@ -337,16 +337,16 @@ - regexp. The queue will receive the message that matched the regexp at the time - of escalation, with a count equal to the escalation number. The count of - messages matching the regexp will be reset when the left most queue mentioned --in the queue list is mailed.The left most queue cannot have an escalation --number. When the number of messages that match the regexp reaches the greatest --escalation number mentioned, escalation will begin again into the escalation --queues, modulus the greatest escalation number. For example, using the queues --`a,b:10,c:50', when 10 messages match the regexp, a message will go into b, --when 50 match, one will go into c. At 60, another will go into b, and at 100, --another into c, 110 to b, 150 to c, and so on. Escalation numbers must be --positive integers greater than zero and must be listed in increasing order from --left to right. All queues without escalation numbers must be listed more left --than the queues with escalation numbers. -+in the queue list is mailed. The left most queue cannot have an escalation -+number unless it is the only queue listed. When the number of messages that -+match the regexp reaches the greatest escalation number mentioned, escalation -+will begin again into the escalation queues, modulus the greatest escalation -+number. For example, using the queues `a,b:10,c:50', when 10 messages match the -+regexp, a message will go into b, when 50 match, one will go into c. At 60, -+another will go into b, and at 100, another into c, 110 to b, 150 to c, and so -+on. Escalation numbers must be positive integers greater than zero and must be -+listed in increasing order from left to right. All queues without escalation -+numbers must be listed more left than the queues with escalation numbers. - - .br - The standard grouping operators diff --git a/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch b/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch deleted file mode 100644 index 0c3e7bb91608..000000000000 --- a/app-admin/tenshi/files/tenshi-0.10-warn-logfile.patch +++ /dev/null @@ -1,34 +0,0 @@ -Submitted by: Heath Caldwell <hncaldwell@gentoo.org> -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. - ---- a/tenshi -+++ b/tenshi -@@ -141,10 +141,23 @@ - die RED "[ERROR] $main{'csv'}{'path'}: not executable"; - } - -+ my @good_log_files; - foreach my $log (@log_files) { -- die RED "[ERROR] $log: no such file" if (! -f $log); -- die RED "[ERROR] $log: file not readable" if (! -r $log); -+ unless (-f $log) { -+ print STDERR RED "[WARNING] $log: no such file\n"; -+ next; -+ } -+ -+ unless (-r $log) { -+ print STDERR RED "[WARNING] $log: file not readable\n"; -+ next; -+ } -+ -+ push @good_log_files, $log; - } -+ @good_log_files > 0 || @fifo_files > 0 -+ or die RED "[ERROR] no readable log files"; -+ @log_files = @good_log_files; - } - - # diff --git a/app-admin/tenshi/files/tenshi-remove-timezone-cache.patch b/app-admin/tenshi/files/tenshi-remove-timezone-cache.patch deleted file mode 100644 index 272bcfda47fa..000000000000 --- a/app-admin/tenshi/files/tenshi-remove-timezone-cache.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/tenshi -+++ b/tenshi -@@ -45,7 +45,6 @@ - - my $our_hostname = hostname(); - my @startup_time = localtime(); --my $timezone = get_timezone(); - - my ($uid, $gid); - -@@ -818,6 +817,7 @@ - return; - } - -+ my $timezone = get_timezone(); - my $subject = $main{$queue}{'subject'} || $subject; - - $smtp->datasend("From: $main{$queue}{'mailfrom'}\n"); |