commit logwatch for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2020-07-24 09:59:44

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new.3592 (New)


Package is "logwatch"

Fri Jul 24 09:59:44 2020 rev:43 rq:80 version:7.5.3

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2020-02-18 
10:42:24.397189494 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new.3592/logwatch.changes  
2020-07-24 10:01:53.593751246 +0200
@@ -1,0 +2,6 @@
+Wed Jul 22 08:54:52 UTC 2020 - Christian Vögl 
+
+- Update to 7.5.3.
+  See /usr/share/doc/packages/logwatch/ChangeLog for details. 
+
+---

Old:

  logwatch-7.5.2.tar.gz

New:

  logwatch-7.5.3.tar.gz



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.31mnJo/_old  2020-07-24 10:01:57.853755212 +0200
+++ /var/tmp/diff_new_pack.31mnJo/_new  2020-07-24 10:01:57.853755212 +0200
@@ -20,7 +20,7 @@
 Summary:Tool to analyze and report on system logs
 License:MIT
 Group:  System/Monitoring
-Version:7.5.2
+Version:7.5.3
 Release:0
 URL:http://www.logwatch.org
 BuildArch:  noarch

++ ChangeLog ++
--- /var/tmp/diff_new_pack.31mnJo/_old  2020-07-24 10:01:57.885755243 +0200
+++ /var/tmp/diff_new_pack.31mnJo/_new  2020-07-24 10:01:57.885755243 +0200
@@ -1,6 +1,48 @@
 *** This file is updated by the SUSE package maintainers, based on version
 control logs (e.g. 'git log --oneline v1..v2'), as the Logwatch project does
 not release a change log themselves. ***
