Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2015-10-14 16:44:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and      /work/SRC/openSUSE:Factory/.logwatch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "logwatch"

Changes:
--------
--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes        2015-02-20 
13:51:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2015-10-14 
16:44:48.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Sep  1 10:14:00 UTC 2015 - [email protected]
+
+- Add new patch to deal with Perl's pickyness regarding curly
+  brackets in patterns (logwatch-http.patch).
+
+-------------------------------------------------------------------

New:
----
  logwatch-http.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ logwatch.spec ++++++
--- /var/tmp/diff_new_pack.EvWEzg/_old  2015-10-14 16:44:49.000000000 +0200
+++ /var/tmp/diff_new_pack.EvWEzg/_new  2015-10-14 16:44:49.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,11 +30,12 @@
 Patch0:         logwatch-firewall.patch
 Patch2:         logwatch-timestamp_in_var.patch
 Patch3:         logwatch-dmeventd-reduce_frequency.patch
-Requires:       perl-Date-Manip
+Patch4:         logwatch-http.patch
 Requires:       cron
 Requires:       grep
 Requires:       mailx
 Requires:       perl
+Requires:       perl-Date-Manip
 Requires:       sh-utils
 Requires:       textutils
 BuildRequires:  dos2unix
@@ -53,6 +54,7 @@
 %patch0
 %patch2
 %patch3
+%patch4 -p1
 dos2unix scripts/services/courier
 
 %build

++++++ logwatch-http.patch ++++++
diff -rup logwatch-7.4.1.orig/scripts/services/http 
logwatch-7.4.1/scripts/services/http
--- logwatch-7.4.1.orig/scripts/services/http   2014-09-23 13:52:51.000000000 
+0200
+++ logwatch-7.4.1/scripts/services/http        2015-09-01 12:11:35.240751827 
+0200
@@ -310,10 +310,10 @@ while ($end_loop) {
    } elsif ($logformat =~ /\G%O/gc) {
       $parse_field[$parse_index][$parse_subindex++] = "bytes_out";
       $parse_string[$parse_index] .= "(-|\\d*)";
-   } elsif ($logformat =~ /\G%{Referer}i/gci) {
+   } elsif ($logformat =~ /\G%\{Referer}i/gci) {
       $parse_string[$parse_index] .= "(.*)";
       $parse_field[$parse_index][$parse_subindex++] = "referrer";
-   } elsif ($logformat =~ /\G%{User-Agent}i/gci) {
+   } elsif ($logformat =~ /\G%\{User-Agent}i/gci) {
       $parse_string[$parse_index] .= "(.*)";
       $parse_field[$parse_index][$parse_subindex++] = "agent";
    } elsif ($logformat =~ /\G%({.*?})?./gc) {

Reply via email to