summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-11-04 19:19:22 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-11-04 19:21:43 +0100
commit130fd3900a6254296acd6f14f8d7129992418ae5 (patch)
treec30661b0075f04af6ad98a8373082fbfb4e756fd /sys-apps/logwatch/files
parentmedia-sound/xmms2: adapt to mac-3 -> mac-4 API change (diff)
downloadgentoo-130fd3900a6254296acd6f14f8d7129992418ae5.tar.gz
gentoo-130fd3900a6254296acd6f14f8d7129992418ae5.tar.bz2
gentoo-130fd3900a6254296acd6f14f8d7129992418ae5.zip
sys-apps/logwatch: Bump to v7.4.3_p20171025 (snapshot release)
- We are now creating /var/cache/logwatch via tmpfile (bug #607668) - Snapshot release should address missed dovecot log entires (bug #633916) Closes: https://bugs.gentoo.org/607668 Closes: https://bugs.gentoo.org/633916 Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'sys-apps/logwatch/files')
-rw-r--r--sys-apps/logwatch/files/logwatch-7.4.3+-openssh-hpn.patch16
-rw-r--r--sys-apps/logwatch/files/logwatch.tmpfile1
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-apps/logwatch/files/logwatch-7.4.3+-openssh-hpn.patch b/sys-apps/logwatch/files/logwatch-7.4.3+-openssh-hpn.patch
new file mode 100644
index 000000000000..426253df85d0
--- /dev/null
+++ b/sys-apps/logwatch/files/logwatch-7.4.3+-openssh-hpn.patch
@@ -0,0 +1,16 @@
+Add an 'ignore' line for the HPN patch that we enable on our openssh by default.
+
+https://sourceforge.net/tracker/?func=detail&aid=3257504&group_id=312875&atid=1316824
+
+--- a/scripts/services/sshd
++++ b/scripts/services/sshd
+@@ -315,7 +315,8 @@ while (defined(my $ThisLine = <STDIN>)) {
+ ($ThisLine =~ /Found matching \w+ key:/ ) or
+ ($ThisLine =~ /User child is on pid \d/ ) or
+ ($ThisLine =~ /Nasty PTR record .* is set up for [\da-fA-F.:]+, ignoring/) or
+- ($ThisLine =~ /Disconnected from [\da-fA-F.:]* port \d*/ )
++ ($ThisLine =~ /Disconnected from [\da-fA-F.:]* port \d*/ ) or
++ ($ThisLine =~ /^SSH: Server;L[Tt]ype: /)
+ ) {
+ # Ignore these
+ } elsif ( my ($Method,$User,$Host,$Port,$Key,$FingerP) = ($ThisLine =~ /^Accepted (\S+) for ((?:invalid user )?\S+) from ([\d\.:a-f]+)(?:%\w+)? port (\d+) ssh[12](?:: (\w+) (.+))?/) ) {
diff --git a/sys-apps/logwatch/files/logwatch.tmpfile b/sys-apps/logwatch/files/logwatch.tmpfile
new file mode 100644
index 000000000000..86bd4cc7b3bf
--- /dev/null
+++ b/sys-apps/logwatch/files/logwatch.tmpfile
@@ -0,0 +1 @@
+d /var/cache/logwatch 0770 root root -