+ 7.5.3 (2020-01-22) 
+48b2db1 Updating version to 7.5.3
+9164fec [logwatch.pl,HOWTO] Added sanity check for egrep, and documented 
Pre_Ignore
+e066288 [systemd] Ignore "Consumed CPU time" messages
+e1c82e1 [systemd] Ignore "selinux: avc: *received policyload notice"
+acd8793 [afpd] Ignore Netatalk AFP/TCP listening on message
+5af5441 [rsyslogd] Ignore new "imjournal: journal files changed, reloading" 
message
+9908554 [sssd] Ignore Keytab success message
+1d69fab [systemd] Capture "Failed to execute command" messages
+ffb05ed [smartd] Ignore "not ATA, no IDENTIFY DEVICE Structure"; Avoid pattern 
capture
+44b627f [evtapplication] Ignore messages for laptops that can be off network; 
Allow ignoring of certain registry file in use messages
+a904dd6 [systemd] Update regexes for new wordings
+fddbf64 [rsyslogd] Fix ignoremessages handling; Handle invalid certificate 
messages
+55b4c45 [omsa] Much better detail handling for informational messages; Allow 
ignoring messages about uncertified drives
+fab9d5d [lvm] Ignore "lvmetad is being updated, retrying" message
+1a5c914 [cron] Re-order messages; Make incrond messages only shown with high 
detail as well
+0ee3ba7 [cron] conf: exclude atd service
+b57a07b [smartd] Expand "type changed" regex
+21536c1 [dirsrv] Ignore more routine startup message; Allow ignoring warnings
+6d059ba [clam-update] Allow ignoring of out of date clamav messages
+ab306dd [evtsecurity] Drop 4673/4: A privileged service was called - too 
noisy, no information; Empty firewall pass rules
+eadf3af [evtapplication] Ignore N/A messages and "This error was suppressed GP 
messages"
+6a9ee90 [evt*] Various enhancements
+4c22329 [logwatch.pl] Fixed spacing bug introduced in previous commit
+c4ba813 [rsyslogd.conf] Fixed typo.
+3d7df7a [sendmail] Formatted "accept failed" and "connect failed" statements 
to be consistent with rest of output.  Also added failure reason"
+123e639 [logwatch.pl] Checking for Pre_Ignore variable in every service 
configuration  file ("conf/services/*.conf).  If present, it ignores that 
regexp   (egrep syntax) in the log file BEFORE running the corresponding
 service script.
+e8ca7f7 [systemd.conf] Removed --mailto option, per Amish.
+667babb [dovecot] Modified sieve filter, and ignore doveadm HTTP API entries
+02349ab [systemd files] Enable systemd.conf files in both basedir and confdir
+10fba28 [sshd] Added illegal_users_threshold variable
+0279bc3 [dovecot] Fixed filter syntax, and clarified header removal, per Reio 
Remma
+014fed6 [logwatch.service] Add logwatch options to systemd timer, per Amish.
+90c8000 [zz-disk_space] Excluded squashfs from linux listing, per Mauro 
Dionisi.  Corrected AIX and Darwin entries.
+bd87ac0 [logwatch.pl] Fixed --logdir option; bug reported by simi.
+59198ba [named] Ignore some new messages
+ae23d27 [lvm] Ignore more pvscan informational messages
+d99ed93 [dovecot] Modified regex so that there is no overlap between LogFile 
and Archive
+14bf128 [lvm] Ignore informational pvscan messages
+32b9128 [logwatch.pl] Added 

commit logwatch for openSUSE:Factory

2020-02-18 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2020-02-18 10:41:58

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new.26092 (New)


Package is "logwatch"

Tue Feb 18 10:41:58 2020 rev:42 rq:774937 version:7.5.2

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2019-08-28 
18:35:10.665286881 +0200
+++ /work/SRC/openSUSE:Factory/.logwatch.new.26092/logwatch.changes 
2020-02-18 10:42:24.397189494 +0100
@@ -1,0 +2,11 @@
+Mon Jan 20 13:20:10 UTC 2020 - Christian Vögl 
+
+- Remove cron support:
+  * Add logwatch_dmeventd timer and unit file to
+Logwatch_Dmeventd_Setup_Files.tar.xz
+The new logwatch_dmeventd timer has to be started manually,
+in contrast to the previous cronjob
+  * Removed logwatch-dmeventd-reduce_frequency.patch:
+ No longer needed with systemd timers
+
+---

Old:

  logwatch-dmeventd-reduce_frequency.patch



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.9P3cnE/_old  2020-02-18 10:42:25.281191297 +0100
+++ /var/tmp/diff_new_pack.9P3cnE/_new  2020-02-18 10:42:25.289191314 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 Group:  System/Monitoring
 Version:7.5.2
 Release:0
-Url:http://www.logwatch.org
+URL:http://www.logwatch.org
 BuildArch:  noarch
 Source0:
http://sourceforge.net/projects/logwatch/files/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
@@ -30,9 +30,6 @@
 Source3:ChangeLog
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
-Patch3: logwatch-dmeventd-reduce_frequency.patch
-BuildRequires:  cron
-Requires:   cron
 Requires:   grep
 Requires:   mailx
 Requires:   perl
@@ -46,8 +43,7 @@
 # does where both use cron.daily.  We don't need to use systemd timers on all
 # distros with systemd, just those with logrotate.timer, which for SUSE is
 # SLE 12 SP3/Leap 42.3 and newer (including 15.x).
-%if 0%{?sle_version} >= 120300 || 0%{?fedora} >= 30
-%bcond_without systemd
+
 %{?systemd_requires}
 
 %if 0%{?suse_version}
@@ -56,10 +52,6 @@
 BuildRequires:  systemd
 %endif
 
-%else
-%bcond_with systemd
-%endif
-
 %description
 Logwatch is a customizable, pluggable log-monitoring system. It will go
 through system logs for a given period of time and make a report for the
@@ -70,7 +62,6 @@
 chmod u+w Logwatch_Setup_Files/*
 %patch0
 %patch2
-%patch3
 cp %{S:3} .
 # fix package doc dir in man page
 sed -i -e 's,/usr/share/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8
@@ -126,37 +117,32 @@
 done
 rm -f   %{buildroot}%{_sysconfdir}/cron.daily/logwatch \
%{buildroot}%{_sbindir}/logwatch
-%if %{with systemd}
+
 install -D -m 644 scheduler/logwatch.service 
%{buildroot}%{_unitdir}/logwatch.service
 install -D -m 644 scheduler/logwatch.timer 
%{buildroot}%{_unitdir}/logwatch.timer
-
-%else
-install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily
-ln -s %{_datadir}/logwatch/scripts/logwatch.pl 
%{buildroot}%{_sysconfdir}/cron.daily/0logwatch
-%endif
+install -D -m 644 Logwatch_Setup_Files/logwatch_dmeventd.service 
%{buildroot}%{_unitdir}/logwatch_dmeventd.service
+install -D -m 644 Logwatch_Setup_Files/logwatch_dmeventd.timer 
%{buildroot}%{_unitdir}/logwatch_dmeventd.timer
 install -m 0755 -d %{buildroot}%{_sbindir}
-install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.d
-install -m 0644 Logwatch_Setup_Files/dmeventd_cronjob.txt 
%{buildroot}%{_sysconfdir}/cron.d/dmeventd
+ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rclogwatch
+ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rclogwatch_dmeventd
 ln -s %{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}%{_sbindir}/logwatch
 echo "## REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT 
OUTPUT #" > %{buildroot}%{_sysconfdir}/logwatch/conf/ignore.conf
 echo "# Local configuration options go here (defaults are in 
%{_datadir}/logwatch/default.conf/logwatch.conf)" > 
%{buildroot}%{_sysconfdir}/logwatch/conf/logwatch.conf
 echo "# Configuration overrides for specific logfiles/services may be placed 
here." > %{buildroot}%{_sysconfdir}/logwatch/conf/override.conf
 #
 
-%if %{with systemd}
 %pre
-%service_add_pre %{name}.service %{name}.timer
+%service_add_pre %{name}.service %{name}.timer logwatch_dmev

commit logwatch for openSUSE:Factory

2019-08-28 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2019-08-28 18:35:09

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new.7948 (New)


Package is "logwatch"

Wed Aug 28 18:35:09 2019 rev:41 rq:726476 version:7.5.2

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2019-08-09 
16:54:41.941449790 +0200
+++ /work/SRC/openSUSE:Factory/.logwatch.new.7948/logwatch.changes  
2019-08-28 18:35:10.665286881 +0200
@@ -1,0 +2,10 @@
+Tue Aug 27 07:28:28 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in summary. Generalize description.
+
+---
+Tue Aug 20 12:00:18 CEST 2019 - ku...@suse.de
+
+- BuildRequire cron as this contains now the cron directories
+
+---
@@ -186 +195,0 @@
-



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.2daB2A/_old  2019-08-28 18:35:11.345286763 +0200
+++ /var/tmp/diff_new_pack.2daB2A/_new  2019-08-28 18:35:11.349286762 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   logwatch
-Summary:Analyzes and Reports on system logs
+Summary:Tool to analyze and report on system logs
 License:MIT
 Group:  System/Monitoring
 Version:7.5.2
@@ -31,6 +31,7 @@
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
 Patch3: logwatch-dmeventd-reduce_frequency.patch
+BuildRequires:  cron
 Requires:   cron
 Requires:   grep
 Requires:   mailx
@@ -61,8 +62,8 @@
 
 %description
 Logwatch is a customizable, pluggable log-monitoring system. It will go
-through your logs for a given period of time and make a report in the
-areas that you wish with the detail that you wish.
+through system logs for a given period of time and make a report for the
+desired areas at the desired detail level.
 
 %prep
 %setup -q -a 2




commit logwatch for openSUSE:Factory

2019-08-09 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2019-08-09 16:54:40

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new.9556 (New)


Package is "logwatch"

Fri Aug  9 16:54:40 2019 rev:40 rq:721963 version:7.5.2

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2019-08-08 
14:23:42.324346305 +0200
+++ /work/SRC/openSUSE:Factory/.logwatch.new.9556/logwatch.changes  
2019-08-09 16:54:41.941449790 +0200
@@ -1,0 +2,5 @@
+Thu Aug  8 17:16:41 UTC 2019 - Christian Vögl 
+
+- Only use cron if systemd timers are not installed
+
+---



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.6g3cRY/_old  2019-08-09 16:54:42.517449651 +0200
+++ /var/tmp/diff_new_pack.6g3cRY/_new  2019-08-09 16:54:42.521449650 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -128,12 +128,11 @@
 %if %{with systemd}
 install -D -m 644 scheduler/logwatch.service 
%{buildroot}%{_unitdir}/logwatch.service
 install -D -m 644 scheduler/logwatch.timer 
%{buildroot}%{_unitdir}/logwatch.timer
-%endif
-# Need a distro preset to enable timer; once that is in place, migrate from
-# cron and don't install this symlink (make this an "else" clause):
+
+%else
 install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily
 ln -s %{_datadir}/logwatch/scripts/logwatch.pl 
%{buildroot}%{_sysconfdir}/cron.daily/0logwatch
-
+%endif
 install -m 0755 -d %{buildroot}%{_sbindir}
 install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.d
 install -m 0644 Logwatch_Setup_Files/dmeventd_cronjob.txt 
%{buildroot}%{_sysconfdir}/cron.d/dmeventd
@@ -198,9 +197,9 @@
 %if %{with systemd}
 %{_unitdir}/logwatch.service
 %{_unitdir}/logwatch.timer
-%endif
-# cron symlink should go away after systemd migration:
+%else
 %{_sysconfdir}/cron.daily/0logwatch
+%endif
 %doc %{_mandir}/man8/logwatch.8*
 %doc %{_mandir}/man5/*.conf.5*
 %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf




commit logwatch for openSUSE:Factory

2019-08-08 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2019-08-08 14:23:38

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new.9556 (New)


Package is "logwatch"

Thu Aug  8 14:23:38 2019 rev:39 rq:721563 version:7.5.2

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2018-11-05 
22:55:55.812014831 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new.9556/logwatch.changes  
2019-08-08 14:23:42.324346305 +0200
@@ -1,0 +2,23 @@
+Thu Jul 25 20:23:36 UTC 2019 - Andrew Daugherity 
+
+- Combine changelog files. 
+- Update to 7.5.2.
+  See /usr/share/doc/packages/logwatch/ChangeLog for details.
+
+---
+Wed Feb 13 19:25:38 UTC 2019 - adaugher...@tamu.edu
+
+- Update to 7.5.1.
+  Many changes, see the various changelog files under
+  /usr/share/doc/packages/logwatch.  No upstream changelog is provided,
+  so these were created from the git log.
+  * Notable changes include support for xz archive files and for
+running as a systemd timer.
+- Drop logwatch-conf-5.patch -- a similar fix was made upstream.
+- dos2unix is not needed for build -- courier script was fixed in 2008.
+- Configure apache log paths not included by default conf (e.g. xz log
+  archives).
+- Move dmeventd conf to dist.conf (default.conf is for upstream) and
+  make its cron.d file config(noreplace).
+
+---

Old:

  logwatch-7.4.2.changelog
  logwatch-7.4.3.changelog
  logwatch-7.4.3.tar.gz
  logwatch-conf-5.patch

New:

  ChangeLog
  logwatch-7.5.2.tar.gz



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.9j0ZHu/_old  2019-08-08 14:23:43.080346188 +0200
+++ /var/tmp/diff_new_pack.9j0ZHu/_new  2019-08-08 14:23:43.084346188 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -20,19 +20,17 @@
 Summary:Analyzes and Reports on system logs
 License:MIT
 Group:  System/Monitoring
-Version:7.4.3
+Version:7.5.2
 Release:0
 Url:http://www.logwatch.org
 BuildArch:  noarch
 Source0:
http://sourceforge.net/projects/logwatch/files/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
 Source2:Logwatch_Dmeventd_Setup_Files.tar.xz
-Source3:logwatch-7.4.2.changelog
-Source4:logwatch-7.4.3.changelog
+Source3:ChangeLog
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
 Patch3: logwatch-dmeventd-reduce_frequency.patch
-Patch4: logwatch-conf-5.patch
 Requires:   cron
 Requires:   grep
 Requires:   mailx
@@ -40,9 +38,26 @@
 Requires:   perl-Date-Manip
 Requires:   sh-utils
 Requires:   textutils
-BuildRequires:  dos2unix
 BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# The main reason for using systemd timers for logwatch is on distros which
+# use timers for logrotate, to keep logwatch running before logrotate, as it
+# does where both use cron.daily.  We don't need to use systemd timers on all
+# distros with systemd, just those with logrotate.timer, which for SUSE is
+# SLE 12 SP3/Leap 42.3 and newer (including 15.x).
+%if 0%{?sle_version} >= 120300 || 0%{?fedora} >= 30
+%bcond_without systemd
+%{?systemd_requires}
+
+%if 0%{?suse_version}
+BuildRequires:  systemd-rpm-macros
+%else
+BuildRequires:  systemd
+%endif
+
+%else
+%bcond_with systemd
+%endif
 
 %description
 Logwatch is a customizable, pluggable log-monitoring system. It will go
@@ -55,9 +70,7 @@
 %patch0
 %patch2
 %patch3
-%patch4 -p1
-dos2unix scripts/services/courier
-cp %{S:3} %{S:4} .
+cp %{S:3} .
 # fix package doc dir in man page
 sed -i -e 's,/usr/share/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8
 
@@ -91,8 +104,16 @@
 install -m 0755 lib/* %{buildroot}%{_datadir}/logwatch/lib
 install -m 0644 conf/*.conf %{buildroot}%{_datadir}/logwatch/default.conf
 install -m 0644 conf/logfiles/* 
%{buildroot}%{_datadir}/logwatch/default.conf/logfiles
+# these apache log paths are not i

commit logwatch for openSUSE:Factory

2018-11-05 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2018-11-05 22:55:48

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new (New)


Package is "logwatch"

Mon Nov  5 22:55:48 2018 rev:38 rq:646088 version:7.4.3

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2018-01-22 
16:22:28.606825557 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2018-11-05 
22:55:55.812014831 +0100
@@ -1,0 +2,7 @@
+Mon Oct 22 21:54:25 UTC 2018 - adaugher...@tamu.edu
+
+- fix documentation path in logwatch(8) man page
+- install missing logwatch.conf(5) man page
+  => logwatch-conf-5.patch
+
+---

New:

  logwatch-conf-5.patch



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.3A5pP9/_old  2018-11-05 22:55:57.600012569 +0100
+++ /var/tmp/diff_new_pack.3A5pP9/_new  2018-11-05 22:55:57.604012564 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -32,6 +32,7 @@
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
 Patch3: logwatch-dmeventd-reduce_frequency.patch
+Patch4: logwatch-conf-5.patch
 Requires:   cron
 Requires:   grep
 Requires:   mailx
@@ -54,8 +55,11 @@
 %patch0
 %patch2
 %patch3
+%patch4 -p1
 dos2unix scripts/services/courier
 cp %{S:3} %{S:4} .
+# fix package doc dir in man page
+sed -i -e 's,/usr/share/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8
 
 %build
 
@@ -92,6 +96,12 @@
 install -m 0644 conf/html/* %{buildroot}%{_datadir}/logwatch/default.conf/html
 install -m 0755 -d %{buildroot}%{_mandir}/man8
 install -m 0644 logwatch.8 %{buildroot}%{_mandir}/man8
+install -m 0755 -d %{buildroot}%{_mandir}/man5
+install -m 0644 logwatch.conf.5 %{buildroot}%{_mandir}/man5
+# replace man page alias files with symlinks
+for f in {ignore,override}.conf.5; do
+ln -s logwatch.conf.5 %{buildroot}%{_mandir}/man5/$f
+done
 rm -f   %{buildroot}%{_sysconfdir}/cron.daily/logwatch \
%{buildroot}%{_sbindir}/logwatch
 install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily
@@ -142,6 +152,7 @@
 %{_datadir}/logwatch/default.conf/html/*.html
 %{_sysconfdir}/cron.daily/0logwatch
 %doc %{_mandir}/man8/logwatch.8*
+%doc %{_mandir}/man5/*.conf.5*
 %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf
 
 %changelog

++ logwatch-conf-5.patch ++
diff --git a/logwatch.conf.5 b/logwatch.conf.5
index 68dd949..ca8c56b 100644
--- a/logwatch.conf.5
+++ b/logwatch.conf.5
@@ -29,8 +29,7 @@ log/service files.
 
 .SH FILES
 .I /etc/logwatch/conf/logwatch.conf
-.I /etc/logwatch/conf/logwatch.conf
-.I /etc/logwatch/conf/logwatch.conf
+.br
 .I /usr/share/logwatch/default.conf/logwatch.conf
 
 .SH "SEE ALSO"



commit logwatch for openSUSE:Factory

2018-01-22 Thread root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2018-01-22 16:21:20

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new (New)


Package is "logwatch"

Mon Jan 22 16:21:20 2018 rev:37 rq:568182 version:7.4.3

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2017-02-19 
01:00:36.615136823 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2018-01-22 
16:22:28.606825557 +0100
@@ -1,0 +2,5 @@
+Thu Jan 18 18:03:24 UTC 2018 - dims...@opensuse.org
+
+- Remove duplicate BuildArch: noarch.
+
+---



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.103R4c/_old  2018-01-22 16:22:29.414787768 +0100
+++ /var/tmp/diff_new_pack.103R4c/_new  2018-01-22 16:22:29.418787581 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -42,7 +42,6 @@
 BuildRequires:  dos2unix
 BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
 
 %description
 Logwatch is a customizable, pluggable log-monitoring system. It will go




commit logwatch for openSUSE:Factory

2015-10-14 Thread h_root
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.changes2015-02-20 
13:51:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2015-10-14 
16:44:48.0 +0200
@@ -1,0 +2,6 @@
+Tue Sep  1 10:14:00 UTC 2015 - manfre...@gmx.net
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.EvWEzg/_new  2015-10-14 16:44:49.0 +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.0 
+0200
+++ logwatch-7.4.1/scripts/services/http2015-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) {



commit logwatch for openSUSE:Factory

2015-02-20 Thread h_root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2015-02-20 13:51:02

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.changes2013-12-11 
11:29:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2015-02-20 
13:51:03.0 +0100
@@ -1,0 +2,11 @@
+Fri Feb 20 10:50:41 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 7.4.1
+  * No changelog available
+- Remove logwatch-parse_rsyslog_timestamps.patch; merged on upstream
+  release
+- Spec file clean up
+  * Remove obsolete macros
+  * Remove redundant %clean section
+
+---

Old:

  logwatch-7.4.0.tar.bz2
  logwatch-parse_rsyslog_timestamps.patch

New:

  logwatch-7.4.1.tar.gz



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.KuECc8/_old  2015-02-20 13:51:04.0 +0100
+++ /var/tmp/diff_new_pack.KuECc8/_new  2015-02-20 13:51:04.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,21 @@
 #
 
 
-#package changed name with SLE11
-%if 0%{?suse_version} < 1100
-%define date_manip_pkg perl-DateManip
-%else
-%define date_manip_pkg perl-Date-Manip
-%endif
-
 Name:   logwatch
 Summary:Analyzes and Reports on system logs
 License:MIT
 Group:  System/Monitoring
-Version:7.4.0
+Version:7.4.1
 Release:0
 Url:http://www.logwatch.org
 BuildArch:  noarch
-Source0:logwatch-%{version}.tar.bz2
+Source0:
http://sourceforge.net/projects/logwatch/files/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
 Source2:Logwatch_Dmeventd_Setup_Files.tar.xz
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
 Patch3: logwatch-dmeventd-reduce_frequency.patch
-Patch4: logwatch-parse_rsyslog_timestamps.patch
-Requires:   %date_manip_pkg
+Requires:   perl-Date-Manip
 Requires:   cron
 Requires:   grep
 Requires:   mailx
@@ -61,7 +53,6 @@
 %patch0
 %patch2
 %patch3
-%patch4
 dos2unix scripts/services/courier
 
 %build
@@ -114,9 +105,6 @@
 rpm -qa --queryformat='%%{name}/%%{version}/%%{release}/%%{arch}\n'| sort | 
bzip2 -9 > USEDFORBUILD.bz2
 #
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %doc README HOWTO-Customize-LogWatch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2013-12-11 Thread h_root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2013-12-11 11:29:23

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.changes2013-06-18 
10:33:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2013-12-11 
11:29:24.0 +0100
@@ -1,0 +2,6 @@
+Mon Dec 2 18:00:00 CET 2013 - tbehr...@suse.com
+
+- Update logwatch-firewall.patch to prevent 'Removing duplicate
+  Archive file' warning.
+
+---



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.iJv1Zu/_old  2013-12-11 11:29:25.0 +0100
+++ /var/tmp/diff_new_pack.iJv1Zu/_new  2013-12-11 11:29:25.0 +0100
@@ -17,7 +17,7 @@
 
 
 #package changed name with SLE11
-%if 0%suse_version < 1100
+%if 0%{?suse_version} < 1100
 %define date_manip_pkg perl-DateManip
 %else
 %define date_manip_pkg perl-Date-Manip

++ logwatch-firewall.patch ++
--- /var/tmp/diff_new_pack.iJv1Zu/_old  2013-12-11 11:29:25.0 +0100
+++ /var/tmp/diff_new_pack.iJv1Zu/_new  2013-12-11 11:29:25.0 +0100
@@ -20,7 +20,7 @@
  # (optionally containing wildcards) that tell where they are...
  Archive = ulogd/ulogd.syslogemu.*
  Archive = ulogd/ulogd.syslogemu-*
-+Archive = firewall*
++Archive = firewall-*
  
  # Keep only the lines in the proper date range...
  *ApplyStdDate

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2013-06-18 Thread h_root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2013-06-18 10:33:11

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.changes2012-12-28 
22:44:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2013-06-18 
10:33:12.0 +0200
@@ -1,0 +2,7 @@
+Mon Jun 17 15:45:13 CEST 2013 - p...@suse.de
+
+- Add logwatch-parse_rsyslog_timestamps.patch that makes logwatch
+  understand the default timestamp format of newer rsyslog versions
+  (bnc#818842).
+
+---

New:

  logwatch-parse_rsyslog_timestamps.patch



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.7oWUiC/_old  2013-06-18 10:33:12.0 +0200
+++ /var/tmp/diff_new_pack.7oWUiC/_new  2013-06-18 10:33:12.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,7 @@
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
 Patch3: logwatch-dmeventd-reduce_frequency.patch
+Patch4: logwatch-parse_rsyslog_timestamps.patch
 Requires:   %date_manip_pkg
 Requires:   cron
 Requires:   grep
@@ -54,18 +55,13 @@
 through your logs for a given period of time and make a report in the
 areas that you wish with the detail that you wish.
 
-
-
-Authors:
-
-Kirk Bauer 
-
 %prep
 %setup -q -a 2
 chmod u+w Logwatch_Setup_Files/*
 %patch0
 %patch2
 %patch3
+%patch4
 dos2unix scripts/services/courier
 
 %build

++ logwatch-parse_rsyslog_timestamps.patch ++
---
 scripts/shared/applystddate |5 +
 1 file changed, 5 insertions(+)

Index: scripts/shared/applystddate
===
--- scripts/shared/applystddate.orig2010-05-01 04:34:09.0 +0200
+++ scripts/shared/applystddate 2013-06-17 12:52:20.949898694 +0200
@@ -23,6 +23,7 @@ use Logwatch ':dates';
 my $Debug = $ENV{'LOGWATCH_DEBUG'} || 0;
 
 $SearchDate = TimeFilter('%b %e %H:%M:%S');
+$SearchDateRsyslog = 
TimeFilter('%Y-%m-%dT%H:%M:%S\.[0-9]+[+-][0-9]{2}:[0-9]{2}');
 
 # The date might be "Dec 09", but it needs to be "Dec  9"...
 #$SearchDate =~ s/ 0/  /;
@@ -30,11 +31,15 @@ $SearchDate = TimeFilter('%b %e %H:%M:%S
 if ( $Debug > 5 ) {
print STDERR "DEBUG: Inside ApplyStdDate...\n";
print STDERR "DEBUG: Looking For: " . $SearchDate . "\n";
+   print STDERR "DEBUG: Looking For: " . $SearchDateRsyslog . "\n";
 }
 
 while (defined($ThisLine = )) {
if ($ThisLine =~ m/^$SearchDate /o) {
   print $ThisLine;
+   } elsif ($ThisLine =~ /^$SearchDateRsyslog /o) {
+  $ThisLine =~ 
s/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})\.[0-9]+[+-][0-9]{2}:[0-9]{2}
 //o;
+  print POSIX::strftime("%b %e %H:%M:%S", $6, $5, $4, $3+1, $2-1, $1 - 
1900) . " " . $ThisLine;
} elsif ($ThisLine =~ m/(Mon|Tue|Wed|Thu|Fri|Sat|Sun) $SearchDate \d{4}/o) {
   print $ThisLine;
}
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2012-12-28 Thread h_root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2012-12-28 22:44:46

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new (New)


Package is "logwatch", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes2011-10-18 
14:31:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2012-12-28 
22:44:47.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec 18 12:04:36 UTC 2012 - robert.munte...@gmail.com
+
+- Added logwatch-dmeventd-reduce_frequency.patch to reduce false
+  positives from dmeventd when a long logwatch run is in progress 
+
+---

New:

  logwatch-dmeventd-reduce_frequency.patch



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.KknMrc/_old  2012-12-28 22:44:48.0 +0100
+++ /var/tmp/diff_new_pack.KknMrc/_new  2012-12-28 22:44:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logwatch
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 #package changed name with SLE11
 %if 0%suse_version < 1100
@@ -26,10 +25,10 @@
 
 Name:   logwatch
 Summary:Analyzes and Reports on system logs
-Version:7.4.0
-Release:1
 License:MIT
 Group:  System/Monitoring
+Version:7.4.0
+Release:0
 Url:http://www.logwatch.org
 BuildArch:  noarch
 Source0:logwatch-%{version}.tar.bz2
@@ -37,8 +36,16 @@
 Source2:Logwatch_Dmeventd_Setup_Files.tar.xz
 Patch0: logwatch-firewall.patch
 Patch2: logwatch-timestamp_in_var.patch
-Requires:   perl textutils sh-utils grep mailx cron %date_manip_pkg
-BuildRequires:  dos2unix xz
+Patch3: logwatch-dmeventd-reduce_frequency.patch
+Requires:   %date_manip_pkg
+Requires:   cron
+Requires:   grep
+Requires:   mailx
+Requires:   perl
+Requires:   sh-utils
+Requires:   textutils
+BuildRequires:  dos2unix
+BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -58,6 +65,7 @@
 chmod u+w Logwatch_Setup_Files/*
 %patch0
 %patch2
+%patch3
 dos2unix scripts/services/courier
 
 %build


++ logwatch-dmeventd-reduce_frequency.patch ++
diff -uNr Logwatch_Setup_Files.orig/dmeventd_cronjob.txt 
Logwatch_Setup_Files/dmeventd_cronjob.txt
--- Logwatch_Setup_Files.orig/dmeventd_cronjob.txt  2012-12-18 
13:49:30.898656175 +0200
+++ Logwatch_Setup_Files/dmeventd_cronjob.txt   2012-12-18 13:57:18.645457384 
+0200
@@ -18,5 +18,5 @@
 # every month of the year, every day of the week.
 # (Note: this call also be accomplished with a */1 instead of 0-59)
 
