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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate.changes 2015-02-22 
17:20:31.000000000 +0100
@@ -1,0 +2,24 @@
+Fri Feb 20 11:04:12 UTC 2015 - [email protected]
+
+- 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.000000000 +0100
+++ /var/tmp/diff_new_pack.ZK77yQ/_new  2015-02-22 17:20:32.000000000 +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.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate-addextension.patch      
2015-02-22 17:20:31.000000000 +0100
@@ -2,8 +2,8 @@
 ===================================================================
 --- test/test.orig     2013-10-10 10:43:36.000000000 +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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.logrotate.new/logrotate-autoext.patch   
2015-02-22 17:20:31.000000000 +0100
@@ -2,14 +2,14 @@
 ===================================================================
 --- config.c.orig      2013-06-10 14:02:36.000000000 +0200
 +++ config.c   2013-07-25 15:42:42.465060702 +0200
-@@ -594,6 +594,7 @@ static int readConfigFile(const char *co
+@@ -712,6 +712,7 @@
      char **scriptDest = NULL;
      struct logInfo *newlog = defConfig;
      char *start, *chptr;
 +    char *compresscmd_base;
      char *dirName;
-     struct group *group;
      struct passwd *pw = NULL;
+     int rc;
 @@ -1245,6 +1246,20 @@ static int readConfigFile(const char *co
                                        message(MESS_DEBUG, "compress_prog is 
now %s\n",
                                                newlog->compress_prog);

++++++ logrotate-conf.patch ++++++
Index: examples/logrotate-default
===================================================================
--- examples/logrotate-default.orig
+++ examples/logrotate-default
@@ -14,22 +14,13 @@
 # uncomment this if you want your log files compressed
 #compress
 
-# RPM packages drop log rotation information into this directory
-include /etc/logrotate.d
-
-# no packages own wtmp and btmp -- we'll rotate them here
-/var/log/wtmp {
-    monthly
-    create 0664 root utmp
-    minsize 1M
-    rotate 1
-}
+# comment these to switch compression to use gzip or another
+# compression scheme
+compresscmd /usr/bin/xz
+uncompresscmd /usr/bin/xzdec
 
-/var/log/btmp {
-    missingok
-    monthly
-    create 0600 root utmp
-    rotate 1
-}
+# former versions had to have the compressext set accordingly
+#compressext .xz
 
-# system-specific logs may be also be configured here.
+# RPM packages drop log rotation information into this directory
+include /etc/logrotate.d
Index: examples/logrotate.wtmp
===================================================================
--- /dev/null
+++ examples/logrotate.wtmp
@@ -0,0 +1,11 @@
+/var/log/wtmp /var/log/btmp {
+    compress
+    dateext
+    maxage 365
+    rotate 99
+    size=+400k
+    notifempty
+    missingok
+    copytruncate
+}
+
++++++ logrotate-manpage_config_clarification.patch ++++++
--- /var/tmp/diff_new_pack.ZK77yQ/_old  2015-02-22 17:20:32.000000000 +0100
+++ /var/tmp/diff_new_pack.ZK77yQ/_new  2015-02-22 17:20:32.000000000 +0100
@@ -2,14 +2,14 @@
 ===================================================================
 --- logrotate-3.8.5.orig/logrotate.8   2013-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
+@@ -121,6 +121,10 @@
  anywhere in the config file as long as the first non-whitespace
- character on the line is a #.
+ character on the line is a \fB#\fR.
  
 +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
+ The next section of the config file defines 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to