Commit Graph

19 Commits

Author SHA1 Message Date
Matthias Fischer
99516d5836 logrotate: Update to 3.20.1
For details since v3.18.0 see:
https://github.com/logrotate/logrotate/releases/tag/3.20.1
https://github.com/logrotate/logrotate/releases/tag/3.20.0
https://github.com/logrotate/logrotate/releases/tag/3.19.0

logrotate-3.20.1

    drop world-readable permission on state file even when ACLs are enabled (#446)

logrotate-3.20.0

    fix potential DoS from unprivileged users via the state file (CVE-2022-1348)
    fix a misleading debug message with copytruncate and rotate 0 (#443)
    add support for unsigned time_t (#438)
    do not lock state file /dev/null (#433)

logrotate-3.19.0

    continue on EINTR in compressLogFile() (#430)
    enforce stricter parsing of configuration files (#427, #431)
    avoid confusing error message in debug mode (#426)
    fix full_write() on incomplete write (#415)
    do not use alloca() any more (#412)
    do not rotate hard links unless allowhardlink is used (#407)
    change directory after dropping privileges (#397)
    add defence in depth when dropping privileges (#400)
    remove invalid configuration on error (#408)
    do not open symbolic link log files by accident (#399)
    do not write state if state file is /dev/null (#395)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-30 19:13:56 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Matthias Fischer
9f2779d71c logrotate: Update to 3.18.0
Exerpt from 'ChangeLog.md':

"## [3.18.0] - 2021-01-08
  - allow UIDs and GIDs to be specified numerically (#217)
  - add support for Zstandard compressed files (#355)
  - make `delaycompress` not to fail with `rotate 0` (#341)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-18 13:06:08 +00:00
Matthias Fischer
62e68ad323 logrotate: Update to 3.17.0
For details see:
https://github.com/logrotate/logrotate/releases/tag/3.17.0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-17 10:09:17 +00:00
Michael Tremer
2e6ebb30fc logrotate: Fix build with GCC 10
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-16 10:29:42 +00:00
Matthias Fischer
9f1c19a5db logrotate: Update to 3.5.1
For details see:
https://github.com/logrotate/logrotate/releases

"use correct create mode in examples/btmp (#257)"
=> https://github.com/logrotate/logrotate/pull/257

"fix several bugs found by fuzzing (#254)"
=> https://github.com/logrotate/logrotate/issues/254

"do not abort globbing on a broken symlink (#251)"
=> https://github.com/logrotate/logrotate/issues/251

"rearrange logrotate.8 man page to improve readability (#248)"
=> https://github.com/logrotate/logrotate/pull/248

"encourage admins to use the su directive in logrotate.8 man page (#236)"
=> https://github.com/logrotate/logrotate/pull/236

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-09-11 16:55:56 +00:00
Matthias Fischer
6f1aa31f01 logrotate: Update to 3.15
For details see:
https://github.com/logrotate/logrotate/releases

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

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-01-21 10:20:12 +00:00
Matthias Fischer
399c2f9ccc logrotate: Update to 3.14.0
For details see:
https://github.com/logrotate/logrotate/releases

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-03-18 13:44:27 +00:00
Matthias Fischer
5ed7bbd52f logrotate: Update to 3.13.0
For details see:
https://github.com/logrotate/logrotate/releases

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-16 19:19:39 +01:00
Michael Tremer
4f4f5bbbfd logrotate: Fix source tarball checksum
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-08-15 12:02:12 +01:00
Matthias Fischer
9accc1c76e logrotate: Update to 3.12.3
For details see:
https://github.com/logrotate/logrotate/releases

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-08-15 11:50:17 +01:00
Matthias Fischer
3d5c499e0c logrotate: Update to 3.12.1
For details see:
https://github.com/logrotate/logrotate/blob/master/ChangeLog.md

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-28 13:04:19 +01:00
Matthias Fischer
5d1dac2d8c logrotate: Update to 3.9.1
For details see:
https://fedorahosted.org/logrotate/browser/tags/r3-9-1/CHANGES

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-02 12:20:30 +00:00
Michael Tremer
07f0e777f0 Merge remote-tracking branch 'mfischer/logrotate' into next
Conflicts:
	config/rootfiles/common/logrotate
2015-03-16 18:01:39 +01:00
Michael Tremer
c460d5c25e logrotate: Fix an empty /etc/logrotate.d directory
Fixes #10625
2015-03-03 17:57:38 +01:00
Matthias Fischer
4acb9a1a9b logrotate: Update to 3.8.1 2014-12-14 00:46:13 +01:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
fe6d84cbb5 Zwischencommit fuer LFS. Noch zahlreiche Errors :(
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@323 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-14 21:10:36 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00