- 0-59 * * * * root /usr/sbin/logwatch --service dmeventd
- 
\ No newline at end of file
+ 30 * * * * root /usr/sbin/logwatch --service dmeventd
+ 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2011-12-06 18:27:13

Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and  /work/SRC/openSUSE:Factory/.logwatch.new (New)


Package is "logwatch", Maintainer is "p...@suse.com"

Changes:




Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.hg3Y8y/_old  2011-12-06 18:48:51.0 +0100
+++ /var/tmp/diff_new_pack.hg3Y8y/_new  2011-12-06 18:48:51.0 +0100
@@ -28,7 +28,7 @@
 Summary:Analyzes and Reports on system logs
 Version:7.4.0
 Release:1
-License:MIT License (or similar)
+License:MIT
 Group:  System/Monitoring
 Url:http://www.logwatch.org
 BuildArch:  noarch


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2011-10-18 Thread h_root

Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory
checked in at Tue Oct 18 14:22:45 CEST 2011.




--- openSUSE:Factory/logwatch/logwatch.changes  2011-09-23 02:12:04.0 
+0200
+++ /mounts/work_src_done/STABLE/logwatch/logwatch.changes  2011-10-17 
14:13:06.0 +0200
@@ -1,0 +2,8 @@
+Mon Oct 17 13:08:25 CEST 2011 - p...@suse.de
+
+- Update to 7.4.0 which is the official release with the fix for
+  CVE-2011-1018.
+- Fix cron.d file to state the user to run dmeventd as (bnc#724164).
+- Fix file list for 7.4.0.
+
+---

calling whatdependson for head-i586


Old:

  Logwatch_Dmeventd_Setup_Files.tar.bz2
  logwatch-7.3.6.tar.bz2
  logwatch-CVE-2011-1018.patch
  logwatch-full_path_to_sendmail.patch
  logwatch-make_save_work.patch

New:

  Logwatch_Dmeventd_Setup_Files.tar.xz
  logwatch-7.4.0.tar.bz2



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.yxoK5T/_old  2011-10-18 14:22:41.0 +0200
+++ /var/tmp/diff_new_pack.yxoK5T/_new  2011-10-18 14:22:41.0 +0200
@@ -26,22 +26,19 @@
 
 Name:   logwatch
 Summary:Analyzes and Reports on system logs
-Version:7.3.6
-Release:81
+Version:7.4.0
+Release:1
 License:MIT License (or similar)
 Group:  System/Monitoring
 Url:http://www.logwatch.org
 BuildArch:  noarch
 Source0:logwatch-%{version}.tar.bz2
 Source1:%{name}-rpmlintrc
-Source2:Logwatch_Dmeventd_Setup_Files.tar.bz2
+Source2:Logwatch_Dmeventd_Setup_Files.tar.xz
 Patch0: logwatch-firewall.patch
-Patch1: logwatch-full_path_to_sendmail.patch
 Patch2: logwatch-timestamp_in_var.patch
-Patch3: logwatch-make_save_work.patch
-Patch4: logwatch-CVE-2011-1018.patch
 Requires:   perl textutils sh-utils grep mailx cron %date_manip_pkg
-BuildRequires:  dos2unix
+BuildRequires:  dos2unix xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -60,10 +57,7 @@
 %setup -q -a 2
 chmod u+w Logwatch_Setup_Files/*
 %patch0
-%patch1
 %patch2
-%patch3
-%patch4
 dos2unix scripts/services/courier
 
 %build
@@ -121,7 +115,7 @@
 
 %files
 %defattr(-,root,root)
-%doc License project/CHANGES README HOWTO-Customize-LogWatch
+%doc README HOWTO-Customize-LogWatch
 %doc USEDFORBUILD.bz2
 %dir %{_var}/cache/logwatch
 %dir %{_sysconfdir}/logwatch

++ logwatch-7.3.6.tar.bz2 -> logwatch-7.4.0.tar.bz2 ++
 24586 lines of diff (skipped)

++ logwatch-firewall.patch ++
--- /var/tmp/diff_new_pack.yxoK5T/_old  2011-10-18 14:22:41.0 +0200
+++ /var/tmp/diff_new_pack.yxoK5T/_new  2011-10-18 14:22:41.0 +0200
@@ -1,5 +1,7 @@
 conf/logfiles/iptables.conf
-+++ conf/logfiles/iptables.conf
+Index: conf/logfiles/iptables.conf
+===
+--- conf/logfiles/iptables.conf.orig   2010-04-30 23:36:27.0 +0200
 conf/logfiles/iptables.conf2011-10-17 12:48:39.746113236 +0200
 @@ -6,17 +6,21 @@
  # This was written and is maintained by:
  #Kirk Bauer 
@@ -16,8 +18,8 @@
  
  # If the archives are searched, here is one or more line
  # (optionally containing wildcards) that tell where they are...
- #If you use a "-" in naming add that as well -mgt
- Archive = ulogd/ulogd.syslogmenu.*
+ Archive = ulogd/ulogd.syslogemu.*
+ Archive = ulogd/ulogd.syslogemu-*
 +Archive = firewall*
  
  # Keep only the lines in the proper date range...

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2011-02-28 Thread h_root

Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory
checked in at Mon Feb 28 09:06:39 CET 2011.




--- logwatch/logwatch.changes   2011-02-25 12:51:22.0 +0100
+++ /mounts/work_src_done/STABLE/logwatch/logwatch.changes  2011-02-27 
22:40:36.0 +0100
@@ -1,0 +2,5 @@
+Sun Feb 27 22:39:50 CET 2011 - jsl...@suse.de
+
+- Fix CVE-2011-1018 patch (missing parenthesis)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.h7yWai/_old  2011-02-28 09:03:16.0 +0100
+++ /var/tmp/diff_new_pack.h7yWai/_new  2011-02-28 09:03:16.0 +0100
@@ -27,7 +27,7 @@
 Name:   logwatch
 Summary:Analyzes and Reports on system logs
 Version:7.3.6
-Release:80
+Release:81
 License:MIT License (or similar)
 Group:  System/Monitoring
 Url:http://www.logwatch.org

++ logwatch-CVE-2011-1018.patch ++
--- /var/tmp/diff_new_pack.h7yWai/_old  2011-02-28 09:03:16.0 +0100
+++ /var/tmp/diff_new_pack.h7yWai/_new  2011-02-28 09:03:16.0 +0100
@@ -31,7 +31,7 @@
 or die "system $Config{'pathtobzcat'} failed: $?" 
 - } elsif (-f "$Archive") {
 -my $arguments = "$Archive  >> $DestFile";
-+ } elsif (-f "$Archive") && (-s "$Archive")) {
++ } elsif ((-f "$Archive") && (-s "$Archive")) {
 +my $arguments = "'${Archive}'  >> $DestFile";
  system("$Config{'pathtocat'} $arguments") == 0
 or die "system $Config{'pathtocat'} failed: $?" 






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logwatch for openSUSE:Factory

2011-02-25 Thread h_root

Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory
checked in at Fri Feb 25 15:30:43 CET 2011.




--- logwatch/logwatch.changes   2011-02-01 12:26:52.0 +0100
+++ /mounts/work_src_done/STABLE/logwatch/logwatch.changes  2011-02-25 
12:51:22.0 +0100
@@ -1,0 +2,8 @@
+Fri Feb 25 12:36:14 CET 2011 - p...@suse.de
+
+- Add patch to fix the handling of special characters in log files
+  (CVE-2011-1018, bnc#674984).
+- Make files in Logwatch_Dmeventd_Setup_Files tarball 644 and
+  repack with bzip2.
+
+---

calling whatdependson for head-i586


Old:

  Logwatch_Dmeventd_Setup_Files.tgz

New:

  Logwatch_Dmeventd_Setup_Files.tar.bz2
  logwatch-CVE-2011-1018.patch



Other differences:
--
++ logwatch.spec ++
--- /var/tmp/diff_new_pack.s10aZ3/_old  2011-02-25 15:29:15.0 +0100
+++ /var/tmp/diff_new_pack.s10aZ3/_new  2011-02-25 15:29:15.0 +0100
@@ -27,18 +27,19 @@
 Name:   logwatch
 Summary:Analyzes and Reports on system logs
 Version:7.3.6
-Release:75
+Release:80
 License:MIT License (or similar)
 Group:  System/Monitoring
 Url:http://www.logwatch.org
 BuildArch:  noarch
 Source0:logwatch-%{version}.tar.bz2
 Source1:%{name}-rpmlintrc
-Source2:Logwatch_Dmeventd_Setup_Files.tgz
+Source2:Logwatch_Dmeventd_Setup_Files.tar.bz2
 Patch0: logwatch-firewall.patch
 Patch1: logwatch-full_path_to_sendmail.patch
 Patch2: logwatch-timestamp_in_var.patch
 Patch3: logwatch-make_save_work.patch
+Patch4: logwatch-CVE-2011-1018.patch
 Requires:   perl textutils sh-utils grep mailx cron %date_manip_pkg
 BuildRequires:  dos2unix
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -62,6 +63,7 @@
 %patch1
 %patch2
 %patch3
+%patch4
 dos2unix scripts/services/courier
 
 %build

++ logwatch-CVE-2011-1018.patch ++
Index: scripts/logwatch.pl
===
--- scripts/logwatch.pl.orig2011-02-25 12:30:40.934525836 +0100
+++ scripts/logwatch.pl 2011-02-25 12:34:45.979948361 +0100
@@ -845,6 +845,10 @@ foreach $LogFile (@LogFileList) {
my $DestFile =  $TempDir . $LogFile . "-archive";
my $Archive;
foreach $Archive (@{$LogFileData{$LogFile}{'archives'}}) {
+  if ($Archive =~ /'/) {
+ print "File $Archive has invalid embedded quotes.  File ignored.\n";
+next;
+  }
   my $CheckTime;
   # We need to find out what's the earliest log we need
   my @time_t = TimeBuild();
@@ -872,18 +876,18 @@ foreach $LogFile (@LogFileList) {
  #These system calls are not secure but we are getting closer
  #What needs to go is all the pipes and instead we need a command loop
  #For each filter to apply -mgt
-my $arguments = "$Archive >> $DestFile";
+my $arguments = "'${Archive}' >> $DestFile";
 system("$Config{'pathtozcat'} $arguments") == 0
or die "system $Config{'pathtozcat'} failed: $?" 
  } elsif (($Archive =~ m/bz2$/) && (-f "$Archive")) {
  #These system calls are not secure but we are getting closer
  #What needs to go is all the pipes and instead we need a command loop
  #For each filter to apply -mgt
-my $arguments = "$Archive 2>/dev/null >> $DestFile";
+my $arguments = "'${Archive}' 2>/dev/null >> $DestFile";
 system("$Config{'pathtobzcat'} $arguments") == 0
or die "system $Config{'pathtobzcat'} failed: $?" 
- } elsif (-f "$Archive") {
-my $arguments = "$Archive  >> $DestFile";
+ } elsif (-f "$Archive") && (-s "$Archive")) {
+my $arguments = "'${Archive}'  >> $DestFile";
 system("$Config{'pathtocat'} $arguments") == 0
or die "system $Config{'pathtocat'} failed: $?" 
  } #End if/elsif existence
@@ -895,6 +899,10 @@ foreach $LogFile (@LogFileList) {
foreach my $ThisFile (@FileList) {
   #Existence check for files -mgt
   next unless (-f $ThisFile);
+  if ($ThisFile =~ /'/) {
+ print "File $ThisFile has invalid embedded quotes.  File ignored.\n";
+next;
+  }
   if (! -r $ThisFile) {
  print "File $ThisFile is not readable.  Check permissions.";
  if ($> != 0) {
@@ -903,7 +911,7 @@ foreach $LogFile (@LogFileList) {
  print "\n";
  next;
   }
-  $FileText .= ($ThisFile . " ");
+  $FileText .= ("'" . $ThisFile . "' ");
} #End foreach ThisFile
 
# remove the ENV entries set by previous service





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+un