commit logrotate for openSUSE:Factory

2020-07-30 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2020-07-30 09:58:00

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


Package is "logrotate"

Thu Jul 30 09:58:00 2020 rev:66 rq:823344 version:3.17.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2020-04-29 
20:42:13.747618673 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new.3592/logrotate.changes
2020-07-30 09:58:53.243160026 +0200
@@ -1,0 +2,11 @@
+Tue Jul 28 09:02:52 UTC 2020 - Pedro Monreal 
+
+- Update to 3.17.0:
+  * lock state file to prevent parallel execution of logrotate
+  * add '.bak' extension to default taboo list
+  * allow to pass a home-relative path to 'include'
+  * 'switch_user_permanently': skip switchback check if switched to root
+  * logrotate.service: enable 'ProtectClock' to restrict setting of clock
+  * delete old logs hit by 'maxage' regardless of 'dateext'
+
+---

Old:

  logrotate-3.16.0.tar.xz
  logrotate-3.16.0.tar.xz.asc

New:

  logrotate-3.17.0.tar.xz
  logrotate-3.17.0.tar.xz.asc



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.RTk0jz/_old  2020-07-30 09:58:54.519161170 +0200
+++ /var/tmp/diff_new_pack.RTk0jz/_new  2020-07-30 09:58:54.523161174 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   logrotate
-Version:3.16.0
+Version:3.17.0
 Release:0
 Summary:Cron service for rotating, compressing, mailing and removing 
system log files
 License:GPL-2.0-or-later

++ logrotate-3.16.0.tar.xz -> logrotate-3.17.0.tar.xz ++
 3346 lines of diff (skipped)




commit logrotate for openSUSE:Factory

2020-04-29 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2020-04-29 20:41:36

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


Package is "logrotate"

Wed Apr 29 20:41:36 2020 rev:65 rq:798203 version:3.16.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2020-03-04 
09:38:43.661867447 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new.2738/logrotate.changes
2020-04-29 20:42:13.747618673 +0200
@@ -1,0 +2,5 @@
+Wed Apr 15 07:22:01 UTC 2020 - Thorsten Kukuk 
+
+- Require /usr/bin/xz instead of xz to make it working with busybox
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.VmvDhI/_old  2020-04-29 20:42:14.223619913 +0200
+++ /var/tmp/diff_new_pack.VmvDhI/_new  2020-04-29 20:42:14.223619913 +0200
@@ -36,7 +36,7 @@
 BuildRequires:  pkgconfig(libselinux)
 BuildRequires:  pkgconfig(popt)
 BuildRequires:  pkgconfig(systemd) >= 197
-Requires:   xz
+Requires:   /usr/bin/xz
 %{?systemd_ordering}
 
 %description





commit logrotate for openSUSE:Factory

2020-03-04 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2020-03-04 09:38:29

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


Package is "logrotate"

