SHA256
1
0
forked from pool/logrotate

Accepting request 635479 from Base:System

- Rebase the logrotate-3.13.0-systemd_add_home_env.patch to be
  unified patch again

- Use noun phrase. Trim filler wording from description.
  Add a note that it is unrelated to journald.

- 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

OBS-URL: https://build.opensuse.org/request/show/635479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=60
This commit is contained in:
Yuchen Lin 2018-09-20 09:40:25 +00:00 committed by Git OBS Bridge
commit 6740e48891
5 changed files with 46 additions and 14 deletions

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3222ca032f99be8d7a4a8c6ad69f3dcc49b9511bfe384bd5a271ebcd9bd3e52c
size 154900

3
logrotate-3.14.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4703bdc0e2df3b322f9dff0aafc99aa9172c9e4acae28b7c924cc7d4e5b29d55
size 155988

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Thu Sep 13 08:13:52 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <jengelh@inai.de>
- 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 - liedke@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
-------------------------------------------------------------------
Thu Jun 7 09:51:50 UTC 2018 - kstreitova@suse.com

View File

@ -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 @@ Requires: xz
%{?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