Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package logwatch for openSUSE:Factory checked in at 2022-09-27 20:16:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/logwatch (Old) and /work/SRC/openSUSE:Factory/.logwatch.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "logwatch" Tue Sep 27 20:16:09 2022 rev:47 rq:1006457 version:7.5.5 Changes: -------- --- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes 2021-10-20 20:24:58.093403406 +0200 +++ /work/SRC/openSUSE:Factory/.logwatch.new.2275/logwatch.changes 2022-09-27 20:16:10.730121431 +0200 @@ -1,0 +2,6 @@ +Thu Sep 22 19:55:37 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de> + +- fix warnings due to GNU grep 3.8 deprecation boo#1203665 + add logwatch-7.5.5-egrep.patch + +------------------------------------------------------------------- New: ---- logwatch-7.5.5-egrep.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ logwatch.spec ++++++ --- /var/tmp/diff_new_pack.rgHaYh/_old 2022-09-27 20:16:11.286122642 +0200 +++ /var/tmp/diff_new_pack.rgHaYh/_new 2022-09-27 20:16:11.290122650 +0200 @@ -1,7 +1,7 @@ # # spec file for package logwatch # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,6 +32,8 @@ Patch2: logwatch-timestamp_in_var.patch Patch3: harden_logwatch.service.patch Patch4: harden_logwatch_dmeventd.service.patch +# PATCH-FIX-UPSTREAM https://sourceforge.net/p/logwatch/bugs/109/ +Patch5: logwatch-7.5.5-egrep.patch Requires: grep Requires: mailx Requires: perl @@ -69,6 +71,7 @@ sed -i -e 's,/usr/share/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build ++++++ logwatch-7.5.5-egrep.patch ++++++ From: Andreas Stieger <andreas.stie...@gmx.de> Date: Thu, 22 Sep 2022 21:53:27 +0200 References: boo#1293665 Index: logwatch-7.5.5/scripts/logwatch.pl =================================================================== --- logwatch-7.5.5.orig/scripts/logwatch.pl +++ logwatch-7.5.5/scripts/logwatch.pl @@ -702,7 +702,7 @@ $ENV{'LOGWATCH_NUMERIC'} = $Config{'nume $ENV{'HOSTNAME'} = $Config{'hostname'}; $ENV{'OSname'} = $OSname; -my $no_egrep = system("egrep -V > /dev/null 2>&1"); +my $no_egrep = system("grep -E -V > /dev/null 2>&1"); #split and splitmail also play with LOGWATCH_ONLY_HOSTNAME which is not shown by debug if ($Config{'hostlimit'}) { @@ -1399,11 +1399,11 @@ sub parselogs { $Command = " ( $Config{'pathtocat'} $FileText| " ; if ($ServiceData{$Service}{pre_ignore}) { if ($no_egrep) { - die "No egrep executable found, which is required when\n" . + die "No working grep -E found, which is required when\n" . "using the Pre_Ignore variable in configuration \n" . "file ${Service}.conf\n"; } else { - $Command .= "egrep -v \"$ServiceData{$Service}{pre_ignore}\" | "; + $Command .= "grep -E -v \"$ServiceData{$Service}{pre_ignore}\" | "; } } if ($HostStrip ne " ") { Index: logwatch-7.5.5/scripts/shared/onlycontains =================================================================== --- logwatch-7.5.5.orig/scripts/shared/onlycontains +++ logwatch-7.5.5/scripts/shared/onlycontains @@ -18,9 +18,9 @@ ## copyright please contact logwatch-de...@lists.sourceforge.net. ######################################################### -# Just does a case-insensitive egrep ;) +# Just does a case-insensitive grep -E ;) -system("egrep -i \"@ARGV\""); +system("grep -E -i \"@ARGV\""); # vi: shiftwidth=3 syntax=perl tabstop=3 et # Local Variables: Index: logwatch-7.5.5/scripts/shared/remove =================================================================== --- logwatch-7.5.5.orig/scripts/shared/remove +++ logwatch-7.5.5/scripts/shared/remove @@ -18,10 +18,10 @@ ## copyright please contact logwatch-de...@lists.sourceforge.net. ######################################################### -# Just a case-insensitive, inverse egrep +# Just a case-insensitive, inverse grep -E -#/bin/egrep -vi "$@" -system("egrep -vi \"@ARGV\""); +#/bin/grep -E -vi "$@" +system("grep -E -vi \"@ARGV\""); # vi: shiftwidth=3 syntax=perl tabstop=3 et # Local Variables: