[Pkg-logwatch-general] r84 - in trunk: debian patches
Willi Mann
willi-guest at alioth.debian.org
Wed Sep 9 18:32:40 UTC 2009
Author: willi-guest
Date: 2009-09-09 18:32:40 +0000 (Wed, 09 Sep 2009)
New Revision: 84
Added:
trunk/patches/04-bug507042-wrap-denyhosts.diff
Modified:
trunk/debian/changelog
Log:
* scripts/services/denyhosts: Output one host per line, not one possibly
very long line with all hosts. closes: #507042
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-09-09 18:20:53 UTC (rev 83)
+++ trunk/debian/changelog 2009-09-09 18:32:40 UTC (rev 84)
@@ -7,6 +7,8 @@
unpacked before being processed (closes: #536472)
* Include patch for imapd to support loglines from uw-imapd, submitted by
Marcin Szewczyk, closes: #541152
+ * scripts/services/denyhosts: Output one host per line, not one possibly
+ very long line with all hosts. closes: #507042
-- Willi Mann <willi at wm1.at> Mon, 07 Sep 2009 17:04:43 +0200
Added: trunk/patches/04-bug507042-wrap-denyhosts.diff
===================================================================
--- trunk/patches/04-bug507042-wrap-denyhosts.diff (rev 0)
+++ trunk/patches/04-bug507042-wrap-denyhosts.diff 2009-09-09 18:32:40 UTC (rev 84)
@@ -0,0 +1,16 @@
+# Patch by Willi Mann for better formatting - otherwise output might
+# be one very long line. See
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507042
+diff --git a/scripts/services/denyhosts b/scripts/services/denyhosts
+index 30ae251..2b603ac 100755
+--- a/scripts/services/denyhosts
++++ b/scripts/services/denyhosts
+@@ -40,7 +40,7 @@ while (defined($ThisLine = <STDIN>)) {
+
+ if (scalar(@Denies)) {
+ print "\n";
+- print "new denied hosts: ".join(",", @Denies);
++ print "new denied hosts: \n ".join("\n ", @Denies);
+ print "\n";
+ }
+
More information about the Pkg-logwatch-general
mailing list