Wed Mar  4 09:38:29 2020 rev:64 rq:780927 version:3.16.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2020-01-12 
23:15:49.078626040 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new.26092/logrotate.changes   
2020-03-04 09:38:43.661867447 +0100
@@ -1,0 +2,11 @@
+Mon Mar  2 12:04:01 UTC 2020 - Tomáš Chvátal 
+
+- Update to 3.16.0 bsc#1160281:
+  * fix compilation with gcc-10, which defaults to -fno-common (#288)
+  * reduce number of open() operations on state file (#282)
+  * validate user/group given to the su directive early (#276)
+  * add hardening options to systemd unit file in examples (#274, #291)
+  * fix crash of logrotate on invalid configuration with include (#271)
+  * fix heap buffer overflow on too long logfile extension (#270)
+
+---

Old:

  logrotate-3.15.1.tar.xz
  logrotate-3.15.1.tar.xz.asc

New:

  logrotate-3.16.0.tar.xz
  logrotate-3.16.0.tar.xz.asc



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.8b8grT/_old  2020-03-04 09:38:45.005868253 +0100
+++ /var/tmp/diff_new_pack.8b8grT/_new  2020-03-04 09:38:45.037868272 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   logrotate
-Version:3.15.1
+Version:3.16.0
 Release:0
 Summary:Cron service for rotating, compressing, mailing and removing 
system log files
 License:GPL-2.0-or-later

++ logrotate-3.15.1.tar.xz -> logrotate-3.16.0.tar.xz ++
 7465 lines of diff (skipped)




commit logrotate for openSUSE:Factory

2020-01-12 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2020-01-12 23:15:40

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


Package is "logrotate"

Sun Jan 12 23:15:40 2020 rev:63 rq:761751 version:3.15.1

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2020-01-05 
15:20:41.489546950 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new.6675/logrotate.changes
2020-01-12 23:15:49.078626040 +0100
@@ -1,0 +2,10 @@
+Wed Jan  8 08:28:20 UTC 2020 - Tomáš Chvátal 
+
+- Update to 3.15.1:
+  * use correct create mode in examples/btmp (#257)
+  * fix several bugs found by fuzzing (#254)
+  * do not abort globbing on a broken symlink (#251)
+  * rearrange logrotate.8 man page to improve readability (#248)
+  * encourage admins to use the su directive in logrotate.8 man page (#236)
+
+---

Old:

  logrotate-3.15.0.tar.xz
  logrotate-3.15.0.tar.xz.asc

New:

  logrotate-3.15.1.tar.xz
  logrotate-3.15.1.tar.xz.asc



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.D8JPz3/_old  2020-01-12 23:15:49.702626271 +0100
+++ /var/tmp/diff_new_pack.D8JPz3/_new  2020-01-12 23:15:49.710626274 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   logrotate
-Version:3.15.0
+Version:3.15.1
 Release:0
 Summary:Cron service for rotating, compressing, mailing and removing 
system log files
 License:GPL-2.0-or-later
 Group:  System/Base
-URL:https://github.com/%{name}/%{name}
+URL:https://github.com/logrotate/logrotate
 Source0:
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source10:   
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
 # SUSE specific logrotate configurations

++ logrotate-3.15.0.tar.xz -> logrotate-3.15.1.tar.xz ++
 3247 lines of diff (skipped)




commit logrotate for openSUSE:Factory

2020-01-05 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2020-01-05 15:20:38

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


Package is "logrotate"

Sun Jan  5 15:20:38 2020 rev:62 rq:760349 version:3.15.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2019-04-09 
20:16:38.593587171 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new.6675/logrotate.changes
2020-01-05 15:20:41.489546950 +0100
@@ -1,0 +2,5 @@
+Thu Jan  2 07:46:43 CET 2020 - ku...@suse.de
+
+- Use systemd_ordering instead of systemd_requires
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.BBNe1Q/_old  2020-01-05 15:20:42.677547547 +0100
+++ /var/tmp/diff_new_pack.BBNe1Q/_new  2020-01-05 15:20:42.681547549 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# 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 @@
 Summary:Cron service for rotating, compressing, mailing and removing 
system log files
 License:GPL-2.0-or-later
 Group:  System/Base
-Url:https://github.com/%{name}/%{name}
+URL:https://github.com/%{name}/%{name}
 Source0:
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source10:   
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
 # SUSE specific logrotate configurations
@@ -37,7 +37,7 @@
 BuildRequires:  pkgconfig(popt)
 BuildRequires:  pkgconfig(systemd) >= 197
 Requires:   xz
-%{?systemd_requires}
+%{?systemd_ordering}
 
 %description
 The logrotate utility does automatic rotation, compression, mailing and removal





commit logrotate for openSUSE:Factory

2019-04-09 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2019-04-09 20:16:37

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


Package is "logrotate"

Tue Apr  9 20:16:37 2019 rev:61 rq:691700 version:3.15.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2018-09-20 
11:40:28.652891094 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new.3908/logrotate.changes
2019-04-09 20:16:38.593587171 +0200
@@ -1,0 +2,18 @@
+Thu Apr  4 11:12:28 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Version update to 3.15.0:
+  * timer unit: change trigger fuzz from 12h to 1h
+  * service unit: only run if /var/log is mounted
+  * preserve fractional part of timestamps when compressing
+  * re-indent source code using spaces only
+  * minage: avoid rounding issue while comparing the amount of seconds
+  * never remove old log files if rotate -1 is specified
+  * return non-zero exit status if a config file contains an error
+  * make copytruncate work with rotate 0
+  * warn user if both size and the time interval options are used
+  * pass rotated log file name as the 2nd argument of the postrotate
+script when sharedscript is not enabled
+  * rename logrotate-default to logrotate.conf
+- Added asc file.
+
+---

Old:

  logrotate-3.14.0.tar.xz

New:

  logrotate-3.15.0.tar.xz
  logrotate-3.15.0.tar.xz.asc



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.0JWMUM/_old  2019-04-09 20:16:39.293588862 +0200
+++ /var/tmp/diff_new_pack.0JWMUM/_new  2019-04-09 20:16:39.30151 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# 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,18 +12,19 @@
 # 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/
 #
 
 
 Name:   logrotate
-Version:3.14.0
+Version:3.15.0
 Release:0
 Summary:Cron service for rotating, compressing, mailing and removing 
system log files
 License:GPL-2.0-or-later
 Group:  System/Base
-Url:https://github.com/logrotate/logrotate
-Source0:
https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
+Url:https://github.com/%{name}/%{name}
+Source0:
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
+Source10:   
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
 # SUSE specific logrotate configurations
 Source1:logrotate.wtmp
 Source2:logrotate.default

++ logrotate-3.14.0.tar.xz -> logrotate-3.15.0.tar.xz ++
 9057 lines of diff (skipped)




commit logrotate for openSUSE:Factory

2018-09-20 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2018-09-20 11:40:25

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


Package is "logrotate"

Thu Sep 20 11:40:25 2018 rev:60 rq:635479 version:3.14.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2018-06-22 
13:11:25.535843356 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2018-09-20 
11:40:28.652891094 +0200
@@ -1,0 +2,29 @@
+Thu Sep 13 08:13:52 UTC 2018 - Tomáš Chvátal 
+
+- Rebase the logrotate-3.13.0-systemd_add_home_env.patch to be
+  unified patch again
+
+---
+Mon Sep 10 12:08:24 UTC 2018 - Jan Engelhardt 
+
+- Use noun phrase. Trim filler wording from description.
+  Add a note that it is unrelated to journald.
+
+---
+Fri Sep  7 10:33:52 UTC 2018 - lie...@rz.uni-mannheim.de
+
+- Version update to 3.14.0:
+  * make configure show support status for SELinux and ACL at the end
+  * make logrotate build again on FreeBSD
+  * move wtmp and btmp definitions from logrotate.conf to
+separate configuration files in logrotate.d
+  * print a warning about logrotate doing nothing when -d is used
+  * do not reject executable config files
+  * add hardening options to logrotate.service in examples
+  * fix spurious compressor failure when using su and compress
+  * keep logrotate version in .tarball-version in release tarballs
+  * introduce the hourago configuration directive
+  * ignore empty patterns in tabooext to avoid exclusion of everything
+  * properly report skipped test cases instead of pretending success
+
+---

Old:

  logrotate-3.13.0.tar.xz

New:

  logrotate-3.14.0.tar.xz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.CgYaot/_old  2018-09-20 11:40:29.352890683 +0200
+++ /var/tmp/diff_new_pack.CgYaot/_new  2018-09-20 11:40:29.356890680 +0200
@@ -17,9 +17,9 @@
 
 
 Name:   logrotate
-Version:3.13.0
+Version:3.14.0
 Release:0
-Summary:Rotate, compress, remove, and mail system log files
+Summary:Cron service for rotating, compressing, mailing and removing 
system log files
 License:GPL-2.0-or-later
 Group:  System/Base
 Url:https://github.com/logrotate/logrotate
@@ -39,13 +39,13 @@
 %{?systemd_requires}
 
 %description
-The logrotate utility is designed to simplify the administration of log
-files on a system that generates a lot of log files. Logrotate allows
-the automatic rotation, compression, removal, and mailing of log files.
-Logrotate can be set to handle a log file daily, weekly, monthly, or
-when the log file reaches a certain size. Normally, logrotate runs as a
+The logrotate utility does automatic rotation, compression, mailing and removal
+of log files. Logrotate can be set to handle a log file daily, weekly, monthly,
+or when the log file reaches a certain size. Normally, logrotate runs as a
 daily cron job.
 
+It manages plain files only and is not involved in systemd's journal rotation.
+
 %prep
 %setup -q
 %patch0 -p1

++ logrotate-3.13.0-systemd_add_home_env.patch ++
--- /var/tmp/diff_new_pack.CgYaot/_old  2018-09-20 11:40:29.376890668 +0200
+++ /var/tmp/diff_new_pack.CgYaot/_new  2018-09-20 11:40:29.376890668 +0200
@@ -1,9 +1,12 @@
-Index: logrotate-3.11.0/examples/logrotate.service
+Index: logrotate-3.14.0/examples/logrotate.service
 ===
 logrotate-3.11.0.orig/examples/logrotate.service
-+++ logrotate-3.11.0/examples/logrotate.service
-@@ -9,3 +9,4 @@ ExecStart=/usr/sbin/logrotate /etc/logro
+--- logrotate-3.14.0.orig/examples/logrotate.service
 logrotate-3.14.0/examples/logrotate.service
+@@ -11,6 +11,7 @@ ExecStart=/usr/sbin/logrotate /etc/logro
  Nice=19
  IOSchedulingClass=best-effort
  IOSchedulingPriority=7
 +Environment=HOME=/root
+ 
+ # hardening options
+ #  details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html

++ logrotate-3.13.0.tar.xz -> logrotate-3.14.0.tar.xz ++
 1725 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/logrotate-3.13.0/.tarball-version 

commit logrotate for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2018-06-22 13:11:19

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


Package is "logrotate"

Fri Jun 22 13:11:19 2018 rev:59 rq:614893 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2018-04-05 
15:29:10.365508326 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2018-06-22 
13:11:25.535843356 +0200
@@ -1,0 +2,9 @@
+Thu Jun  7 09:51:50 UTC 2018 - kstreit...@suse.com
+
+- Add "Environment=HOME=/root" to logrotate.service file in order 
+  to allow mariadb to rotate its logs when the database has a root
+  password defined [bsc#1093617]
+- Added patch:
+  * logrotate-3.13.0-systemd_add_home_env.patch
+
+---

New:

  logrotate-3.13.0-systemd_add_home_env.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.5pmRri/_old  2018-06-22 13:11:26.283815617 +0200
+++ /var/tmp/diff_new_pack.5pmRri/_new  2018-06-22 13:11:26.287815468 +0200
@@ -28,6 +28,7 @@
 Source1:logrotate.wtmp
 Source2:logrotate.default
 Source100:  %{name}-rpmlintrc
+Patch0: logrotate-3.13.0-systemd_add_home_env.patch
 BuildRequires:  acl
 BuildRequires:  libacl-devel
 BuildRequires:  pkgconfig
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++ logrotate-3.13.0-systemd_add_home_env.patch ++
Index: logrotate-3.11.0/examples/logrotate.service
===
--- logrotate-3.11.0.orig/examples/logrotate.service
+++ logrotate-3.11.0/examples/logrotate.service
@@ -9,3 +9,4 @@ ExecStart=/usr/sbin/logrotate /etc/logro
 Nice=19
 IOSchedulingClass=best-effort
 IOSchedulingPriority=7
+Environment=HOME=/root



commit logrotate for openSUSE:Factory

2018-04-05 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2018-04-05 15:29:01

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


Package is "logrotate"

Thu Apr  5 15:29:01 2018 rev:58 rq:593192 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2018-01-16 
09:24:56.878605530 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2018-04-05 
15:29:10.365508326 +0200
@@ -1,0 +2,5 @@
+Tue Apr  3 13:34:57 CEST 2018 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.YezKLp/_old  2018-04-05 15:29:10.933487796 +0200
+++ /var/tmp/diff_new_pack.YezKLp/_new  2018-04-05 15:29:10.937487651 +0200
@@ -20,7 +20,7 @@
 Version:3.13.0
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Base
 Url:https://github.com/logrotate/logrotate
 Source0:
https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
@@ -87,7 +87,8 @@
 %service_del_postun %{name}.service %{name}.timer
 
 %files
-%doc COPYING ChangeLog.md README.md
+%license COPYING
+%doc ChangeLog.md README.md
 %{_sbindir}/logrotate
 %{_sbindir}/rc%{name}
 %{_mandir}/man8/logrotate.8*




commit logrotate for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2018-01-16 09:24:56

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


Package is "logrotate"

Tue Jan 16 09:24:56 2018 rev:57 rq:562152 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2017-07-12 
19:30:36.981991342 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2018-01-16 
09:24:56.878605530 +0100
@@ -1,0 +2,17 @@
+Fri Jan  5 15:56:13 UTC 2018 - pmonrealgonza...@suse.com
+
+- Version update to 3.13.0:
+  * make distribution tarballs report logrotate version properly
+  * make (un)compress work even if stdin and/or stdout are closed (#154)
+  * remove -s from DEFAULT_MAIL_COMMAND and improve its documenation (#152)
+  * uncompress logs before mailing them even if delaycompress is enabled (#151)
+  * handle unlink of a non-existing log file as a warning only (#144)
+  * include compile-time options in the output of logrotate --version (#145)
+  * make logrotate --version print to stdout instead of stderr (#145)
+  * flush write buffers before syncing state file (#148)
+  * specify (un)compress utility explicitly in tests (#137)
+  * enable running tests in parallel (#132)
+  * explicitly map root UID/GID to 0 on Cygwin (#133)
+  * add .dpkg-bak and .dpkg-del to default tabooext list (#134)
+
+---

Old:

  logrotate-3.12.3.tar.xz

New:

  logrotate-3.13.0.tar.xz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.VkkGqc/_old  2018-01-16 09:24:57.610571284 +0100
+++ /var/tmp/diff_new_pack.VkkGqc/_new  2018-01-16 09:24:57.614571098 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:   logrotate
-Version:3.12.3
+Version:3.13.0
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+

++ logrotate-3.12.3.tar.xz -> logrotate-3.13.0.tar.xz ++
 6949 lines of diff (skipped)




commit logrotate for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2017-07-12 19:30:34

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


Package is "logrotate"

Wed Jul 12 19:30:34 2017 rev:56 rq:508717 version:3.12.3

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2017-01-10 
10:35:48.336292356 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2017-07-12 
19:30:36.981991342 +0200
@@ -1,0 +2,25 @@
+Fri Jul  7 08:43:42 UTC 2017 - tchva...@suse.com
+
+- Version update to 3.12.3:
+  * Fixed accident removal of rotated files with dateext. (#118)
+  * Line comments inside globs in config files are now skipped. (#109)
+  * logrotate now recovers from a corrupted state file. (#45)
+  * createolddir now creates old directory as unprivileged user. (#114)
+  * weekly rotations are now predictable and configurable. (#93)
+  * Errors in config files are no longer treated as fatal errors. (#81)
+  * configure --with-default-mail-command specifies default mail command. 
(#100)
+  * Fixed heap buffer overflow when parsing crafted config file. (#33)
+  * build fixes related to -Werror (#119) and -Werror=format= (#108)
+  * configure --enable-werror now controls use of the -Werror flag (#123)
+  * copy and copytruncate directives now work together again
+  * unlink() is no longer preceded by open() unless shred is enabled (#124)
+  * compress and uncompress now take commands from $PATH, too (#122)
+- By default disable werror while building
+
+---
+Fri Jul  7 08:28:18 UTC 2017 - tchva...@suse.com
+
+- Remove aaa_base compat setting that is from 2003, we do not
+  support such migration anymore
+
+---

Old:

  logrotate-3.11.0.tar.xz

New:

  logrotate-3.12.3.tar.xz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.9w938j/_old  2017-07-12 19:30:37.709888640 +0200
+++ /var/tmp/diff_new_pack.9w938j/_new  2017-07-12 19:30:37.709888640 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   logrotate
-Version:3.11.0
+Version:3.12.3
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+
@@ -35,7 +35,6 @@
 BuildRequires:  pkgconfig(popt)
 BuildRequires:  pkgconfig(systemd) >= 197
 Requires:   xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
 
 %description
@@ -51,7 +50,9 @@
 
 %build
 %configure \
---with-state-file-path=%{_localstatedir}/lib/misc/logrotate.status
+--disable-silent-rules \
+--with-state-file-path=%{_localstatedir}/lib/misc/logrotate.status \
+--disable-werror
 make %{?_smp_mflags}
 
 %check
@@ -72,10 +73,6 @@
 
 %post
 %{remove_and_set MAX_DAYS_FOR_LOG_FILES}
-if [ -f %{_sysconfdir}/logrotate.d/aaa_base ] ; then
-   echo "Saving old logrotate system configuration"
-   mv -v %{_sysconfdir}/logrotate.d/aaa_base 
%{_sysconfdir}/logrotate.d.aaa_base.save
-fi
 # Move /var/lib/logrotate.status
 if [ -f %{_localstatedir}/lib/logrotate.status -a ! -f 
%{_localstatedir}/lib/misc/logrotate.status ]; then
   mv %{_localstatedir}/lib/logrotate.status 
%{_localstatedir}/lib/misc/logrotate.status ||:
@@ -90,7 +87,6 @@
 %service_del_postun %{name}.service %{name}.timer
 
 %files
-%defattr(-,root,root)
 %doc COPYING ChangeLog.md README.md
 %{_sbindir}/logrotate
 %{_sbindir}/rc%{name}

++ logrotate-3.11.0.tar.xz -> logrotate-3.12.3.tar.xz ++
 12297 lines of diff (skipped)




commit logrotate for openSUSE:Factory

2016-12-02 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2016-12-02 16:36:21

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


Package is "logrotate"

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2016-11-23 
13:35:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2016-12-02 
16:36:22.0 +0100
@@ -18 +18 @@
-- Version update to 3.10.0:
+- Version update to 3.10.0 fate#322037:



Other differences:
--



commit logrotate for openSUSE:Factory

2016-11-23 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2016-11-23 13:35:29

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


Package is "logrotate"

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2016-11-18 
21:59:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2016-11-23 
13:35:31.0 +0100
@@ -1,0 +2,5 @@
+Mon Nov 21 12:03:14 UTC 2016 - tchva...@suse.com
+
+- Fix post scriptlet condition bnc#1011120
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.6WISgL/_old  2016-11-23 13:35:33.0 +0100
+++ /var/tmp/diff_new_pack.6WISgL/_new  2016-11-23 13:35:33.0 +0100
@@ -94,7 +94,7 @@
mv -v %{_sysconfdir}/logrotate.d/aaa_base 
%{_sysconfdir}/logrotate.d.aaa_base.save
 fi
 # Move /var/lib/logrotate.status
-if [ -f /var/lib/logrotate.status -a !-f /var/lib/misc/logrotate.status ]; then
+if [ -f /var/lib/logrotate.status -a ! -f /var/lib/misc/logrotate.status ]; 
then
   mv /var/lib/logrotate.status /var/lib/misc/logrotate.status ||:
 fi
 




commit logrotate for openSUSE:Factory

2016-11-18 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2016-11-18 21:58:59

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


Package is "logrotate"

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2016-10-20 
23:05:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2016-11-18 
21:59:00.0 +0100
@@ -1,0 +2,9 @@
+Sat Nov 12 22:08:25 CET 2016 - ku...@suse.de
+
+- Move logrotate.status to /var/lib/misc following FHS/LSB and
+  making implementing read-only root filesystem much easier.
+  [FATE#322036]
+- Add patch:
+  * logrotate-var-lib-misc.patch
+
+---

New:

  logrotate-var-lib-misc.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.RuEpYW/_old  2016-11-18 21:59:01.0 +0100
+++ /var/tmp/diff_new_pack.RuEpYW/_new  2016-11-18 21:59:01.0 +0100
@@ -34,6 +34,11 @@
 Patch5: logrotate-manpage_config_clarification.patch
 # PATCH-FIX-UPSTREAM logrotate-fix-test62_with_bash-4.4.patch 
gh#logrotate/logrotate#66 dims...@opensuse.org -- Fix test suite in combination 
with bash 4.4
 Patch6: logrotate-fix-test62_with_bash-4.4.patch
+# PATCH-FEATURE-SLE logrotate-var-lib-misc.patch FATE#322036:
+# According to FHS/LSB, this should be in /var/lib/misc. Which
+# would allow a read-only root filesystem without breaking snapshots,
+# rollback and transactional updates
+Patch7: logrotate-var-lib-misc.patch
 BuildRequires:  acl
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
@@ -60,6 +65,7 @@
 %patch3
 %patch5 -p1
 %patch6 -p1
+%patch7 -p0
 
 %build
 %configure
@@ -87,6 +93,10 @@
echo "Saving old logrotate system configuration"
mv -v %{_sysconfdir}/logrotate.d/aaa_base 
%{_sysconfdir}/logrotate.d.aaa_base.save
 fi
+# Move /var/lib/logrotate.status
+if [ -f /var/lib/logrotate.status -a !-f /var/lib/misc/logrotate.status ]; then
+  mv /var/lib/logrotate.status /var/lib/misc/logrotate.status ||:
+fi
 
 %service_add_post %{name}.service %{name}.timer
 

++ logrotate-var-lib-misc.patch ++
--- config.h
+++ config.h2016/11/12 21:04:31
@@ -43,5 +43,5 @@
 #endif
 
 #ifndef STATEFILE
-#define STATEFILE "/var/lib/logrotate.status"
+#define STATEFILE "/var/lib/misc/logrotate.status"
 #endif
--- logrotate.8
+++ logrotate.8 2016/11/12 21:00:05
@@ -65,7 +65,7 @@
 \fB\-s\fR, \fB\-\-state \fR
 Tells \fBlogrotate\fR to use an alternate state file.  This is useful
 if logrotate is being run as a different user for various sets of
-log files.  The default state file is \fI/var/lib/logrotate.status\fR.
+log files.  The default state file is \fI/var/lib/misc/logrotate.status\fR.
 
 .TP
 \fB\-\-usage\fR



commit logrotate for openSUSE:Factory

2016-10-20 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2016-10-20 23:05:14

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


Package is "logrotate"

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2015-07-05 
17:57:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2016-10-20 
23:05:15.0 +0200
@@ -1,0 +2,19 @@
+Wed Oct  5 11:38:13 UTC 2016 - tchva...@suse.com
+
+- Version update to 3.10.0:
+  * Update url to point to github
+- Remove upstreamed patch:
+  * logrotate-3.7.8-mess_err.patch
+- Rebase patches:
+  * logrotate-3.7.8-suse.patch
+  * logrotate-addextension.patch
+  * logrotate-autoext.patch
+  * logrotate-fix-test62_with_bash-4.4.patch
+
+---
+Mon Oct  3 14:46:34 UTC 2016 - dims...@opensuse.org
+
+- Add logrotate-fix-test62_with_bash-4.4.patch: Fix the test suite
+  when running with bash 4.4 (gh#logrotate/logrotate#66).
+
+---

Old:

  logrotate-3.7.8-mess_err.patch
  logrotate-3.9.1.tar.gz

New:

  logrotate-3.10.0.tar.xz
  logrotate-fix-test62_with_bash-4.4.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.DxsQLt/_old  2016-10-20 23:05:16.0 +0200
+++ /var/tmp/diff_new_pack.DxsQLt/_new  2016-10-20 23:05:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,13 +17,13 @@
 
 
 Name:   logrotate
-Version:3.9.1
+Version:3.10.0
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+
 Group:  System/Base
-Url:https://fedorahosted.org/releases/l/o/logrotate
-Source: 
https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.gz
+Url:https://github.com/logrotate/logrotate
+Source0:
https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
 Source100:  %{name}-rpmlintrc
 Source101:  %{name}.service
 Source102:  %{name}.timer
@@ -31,11 +31,13 @@
 Patch1: logrotate-conf.patch
 Patch2: logrotate-autoext.patch
 Patch3: logrotate-addextension.patch
-Patch4: logrotate-3.7.8-mess_err.patch
 Patch5: logrotate-manpage_config_clarification.patch
+# PATCH-FIX-UPSTREAM logrotate-fix-test62_with_bash-4.4.patch 
gh#logrotate/logrotate#66 dims...@opensuse.org -- Fix test suite in combination 
with bash 4.4
+Patch6: logrotate-fix-test62_with_bash-4.4.patch
 BuildRequires:  acl
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
+BuildRequires:  pkgconfig
 BuildRequires:  popt-devel
 BuildRequires:  pkgconfig(systemd) >= 197
 Requires:   xz
@@ -56,25 +58,24 @@
 %patch1
 %patch2
 %patch3
-%patch4
 %patch5 -p1
+%patch6 -p1
 
 %build
-make %{?_smp_mflags} CC="gcc" RPM_OPT_FLAGS="%{optflags}" \
-   WITH_SELINUX=yes \
-   WITH_ACL=yes
+%configure
+make %{?_smp_mflags}
 
 %check
-make %{?_smp_mflags} test
+make %{?_smp_mflags} check
 
 %install
-make PREFIX=%{buildroot} install
-mkdir -p %{buildroot}%{_sysconfdir}/{logrotate.d,cron.daily}
-mkdir -p %{buildroot}%{_prefix}/sbin
+%make_install
+mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
 install -m 644 examples/logrotate-default 
%{buildroot}%{_sysconfdir}/logrotate.conf
 install -m 644 examples/logrotate.wtmp 
%{buildroot}%{_sysconfdir}/logrotate.d/wtmp
 install -D -m 0644 %{SOURCE101} %{buildroot}%{_unitdir}/%{name}.service
 install -D -m 0644 %{SOURCE102} %{buildroot}%{_unitdir}/%{name}.timer
+ln -s service %{buildroot}%{_sbindir}/rc%{name}
 
 %pre
 #only the timer can be enabled/disabled/masked !
@@ -99,6 +100,7 @@
 %defattr(-,root,root)
 %doc CHANGES COPYING
 %{_sbindir}/logrotate
+%{_sbindir}/rc%{name}
 %{_mandir}/man8/logrotate.8*
 %{_mandir}/man5/logrotate.conf.5*
 %config %{_sysconfdir}/logrotate.conf

++ logrotate-3.7.8-suse.patch ++
--- /var/tmp/diff_new_pack.DxsQLt/_old  2016-10-20 23:05:16.0 +0200
+++ /var/tmp/diff_new_pack.DxsQLt/_new  2016-10-20 23:05:16.0 +0200
@@ -1,16 +1,3 @@
-Index: Makefile
-===
 Makefile.orig
-+++ Makefile
-@@ -81,7 +81,7 @@ ifneq ($(STATEFILE),)
- endif
- 
- BINDIR = $(BASEDIR)/sbin
--MANDIR ?= $(BASEDIR)/man

commit logrotate for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2015-07-05 17:57:32

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2015-05-22 
16:32:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2015-07-05 
17:57:33.0 +0200
@@ -1,0 +2,22 @@
+Mon Jun 22 12:53:44 UTC 2015 - kstreit...@suse.com
+
+- update to 3.9.1
+  * 3.9.1
+- Fix off-by-one error which can lead to crash when copytruncate
+  is used.
+  * 3.9.0
+- Fix crash when using long dateformat. [nmerdan]
+- Add support for %H dateformat. [czchen]
+- Fix regression introduced in 3.8.9 when when rotating multiple
+  logs when one of them is missing.
+- In the debug mode, do not skip the code-path which handles the
+  case when the last rotation does not exist. [Sergey Vidishev]
+- Show more precise description when log does not need rotating.
+- Add new -l option to log verbose output to file. The file is
+  overwritten on every logrotate execution.
+- Allow rotation of sparse files with copytruncate.
+  * update logrotate-addextension.patch
+- use spec-cleaner
+- remove unused PreReq tags 
+
+---

Old:

  logrotate-3.8.9.tar.gz

New:

  logrotate-3.9.1.tar.gz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.MQlKxd/_old  2015-07-05 17:57:34.0 +0200
+++ /var/tmp/diff_new_pack.MQlKxd/_new  2015-07-05 17:57:34.0 +0200
@@ -16,14 +16,13 @@
 #
 
 
-Url:https://fedorahosted.org/releases/l/o/logrotate
-
 Name:   logrotate
-Version:3.8.9
+Version:3.9.1
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+
 Group:  System/Base
+Url:https://fedorahosted.org/releases/l/o/logrotate
 Source: 
https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.gz
 Source100:  %{name}-rpmlintrc
 Source101:  %{name}.service
@@ -39,9 +38,6 @@
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
 BuildRequires:  pkgconfig(systemd) = 197
-PreReq: %fillup_prereq
-PreReq: /bin/mv
-PreReq: /bin/rm
 Requires:   xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
@@ -64,12 +60,12 @@
 %patch5 -p1
 
 %build
-make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} \
+make %{?_smp_mflags} CC=gcc RPM_OPT_FLAGS=%{optflags} \
WITH_SELINUX=yes \
WITH_ACL=yes
 
 %check
-make test
+make %{?_smp_mflags} test
 
 %install
 make PREFIX=%{buildroot} install
@@ -77,8 +73,8 @@
 mkdir -p %{buildroot}%{_prefix}/sbin
 install -m 644 examples/logrotate-default 
%{buildroot}%{_sysconfdir}/logrotate.conf
 install -m 644 examples/logrotate.wtmp 
%{buildroot}%{_sysconfdir}/logrotate.d/wtmp
-install -D -m 0644 %{S:101} %{buildroot}%{_unitdir}/%{name}.service
-install -D -m 0644 %{S:102} %{buildroot}%{_unitdir}/%{name}.timer
+install -D -m 0644 %{SOURCE101} %{buildroot}%{_unitdir}/%{name}.service
+install -D -m 0644 %{SOURCE102} %{buildroot}%{_unitdir}/%{name}.timer
 
 %pre
 #only the timer can be enabled/disabled/masked !
@@ -86,9 +82,9 @@
 
 %post
 %{remove_and_set MAX_DAYS_FOR_LOG_FILES}
-if [ -f /etc/logrotate.d/aaa_base ] ; then
+if [ -f %{_sysconfdir}/logrotate.d/aaa_base ] ; then
echo Saving old logrotate system configuration
-   mv -v /etc/logrotate.d/aaa_base /etc/logrotate.d.aaa_base.save
+   mv -v %{_sysconfdir}/logrotate.d/aaa_base 
%{_sysconfdir}/logrotate.d.aaa_base.save
 fi
 
 %service_add_post %{name}.service %{name}.timer
@@ -106,7 +102,7 @@
 %{_mandir}/man8/logrotate.8*
 %{_mandir}/man5/logrotate.conf.5*
 %config %{_sysconfdir}/logrotate.conf
-%config(noreplace)/etc/logrotate.d/wtmp
+%config(noreplace)%{_sysconfdir}/logrotate.d/wtmp
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.timer
 

++ logrotate-3.8.9.tar.gz - logrotate-3.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logrotate-3.8.9/CHANGES new/logrotate-3.9.1/CHANGES
--- old/logrotate-3.8.9/CHANGES 2015-02-13 07:11:21.0 +0100
+++ new/logrotate-3.9.1/CHANGES 2015-04-03 09:39:35.0 +0200
@@ -1,3 +1,17 @@
+3.9.0 - 3.9.1
+   - Fix off-by-one error which can lead to crash when copytruncate is 
used.
+3.8.9 - 3.9.0
+   - Fix crash when using long dateformat. [nmerdan]
+   - Add support for %H dateformat. [czchen]
+   - Fix regression introduced in 3.8.9 when when rotating multiple

commit logrotate for openSUSE:Factory

2015-05-22 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2015-05-22 16:32:31

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2015-02-22 
17:20:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2015-05-22 
16:32:31.0 +0200
@@ -1,0 +2,5 @@
+Tue May 19 23:42:27 UTC 2015 - crrodrig...@opensuse.org
+
+- Enable Persistent timer since we are now in systemd 219. 
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.xFyiUx/_old  2015-05-22 16:32:32.0 +0200
+++ /var/tmp/diff_new_pack.xFyiUx/_new  2015-05-22 16:32:32.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# 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

++ logrotate.timer ++
--- /var/tmp/diff_new_pack.xFyiUx/_old  2015-05-22 16:32:32.0 +0200
+++ /var/tmp/diff_new_pack.xFyiUx/_new  2015-05-22 16:32:32.0 +0200
@@ -5,8 +5,7 @@
 [Timer]
 OnCalendar=daily
 AccuracySec=12h
-# not supported by our systemd (210) yet
-#Persistent=true
+Persistent=true
 
 [Install]
 WantedBy=timers.target




commit logrotate for openSUSE:Factory

2015-02-22 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2015-02-22 17:20:29

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2014-07-10 
08:16:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2015-02-22 
17:20:31.0 +0100
@@ -1,0 +2,24 @@
+Fri Feb 20 11:04:12 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 3.8.9
+  * Add new directive createolddir and nocreateolddir. These directives
+can be used to create the directory specified by olddir with particular
+   mode, owner and group.
+  * Continue with rotation even when first log from logset is removed
+   during the rotation.
+  * Fix crash on BSD systems introduced in 3.8.8 caused by different qsort_r
+   function. Function qsort is now used instead.
+  * Fix potential buffer overflow in usage of strncat function.
+  * Fix compilation with musl-libc.
+  * Add experimental 'renamecopy' directive to allow 'olddir' on different
+physical device. See the man logrotate for more information.
+- Remove logrotate-fail_if_ENOENT_and_nomissingok.patch; merged on
+  upstream release
+- Updated patches
+  * logrotate-3.7.8-addextension.patch  logrotate-addextension.patch
+  * logrotate-3.7.8-autoext.patch  logrotate-autoext.patch
+  * logrotate-3.7.8-conf.patch  logrotate-conf.patch 
+  * logrotate-manpage_config_clarification.patch 
+- Remove redunant %clean section
+
+---

Old:

  logrotate-3.7.8-addextension.patch
  logrotate-3.7.8-autoext.patch
  logrotate-3.7.8-conf.patch
  logrotate-3.8.7.tar.gz
  logrotate-fail_if_ENOENT_and_nomissingok.patch

New:

  logrotate-3.8.9.tar.gz
  logrotate-addextension.patch
  logrotate-autoext.patch
  logrotate-conf.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.ZK77yQ/_old  2015-02-22 17:20:32.0 +0100
+++ /var/tmp/diff_new_pack.ZK77yQ/_new  2015-02-22 17:20:32.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# Copyright (c) 2014 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
@@ -19,7 +19,7 @@
 Url:https://fedorahosted.org/releases/l/o/logrotate
 
 Name:   logrotate
-Version:3.8.7
+Version:3.8.9
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+
@@ -29,12 +29,11 @@
 Source101:  %{name}.service
 Source102:  %{name}.timer
 Patch0: logrotate-3.7.8-suse.patch
-Patch1: logrotate-3.7.8-conf.patch
-Patch2: logrotate-3.7.8-autoext.patch
-Patch3: logrotate-3.7.8-addextension.patch
+Patch1: logrotate-conf.patch
+Patch2: logrotate-autoext.patch
+Patch3: logrotate-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
 Patch5: logrotate-manpage_config_clarification.patch
-Patch6: logrotate-fail_if_ENOENT_and_nomissingok.patch
 BuildRequires:  acl
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
@@ -63,7 +62,6 @@
 %patch3
 %patch4
 %patch5 -p1
-%patch6 -p1
 
 %build
 make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} \
@@ -101,9 +99,6 @@
 %postun
 %service_del_postun %{name}.service %{name}.timer
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root)
 %doc CHANGES COPYING

++ logrotate-3.8.7.tar.gz - logrotate-3.8.9.tar.gz ++
 4088 lines of diff (skipped)

++ logrotate-3.7.8-addextension.patch - logrotate-addextension.patch ++
--- /work/SRC/openSUSE:Factory/logrotate/logrotate-3.7.8-addextension.patch 
2013-11-12 09:50:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate-addextension.patch  
2015-02-22 17:20:31.0 +0100
@@ -2,8 +2,8 @@
 ===
 --- test/test.orig 2013-10-10 10:43:36.0 +0200
 +++ test/test  2013-11-07 21:46:37.112487860 +0100
-@@ -1358,4 +1358,27 @@
- test.log.1 0 zero
+@@ -1511,4 +1511,27 @@
+ test2.log.1 0 test2
  EOF
  
 +# check rotation with extension appended to the filename

++ logrotate-3.7.8-autoext.patch - logrotate-autoext.patch ++
--- /work/SRC/openSUSE:Factory/logrotate/logrotate-3.7.8-autoext.patch  
2013-07-27 15:48:01.0 +0200
+++ 

commit logrotate for openSUSE:Factory

2014-07-10 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2014-07-10 08:16:32

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2014-04-05 
16:47:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2014-07-10 
08:16:34.0 +0200
@@ -1,0 +2,6 @@
+Thu Jun 26 12:01:30 UTC 2014 - vci...@suse.com
+
+- temporarily remove the 'Persistent' option from logrotate.timer
+  * our current systemd doesn't support it yet (bnc#884338)
+
+---



Other differences:
--
++ logrotate.timer ++
--- /var/tmp/diff_new_pack.K4QOcF/_old  2014-07-10 08:16:37.0 +0200
+++ /var/tmp/diff_new_pack.K4QOcF/_new  2014-07-10 08:16:37.0 +0200
@@ -5,7 +5,8 @@
 [Timer]
 OnCalendar=daily
 AccuracySec=12h
-Persistent=true
+# not supported by our systemd (210) yet
+#Persistent=true
 
 [Install]
-WantedBy=timers.target
\ No newline at end of file
+WantedBy=timers.target

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



commit logrotate for openSUSE:Factory

2014-04-05 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2014-04-05 16:47:48

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2014-04-04 
16:32:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2014-04-05 
16:47:49.0 +0200
@@ -1,0 +2,6 @@
+Thu Apr  3 17:16:40 UTC 2014 - crrodrig...@opensuse.org
+
+- Also, avoid logrotate unit activation when the system is 
+  on battery power.
+
+---



Other differences:
--
++ logrotate.service ++
--- /var/tmp/diff_new_pack.TYvTyt/_old  2014-04-05 16:47:50.0 +0200
+++ /var/tmp/diff_new_pack.TYvTyt/_new  2014-04-05 16:47:50.0 +0200
@@ -1,6 +1,7 @@
 [Unit]
 Description=Rotate log files
 Documentation=man:logrotate(8) man:logrotate.conf(5)
+ConditionACPower=true
 
 [Service]
 Type=oneshot

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



commit logrotate for openSUSE:Factory

2014-04-04 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2014-04-04 16:32:05

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2013-11-14 
10:40:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2014-04-04 
16:32:07.0 +0200
@@ -1,0 +2,19 @@
+Thu Apr  3 14:10:21 UTC 2014 - crrodrig...@opensuse.org
+
+- BuildRequire systemd 197 or later.
+
+---
+Wed Apr  2 22:45:56 UTC 2014 - crrodrig...@opensuse.org
+
+- Migrate from cron to systemd timer units, this is overall 
+  the most important package to migrate since it is one 
+  of the very few base components that hard-require cron.
+
+---
+Tue Apr  1 15:11:22 UTC 2014 - vci...@suse.com
+
+- return error when nomissingok is specified and the log path
+  doesn't exist (bnc#871217)
+  * added logrotate-fail_if_ENOENT_and_nomissingok.patch
+
+---

New:

  logrotate-fail_if_ENOENT_and_nomissingok.patch
  logrotate.service
  logrotate.timer



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.2g27N6/_old  2014-04-04 16:32:08.0 +0200
+++ /var/tmp/diff_new_pack.2g27N6/_new  2014-04-04 16:32:08.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -26,22 +26,26 @@
 Group:  System/Base
 Source: 
https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.gz
 Source100:  %{name}-rpmlintrc
+Source101:  %{name}.service
+Source102:  %{name}.timer
 Patch0: logrotate-3.7.8-suse.patch
 Patch1: logrotate-3.7.8-conf.patch
 Patch2: logrotate-3.7.8-autoext.patch
 Patch3: logrotate-3.7.8-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
 Patch5: logrotate-manpage_config_clarification.patch
+Patch6: logrotate-fail_if_ENOENT_and_nomissingok.patch
 BuildRequires:  acl
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
+BuildRequires:  pkgconfig(systemd) = 197
 PreReq: %fillup_prereq
 PreReq: /bin/mv
 PreReq: /bin/rm
-Requires:   cron
 Requires:   xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
 
 %description
 The logrotate utility is designed to simplify the administration of log
@@ -59,6 +63,7 @@
 %patch3
 %patch4
 %patch5 -p1
+%patch6 -p1
 
 %build
 make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} \
@@ -73,8 +78,13 @@
 mkdir -p %{buildroot}%{_sysconfdir}/{logrotate.d,cron.daily}
 mkdir -p %{buildroot}%{_prefix}/sbin
 install -m 644 examples/logrotate-default 
%{buildroot}%{_sysconfdir}/logrotate.conf
-install -m 755 examples/logrotate.cron 
%{buildroot}%{_sysconfdir}/cron.daily/logrotate
 install -m 644 examples/logrotate.wtmp 
%{buildroot}%{_sysconfdir}/logrotate.d/wtmp
+install -D -m 0644 %{S:101} %{buildroot}%{_unitdir}/%{name}.service
+install -D -m 0644 %{S:102} %{buildroot}%{_unitdir}/%{name}.timer
+
+%pre
+#only the timer can be enabled/disabled/masked !
+%service_add_pre %{name}.service %{name}.timer
 
 %post
 %{remove_and_set MAX_DAYS_FOR_LOG_FILES}
@@ -83,6 +93,14 @@
mv -v /etc/logrotate.d/aaa_base /etc/logrotate.d.aaa_base.save
 fi
 
+%service_add_post %{name}.service %{name}.timer
+
+%preun
+%service_del_preun %{name}.service %{name}.timer
+
+%postun
+%service_del_postun %{name}.service %{name}.timer
+
 %clean
 rm -rf %{buildroot}
 
@@ -92,8 +110,9 @@
 %{_sbindir}/logrotate
 %{_mandir}/man8/logrotate.8*
 %{_mandir}/man5/logrotate.conf.5*
-%{_sysconfdir}/cron.daily/logrotate
 %config %{_sysconfdir}/logrotate.conf
 %config(noreplace)/etc/logrotate.d/wtmp
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}.timer
 
 %changelog

++ logrotate-fail_if_ENOENT_and_nomissingok.patch ++
Index: logrotate-3.8.7/logrotate.c
===
--- logrotate-3.8.7.orig/logrotate.c2014-04-01 18:39:14.294635014 +0200
+++ logrotate-3.8.7/logrotate.c 2014-04-01 18:40:29.613496763 +0200
@@ -795,8 +795,9 @@ int findNeedRotating(struct logInfo *log
char *ld = ourDirName(log-files[logNum]);

commit logrotate for openSUSE:Factory

2013-11-14 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2013-11-14 10:40:30

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2013-11-12 
09:50:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2013-11-14 
10:40:31.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov  7 21:57:31 UTC 2013 - sweet_...@gmx.de
+
+- enable acl support to preserve ACLs during rotation
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.dZ11I3/_old  2013-11-14 10:40:32.0 +0100
+++ /var/tmp/diff_new_pack.dZ11I3/_new  2013-11-14 10:40:32.0 +0100
@@ -32,6 +32,8 @@
 Patch3: logrotate-3.7.8-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
 Patch5: logrotate-manpage_config_clarification.patch
+BuildRequires:  acl
+BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
 PreReq: %fillup_prereq
@@ -59,7 +61,9 @@
 %patch5 -p1
 
 %build
-make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes
+make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} \
+   WITH_SELINUX=yes \
+   WITH_ACL=yes
 
 %check
 make test

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



commit logrotate for openSUSE:Factory

2013-11-12 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2013-11-12 09:50:40

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2013-08-24 
10:14:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2013-11-12 
09:50:41.0 +0100
@@ -1,0 +2,14 @@
+Thu Nov  7 20:26:51 UTC 2013 - sweet_...@gmx.de
+
+- update to 3.8.7, fix bnc#849436
+- Changelog 3.8.7:
+  * Fixed --force/-f option handling together with size directive
+(3.8.5 regression).
+  * Use logrotate_tmp_t context for SELinux tests and if this
+context does not exist, skip SELinux related tests.
+- Changelog 3.8.6
+  * Fixed memory corruption caused by rotation directory which
+does not exist with sharedscripts together with prerotate
+script.
+
+---

Old:

  logrotate-3.8.5.tar.gz

New:

  logrotate-3.8.7.tar.gz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.sStQrz/_old  2013-11-12 09:50:42.0 +0100
+++ /var/tmp/diff_new_pack.sStQrz/_new  2013-11-12 09:50:42.0 +0100
@@ -19,7 +19,7 @@
 Url:https://fedorahosted.org/releases/l/o/logrotate
 
 Name:   logrotate
-Version:3.8.5
+Version:3.8.7
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+

++ logrotate-3.7.8-addextension.patch ++
--- /var/tmp/diff_new_pack.sStQrz/_old  2013-11-12 09:50:42.0 +0100
+++ /var/tmp/diff_new_pack.sStQrz/_new  2013-11-12 09:50:42.0 +0100
@@ -1,10 +1,10 @@
 Index: test/test
 ===
 test/test.orig 2013-07-25 14:13:04.195582354 +0200
-+++ test/test  2013-07-25 14:14:27.468464841 +0200
-@@ -1285,6 +1285,28 @@ echo Does not have GNU Date, skipping p
- fi
- 
+--- test/test.orig 2013-10-10 10:43:36.0 +0200
 test/test  2013-11-07 21:46:37.112487860 +0100
+@@ -1358,4 +1358,27 @@
+ test.log.1 0 zero
+ EOF
  
 +# check rotation with extension appended to the filename
 +cleanup 100
@@ -28,8 +28,7 @@
 +test.1.log 0 zero
 +EOF
 +
- 
- 
++
  cleanup
 Index: config.c
 ===

++ logrotate-3.8.5.tar.gz - logrotate-3.8.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logrotate-3.8.5/CHANGES new/logrotate-3.8.7/CHANGES
--- old/logrotate-3.8.5/CHANGES 2013-06-10 14:02:36.0 +0200
+++ new/logrotate-3.8.7/CHANGES 2013-10-10 10:43:36.0 +0200
@@ -1,3 +1,13 @@
+3.8.6 - 3.8.7
+   - Fixed --force/-f option handling together with size directive
+ (3.8.5 regression).
+   - Use logrotate_tmp_t context for SELinux tests and if this context 
does
+ not exist, skip SELinux related tests.
+
+3.8.5 - 3.8.6
+   - Fixed memory corruption caused by rotation directory which does not
+ exist with sharedscripts together with prerotate script.
+
 3.8.4 - 3.8.5
- Improved rotation during daylight saving time and between timezone
  changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logrotate-3.8.5/config.c new/logrotate-3.8.7/config.c
--- old/logrotate-3.8.5/config.c2013-06-10 14:02:36.0 +0200
+++ new/logrotate-3.8.7/config.c2013-07-31 13:34:31.0 +0200
@@ -812,7 +812,7 @@
if (key == NULL)
continue;
 
-   rc = sscanf(key, %200s %200s%c, 
createOwner,
+   rc = sscanf(key, %199s %199s%c, 
createOwner,
createGroup, 
foo);
if (rc == 3) {
message(MESS_ERROR, %s:%d 
extra arguments for 
@@ -863,11 +863,11 @@
if (key == NULL)
continue;
 
-   rc = sscanf(key, %o %200s %200s%c, 
createMode,
+   rc = sscanf(key, %o %199s %199s%c, 
createMode,
createOwner, 
createGroup, foo);
/* We support 'create owner group 
notation now */
if (rc == 0) {
-

commit logrotate for openSUSE:Factory

2013-08-24 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2013-08-24 10:14:25

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2013-08-04 
16:56:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2013-08-24 
10:14:26.0 +0200
@@ -1,0 +2,5 @@
+Tue Aug 20 12:53:27 UTC 2013 - vci...@suse.com
+
+- install COPYING file (bnc#817870)
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.ldxMdH/_old  2013-08-24 10:14:27.0 +0200
+++ /var/tmp/diff_new_pack.ldxMdH/_new  2013-08-24 10:14:27.0 +0200
@@ -84,7 +84,7 @@
 
 %files
 %defattr(-,root,root)
-%doc CHANGES
+%doc CHANGES COPYING
 %{_sbindir}/logrotate
 %{_mandir}/man8/logrotate.8*
 %{_mandir}/man5/logrotate.conf.5*

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



commit logrotate for openSUSE:Factory

2013-08-04 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2013-08-04 16:56:44

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2013-07-27 
15:48:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2013-08-04 
16:56:45.0 +0200
@@ -1,0 +2,7 @@
+Thu Aug  1 12:36:57 UTC 2013 - vci...@suse.com
+
+- mention in the manpage that = is an allowed separator in the
+  config file (bnc#831072)
+  * added logrotate-manpage_config_clarification.patch
+
+---

New:

  logrotate-manpage_config_clarification.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.E8NOUp/_old  2013-08-04 16:56:45.0 +0200
+++ /var/tmp/diff_new_pack.E8NOUp/_new  2013-08-04 16:56:45.0 +0200
@@ -31,6 +31,7 @@
 Patch2: logrotate-3.7.8-autoext.patch
 Patch3: logrotate-3.7.8-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
+Patch5: logrotate-manpage_config_clarification.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
 PreReq: %fillup_prereq
@@ -55,6 +56,7 @@
 %patch2
 %patch3
 %patch4
+%patch5 -p1
 
 %build
 make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes

++ logrotate-manpage_config_clarification.patch ++
Index: logrotate-3.8.5/logrotate.8
===
--- logrotate-3.8.5.orig/logrotate.82013-07-25 15:30:36.687434418 +0200
+++ logrotate-3.8.5/logrotate.8 2013-07-31 16:08:57.460078472 +0200
@@ -121,6 +121,10 @@ compressed after they are rotated.  Note
 anywhere in the config file as long as the first non-whitespace
 character on the line is a #.
 
+Values are separated from directives by whitespace and/or an optional =.
+Numbers must be specified in a format understood by
+.BR strtoul(3).
+
 The next section of the config files defined how to handle the log file
 \fI/var/log/messages\fR. The log will go through five weekly rotations before
 being removed. After the log file has been rotated (but before the old
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit logrotate for openSUSE:Factory

2013-07-27 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2013-07-27 15:47:59

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


Package is logrotate

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2013-04-17 
23:06:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2013-07-27 
15:48:01.0 +0200
@@ -1,0 +2,59 @@
+Thu Jul 25 14:19:48 UTC 2013 - vci...@suse.com
+
+- update to 3.8.5
+  * dropped logrotate-3.7.9-compressoptions.patch (upstream)
+  * refreshed other patches
+  Changelog:
+  - Improved rotation during daylight saving time and between timezone
+changes.
+  - Fixed ACL setting problem caused by ext3 erroneously reporting ENOSYS
+instead of ENOSUP.
+  - Do not continue with rotation if state file is corrupted.
+  - Make logrotate.status creation atomic.
+  - Allow hourly rotation. See manpage for more information.
+  - Use /bin/echo in tests. Fixes tests execution in Dash.
+  - Do no try to parse config files bigger than 16MB.
+  - Improved manpage consistency and formatting.
+  - Fix race condition between acl_set_fd() and fchmod().
+  - Added --version command line option
+  - Disable ACL tests if logrotate is not compiled WITH_ACL support or if 
+ACLs are not supported by the system running tests
+  - Disable SELinux tests if logrotate is not compiled WITH_SELINUX support
+or if SELinux is not supported by the system running tests
+  - Fixed bug which prevented skipping particular log file config
+if the config contained errors.
+  - Fixed skipping of configs containing firstaction/lastaction scripts
+with '}' character in case of error before these scripts.
+  - Support also 'K' unit for *size directives.
+  - Added preremove option to let admin to do something with the old logs
+before they are removed by logrotate.
+  - Fixed possible loop in tabooext parsing.
+  - Move code to set SELinux context before compressLogFile calls to create
+compressed log files with the proper context.
+  - Call prerotate/postrotate script only for really rotated files in
+nosharedscripts mode (as stated in man page).
+  - Fixed setting size bigger than 4GB on 32bit architectures
+  - Do not overwrite mode set by create option when using ACL. create
+directive is now not mixed up with ACLs. If you use create in config
+file and log file has some ACLs set, ACLs are not kept and are
+overwritten by the mode set in create directive.
+  - Mode argument in create directive can be omitted. Only owner and group
+is set in this case. Check man page for more info.
+  - show error and ignore config if '{' is not present after log files
+declaration
+  - support whitespaces in compressoptions directive
+  - support for tilde expansion in config files
+  - 'su' directive does not affect script execution - scripts
+are executed as a root if 'su' directive is present
+  - fixed mail sending for 'mailfirst', 'dateext' and 'delaycompress'
+combination
+  - do not use gzip/gunzip from /usr/local on Solaris
+  - add O_NOFOLLOW when opening files as safeguard against symlink tricks.
+Symlinks rotation is now officially unsupported. It didn't work
+as expected in the past anyway.
+  - do not run external programs with uid != euid
+  - fixed potential bad-free when ACL is used
+  - Do not include alloca.h on NetBSD, since alloca() is declared in
+stdlib.h there
+
+---

Old:

  logrotate-3.7.9-compressoptions.patch
  logrotate-3.8.1.tar.gz

New:

  logrotate-3.8.5.tar.gz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.iTnZMl/_old  2013-07-27 15:48:02.0 +0200
+++ /var/tmp/diff_new_pack.iTnZMl/_new  2013-07-27 15:48:02.0 +0200
@@ -19,7 +19,7 @@
 Url:https://fedorahosted.org/releases/l/o/logrotate
 
 Name:   logrotate
-Version:3.8.1
+Version:3.8.5
 Release:0
 Summary:Rotate, compress, remove, and mail system log files
 License:GPL-2.0+
@@ -31,8 +31,6 @@
 Patch2: logrotate-3.7.8-autoext.patch
 Patch3: logrotate-3.7.8-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
-# PATCH-FIX-UPSTREAM allow separated compressoptions (bnc#711780)
-Patch8: logrotate-3.7.9-compressoptions.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
 PreReq: %fillup_prereq
@@ -57,7 +55,6 @@
 %patch2
 %patch3
 %patch4
-%patch8 -p1
 
 %build
 make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes

++ 

commit logrotate for openSUSE:Factory

2013-04-17 Thread h_root
Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory 
checked in at 2013-04-17 23:06:10

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


Package is logrotate, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/logrotate/logrotate.changes  2011-10-04 
18:13:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2013-04-17 
23:06:10.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 16 08:23:18 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.2zeW7L/_old  2013-04-17 23:06:12.0 +0200
+++ /var/tmp/diff_new_pack.2zeW7L/_new  2013-04-17 23:06:12.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package logrotate
 #
-# Copyright (c) 2011 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
@@ -20,11 +20,11 @@
 
 Name:   logrotate
 Version:3.8.1
-Release:1
-License:GPL-2.0+
+Release:0
 Summary:Rotate, compress, remove, and mail system log files
+License:GPL-2.0+
 Group:  System/Base
-Source: %{name}-%{version}.tar.gz
+Source: 
https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.gz
 Source100:  %{name}-rpmlintrc
 Patch0: logrotate-3.7.8-suse.patch
 Patch1: logrotate-3.7.8-conf.patch
@@ -38,8 +38,8 @@
 PreReq: %fillup_prereq
 PreReq: /bin/mv
 PreReq: /bin/rm
-Requires:   xz
 Requires:   cron
+Requires:   xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

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



commit logrotate for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

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

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


Package is logrotate, Maintainer is vci...@suse.com

Changes:




Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.VnucZs/_old  2011-12-06 18:48:49.0 +0100
+++ /var/tmp/diff_new_pack.VnucZs/_new  2011-12-06 18:48:49.0 +0100
@@ -21,7 +21,7 @@
 Name:   logrotate
 Version:3.8.1
 Release:1
-License:GPLv2+
+License:GPL-2.0+
 Summary:Rotate, compress, remove, and mail system log files
 Group:  System/Base
 Source: %{name}-%{version}.tar.gz

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



commit logrotate for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory
checked in at Tue Oct 4 18:13:28 CEST 2011.




--- openSUSE:Factory/logrotate/logrotate.changes2011-09-23 
02:12:03.0 +0200
+++ /mounts/work_src_done/STABLE/logrotate/logrotate.changes2011-09-30 
17:35:00.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 30 15:34:40 UTC 2011 - u...@suse.com
+
+- cross-build fix: use %__cc macro
+
+---

calling whatdependson for head-i586




Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.9q20qx/_old  2011-10-04 18:13:25.0 +0200
+++ /var/tmp/diff_new_pack.9q20qx/_new  2011-10-04 18:13:25.0 +0200
@@ -60,7 +60,7 @@
 %patch8 -p1
 
 %build
-make %{?_smp_mflags} RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes
+make %{?_smp_mflags} CC=%__cc RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes
 
 %check
 make test

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 logrotate for openSUSE:Factory

2011-09-13 Thread h_root

Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory
checked in at Tue Sep 13 12:37:56 CEST 2011.




--- logrotate/logrotate.changes 2011-09-07 14:54:02.0 +0200
+++ /mounts/work_src_done/STABLE/logrotate/logrotate.changes2011-09-08 
12:16:40.0 +0200
@@ -1,0 +2,24 @@
+Wed Sep  7 14:30:29 UTC 2011 - vci...@suse.com
+
+- update to 3.8.1
+- dropped CVE patches as they were merged to upstream
+- changelog
+  - fixed 1 memory leak in prerotateSingleLog
+  - do not redirect logrotate errors to /dev/null in cron script
+  - fixed size directive parsing
+  - handle situation when acl_get_fd is supported, but acl_set_fd is not
+  - added maxsize directive (see man page)
+  - added dateyesterday option (see man page)
+  - fixed crash when config file had exactly 4096*N bytes
+  - added WITH_ACL make option to link against -lacl and preserve ACLs
+during rotation
+  - added su option to define user/group for rotation. Logrotate now
+skips directories which are world writable or writable by group
+which is not root unless su directive is used.
+  - fixed CVE-2011-1098: race condition by creation of new files
+  - fixed possible shell injection when using shred directive (CVE-2011-1154)
+  - fixed escaping of file names within 'write state' action (CVE-2011-1155)
+  - better 'size' directive description
+  - fixed possible buffer-overflow when reading config files
+
+---

calling whatdependson for head-i586


Old:

  logrotate-3.7.9.tar.bz2
  logrotate-CVE-2011-1098.patch
  logrotate-CVE-2011-1155.patch
  logrotate-shred-CVE-2011-1154.patch

New:

  logrotate-3.8.1.tar.gz



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.77ERtE/_old  2011-09-13 12:37:52.0 +0200
+++ /var/tmp/diff_new_pack.77ERtE/_new  2011-09-13 12:37:52.0 +0200
@@ -19,21 +19,19 @@
 Url:https://fedorahosted.org/releases/l/o/logrotate
 
 Name:   logrotate
-Version:3.7.9
-Release:12
+Version:3.8.1
+Release:1
 License:GPLv2+
 Summary:Rotate, compress, remove, and mail system log files
 Group:  System/Base
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.gz
 Source100:  %{name}-rpmlintrc
 Patch0: logrotate-3.7.8-suse.patch
 Patch1: logrotate-3.7.8-conf.patch
 Patch2: logrotate-3.7.8-autoext.patch
 Patch3: logrotate-3.7.8-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
-Patch5: logrotate-CVE-2011-1098.patch
-Patch6: logrotate-shred-CVE-2011-1154.patch
-Patch7: logrotate-CVE-2011-1155.patch
+# PATCH-FIX-UPSTREAM allow separated compressoptions (bnc#711780)
 Patch8: logrotate-3.7.9-compressoptions.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
@@ -59,9 +57,6 @@
 %patch2
 %patch3
 %patch4
-%patch5 -p1
-%patch6
-%patch7
 %patch8 -p1
 
 %build
@@ -81,7 +76,7 @@
 %post
 %{remove_and_set MAX_DAYS_FOR_LOG_FILES}
 if [ -f /etc/logrotate.d/aaa_base ] ; then
-   echo Saving old logrotate system confguration
+   echo Saving old logrotate system configuration
mv -v /etc/logrotate.d/aaa_base /etc/logrotate.d.aaa_base.save
 fi
 

++ logrotate-3.7.8-addextension.patch ++
--- /var/tmp/diff_new_pack.77ERtE/_old  2011-09-13 12:37:52.0 +0200
+++ /var/tmp/diff_new_pack.77ERtE/_new  2011-09-13 12:37:52.0 +0200
@@ -1,17 +1,16 @@
 Index: test/test
 ===
 test/test.orig 2008-05-14 12:31:35.0 +0200
-+++ test/test  2009-03-06 15:15:00.0 +0100
-@@ -369,4 +369,27 @@
+--- test/test.orig
 test/test
+@@ -427,4 +427,26 @@ test.log 0
+ test.log.1 0 zero
  EOF
  
- rm -rf testdir
-+
 +# check rotation with extension appended to the filename
-+cleanup 15
++cleanup 17
 +
-+preptest test.log 15 1 0
-+$RLR test-config.15 --force
++preptest test.log 17 1 0
++$RLR test-config.17 --force
 +
 +checkoutput EOF
 +test.log 0
@@ -19,48 +18,22 @@
 +EOF
 +
 +# check rotation with extension moved after the number
-+cleanup 16
++cleanup 18
 +
-+preptest test.log 16 1 0
-+$RLR test-config.16 --force
++preptest test.log 18 1 0
++$RLR test-config.18 --force
 +
 +checkoutput EOF
 +test.log 0
 +test.1.log 0 zero
 +EOF
 +
- cleanup
-Index: test/test-config.16.in
-===
 /dev/null  1970-01-01 00:00:00.0 +
-+++ test/test-config.16.in 2009-03-06 15:15:00.0 +0100
-@@ -0,0 +1,8 @@
-+create
-+
-+DIR/test.log {
-+monthly
-+rotate 1
-+addextension .log
-+}
-+
-Index: test/test-config.15.in
-===
 /dev/null  1970-01-01 00:00:00.0 +

commit logrotate for openSUSE:Factory

2011-09-07 Thread h_root

Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory
checked in at Wed Sep 7 17:55:31 CEST 2011.




--- logrotate/logrotate.changes 2011-07-25 12:27:56.0 +0200
+++ /mounts/work_src_done/STABLE/logrotate/logrotate.changes2011-09-07 
14:54:02.0 +0200
@@ -1,0 +2,5 @@
+Wed Sep  7 12:51:41 UTC 2011 - vci...@suse.com
+
+- allow whitespace separated options in compressoptions (bnc#711780)
+
+---

calling whatdependson for head-i586


New:

  logrotate-3.7.9-compressoptions.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.5luPxC/_old  2011-09-07 17:55:26.0 +0200
+++ /var/tmp/diff_new_pack.5luPxC/_new  2011-09-07 17:55:26.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   logrotate
 Version:3.7.9
-Release:10
+Release:12
 License:GPLv2+
 Summary:Rotate, compress, remove, and mail system log files
 Group:  System/Base
@@ -34,6 +34,7 @@
 Patch5: logrotate-CVE-2011-1098.patch
 Patch6: logrotate-shred-CVE-2011-1154.patch
 Patch7: logrotate-CVE-2011-1155.patch
+Patch8: logrotate-3.7.9-compressoptions.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  popt-devel
 PreReq: %fillup_prereq
@@ -61,6 +62,7 @@
 %patch5 -p1
 %patch6
 %patch7
+%patch8 -p1
 
 %build
 make %{?_smp_mflags} RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes

++ logrotate-3.7.9-compressoptions.patch ++
Index: logrotate-3.7.9/config.c
===
--- logrotate-3.7.9.orig/config.c
+++ logrotate-3.7.9/config.c
@@ -101,7 +139,9 @@ static char *readPath(const char *config
chptr = start;
 
while( (len = mbrtowc(pwc, chptr, strlen(chptr), NULL)) != 0 ) {
-   if( len == (size_t)(-1) || len == (size_t)(-2) || 
!iswprint(pwc) || iswblank(pwc) ) {
+   if( len == (size_t)(-1) || len == (size_t)(-2) || 
!iswprint(pwc) ||
+   /* allow more compress options separated by whitespace */
+   ( strcmp(key, compressoptions)  iswblank(pwc) ) ) {
message(MESS_ERROR, %s:%d bad %s path %s\n,
configFile, lineNum, key, start);
return NULL;





Remember to have fun...

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



commit logrotate for openSUSE:Factory

2011-08-15 Thread h_root

Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory
checked in at Mon Aug 15 09:41:17 CEST 2011.




--- logrotate/logrotate.changes 2011-05-16 11:33:19.0 +0200
+++ /mounts/work_src_done/STABLE/logrotate/logrotate.changes2011-07-25 
12:27:56.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 25 10:25:56 UTC 2011 - jeng...@medozas.de
+
+- Change compression scheme to xz
+
+---

calling whatdependson for head-i586




Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.XjAGCr/_old  2011-08-15 09:40:23.0 +0200
+++ /var/tmp/diff_new_pack.XjAGCr/_new  2011-08-15 09:40:23.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   logrotate
 Version:3.7.9
-Release:8
+Release:10
 License:GPLv2+
 Summary:Rotate, compress, remove, and mail system log files
 Group:  System/Base
@@ -39,7 +39,7 @@
 PreReq: %fillup_prereq
 PreReq: /bin/mv
 PreReq: /bin/rm
-Requires:   bzip2
+Requires:   xz
 Requires:   cron
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 

++ logrotate-3.7.8-autoext.patch ++
--- /var/tmp/diff_new_pack.XjAGCr/_old  2011-08-15 09:40:23.0 +0200
+++ /var/tmp/diff_new_pack.XjAGCr/_new  2011-08-15 09:40:23.0 +0200
@@ -34,7 +34,7 @@
 ===
 --- logrotate.c.orig   2008-10-15 15:07:43.0 +0200
 +++ logrotate.c2009-03-06 14:21:45.0 +0100
-@@ -54,6 +54,15 @@
+@@ -54,6 +54,16 @@
  int numLogs = 0;
  int debug = 0;
  char *mailCommand = DEFAULT_MAIL_COMMAND;
@@ -42,6 +42,7 @@
 +const char * compress_cmd_list[][2] = {
 +  {gzip, .gz},
 +  {bzip2, .bz2},
++  {xz, .xz},
 +  {compress, .Z},
 +  {zip, zip},
 +  {EOLIST, EOLIST} /* end-marker */

++ logrotate-3.7.8-conf.patch ++
--- /var/tmp/diff_new_pack.XjAGCr/_old  2011-08-15 09:40:23.0 +0200
+++ /var/tmp/diff_new_pack.XjAGCr/_new  2011-08-15 09:40:23.0 +0200
@@ -18,8 +18,8 @@
 -}
 +# comment these to switch compression to use gzip or another
 +# compression scheme
-+compresscmd /usr/bin/bzip2
-+uncompresscmd /usr/bin/bunzip2
++compresscmd /usr/bin/xz
++uncompresscmd /usr/bin/xzdec
  
 -/var/log/btmp {
 -missingok
@@ -28,7 +28,7 @@
 -rotate 1
 -}
 +# former versions had to have the compressext set accordingly
-+#compressext .bz2
++#compressext .xz
  
 -# system-specific logs may be also be configured here.
 +# RPM packages drop log rotation information into this directory






Remember to have fun...

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



commit logrotate for openSUSE:Factory

2011-05-19 Thread h_root

Hello community,

here is the log from the commit of package logrotate for openSUSE:Factory
checked in at Thu May 19 09:46:13 CEST 2011.




--- logrotate/logrotate.changes 2010-11-18 13:45:15.0 +0100
+++ /mounts/work_src_done/STABLE/logrotate/logrotate.changes2011-05-16 
11:33:19.0 +0200
@@ -1,0 +2,8 @@
+Tue May 10 14:23:08 UTC 2011 - pu...@novell.com
+
+- add logrotate-CVE-2011-1098.patch (bnc#677336)
+- add logrotate-shred-CVE-2011-1154.patch (bnc#679661)
+- add logrotate-CVE-2011-1155.patch (bnc#679662)
+- use spec-cleaner
+
+---

calling whatdependson for head-i586


New:

  logrotate-CVE-2011-1098.patch
  logrotate-CVE-2011-1155.patch
  logrotate-shred-CVE-2011-1154.patch



Other differences:
--
++ logrotate.spec ++
--- /var/tmp/diff_new_pack.BknuH1/_old  2011-05-19 09:43:22.0 +0200
+++ /var/tmp/diff_new_pack.BknuH1/_new  2011-05-19 09:43:22.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package logrotate (Version 3.7.9)
+# spec file for package logrotate
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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,28 +15,33 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 Url:https://fedorahosted.org/releases/l/o/logrotate
 
 Name:   logrotate
-BuildRequires:  popt-devel
-BuildRequires:  libselinux-devel
-Summary:Rotate, Compress, Remove, and Mail System Log Files
 Version:3.7.9
-Release:3
+Release:8
 License:GPLv2+
+Summary:Rotate, compress, remove, and mail system log files
 Group:  System/Base
 Source: %{name}-%{version}.tar.bz2
 Source100:  %{name}-rpmlintrc
-Patch:  logrotate-3.7.8-suse.patch
+Patch0: logrotate-3.7.8-suse.patch
 Patch1: logrotate-3.7.8-conf.patch
 Patch2: logrotate-3.7.8-autoext.patch
 Patch3: logrotate-3.7.8-addextension.patch
 Patch4: logrotate-3.7.8-mess_err.patch
+Patch5: logrotate-CVE-2011-1098.patch
+Patch6: logrotate-shred-CVE-2011-1154.patch
+Patch7: logrotate-CVE-2011-1155.patch
+BuildRequires:  libselinux-devel
+BuildRequires:  popt-devel
+PreReq: %fillup_prereq
+PreReq: /bin/mv
+PreReq: /bin/rm
+Requires:   bzip2
+Requires:   cron
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-PreReq: %fillup_prereq /bin/rm /bin/mv
-Requires:   bzip2 cron
 
 %description
 The logrotate utility is designed to simplify the administration of log
@@ -46,35 +51,30 @@
 when the log file reaches a certain size. Normally, logrotate runs as a
 daily cron job.
 
-
-
-Authors:
-
-Erik Troan e...@redhat.com
-Matt Wilson m...@redhat.com
-Preston Brown pbr...@redhat.com
-
 %prep
 %setup -q
-%patch
+%patch0
 %patch1
 %patch2
 %patch3
 %patch4
+%patch5 -p1
+%patch6
+%patch7
 
 %build
-make %{?_smp_mflags} RPM_OPT_FLAGS=$RPM_OPT_FLAGS WITH_SELINUX=yes
+make %{?_smp_mflags} RPM_OPT_FLAGS=%{optflags} WITH_SELINUX=yes
 
 %check
 make test
 
 %install
-make PREFIX=$RPM_BUILD_ROOT install
-mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,cron.daily}
-mkdir -p $RPM_BUILD_ROOT/usr/sbin
-install -m 644 examples/logrotate-default $RPM_BUILD_ROOT/etc/logrotate.conf
-install -m 755 examples/logrotate.cron $RPM_BUILD_ROOT/etc/cron.daily/logrotate
-install -m 644 examples/logrotate.wtmp $RPM_BUILD_ROOT/etc/logrotate.d/wtmp
+make PREFIX=%{buildroot} install
+mkdir -p %{buildroot}%{_sysconfdir}/{logrotate.d,cron.daily}
+mkdir -p %{buildroot}%{_prefix}/sbin
+install -m 644 examples/logrotate-default 
%{buildroot}%{_sysconfdir}/logrotate.conf
+install -m 755 examples/logrotate.cron 
%{buildroot}%{_sysconfdir}/cron.daily/logrotate
+install -m 644 examples/logrotate.wtmp 
%{buildroot}%{_sysconfdir}/logrotate.d/wtmp
 
 %post
 %{remove_and_set MAX_DAYS_FOR_LOG_FILES}
@@ -84,7 +84,7 @@
 fi
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
@@ -92,8 +92,8 @@
 %{_sbindir}/logrotate
 %{_mandir}/man8/logrotate.8*
 %{_mandir}/man5/logrotate.conf.5*
-/etc/cron.daily/logrotate
-%config /etc/logrotate.conf
+%{_sysconfdir}/cron.daily/logrotate
+%config %{_sysconfdir}/logrotate.conf
 %config(noreplace)/etc/logrotate.d/wtmp
 
 %changelog

++ logrotate-CVE-2011-1098.patch ++
Index: logrotate-3.7.9/logrotate.c
===
--- logrotate-3.7.9.orig/logrotate.c
+++ logrotate-3.7.9/logrotate.c
@@ -204,7 +204,9 @@ int createOutputFile(char *fileName, int
 {
 int fd;
 
-fd = open(fileName, flags, sb-st_mode);
+