[packages/logwatch] - recognize dovecot's imap logged out lines - release 3
adamg
adamg at pld-linux.org
Wed Sep 26 13:09:58 CEST 2018
commit 04d0c56c252524e47d8f14ac2d19b057ceac2793
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Wed Sep 26 13:09:33 2018 +0200
- recognize dovecot's imap logged out lines
- release 3
logwatch-dovecot.patch | 14 ++++++++++++++
logwatch.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/logwatch.spec b/logwatch.spec
index fdbd7f9..7283f89 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -3,7 +3,7 @@ Summary: Analyzes system logs
Summary(pl.UTF-8): Logwatch - analizator logów systemowych
Name: logwatch
Version: 7.4.3
-Release: 2
+Release: 3
License: MIT
Group: Applications/System
Source0: http://downloads.sourceforge.net/logwatch/%{name}-%{version}.tar.gz
@@ -25,6 +25,7 @@ Patch6: %{name}-secure-userhelper.patch
Patch7: %{name}-sshd.patch
Patch8: %{name}-sshd-2.patch
Patch9: %{name}-vsftpd.patch
+Patch10: %{name}-dovecot.patch
URL: http://www.logwatch.org/
BuildRequires: rpm-perlprov
Requires: crondaemon
@@ -61,6 +62,7 @@ użyciu i może pracować na większości systemów.
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
diff --git a/logwatch-dovecot.patch b/logwatch-dovecot.patch
new file mode 100644
index 0000000..372f4bf
--- /dev/null
+++ b/logwatch-dovecot.patch
@@ -0,0 +1,14 @@
+recognize dovecot's imap logged-out lines:
+
+dovecot: imap(login)<10065><i/h0D7F2gKh/AAAB>: Logged out in=355 out=1202 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0: 1 Time(s)
+
+--- logwatch-7.4.3/scripts/services/dovecot~ 2016-04-27 22:14:01.000000000 +0200
++++ logwatch-7.4.3/scripts/services/dovecot 2018-09-25 18:58:07.433333108 +0200
+@@ -141,6 +141,7 @@
+ ($ThisLine =~ /auth-worker/) or
+ ($ThisLine =~ /auth:.*: Connected to/) or
+ ($ThisLine =~ /Connection closed/) or
++ ($ThisLine =~ /Logged out/) or
+ ($ThisLine =~ /IMAP.*: Connection closed bytes/) or
+ ($ThisLine =~ /IMAP.* failed with mbox file/) or
+ ($ThisLine =~ /discarded duplicate forward to/) or
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/logwatch.git/commitdiff/04d0c56c252524e47d8f14ac2d19b057ceac2793
More information about the pld-cvs-commit
mailing list