Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (1h)  pkgsrc-2024Q1 (20d)  pkgsrc-2023Q4 (67d)  pkgsrc-2023Q2 (99d)  pkgsrc-2023Q3 (179d) 

2024-06-06 22:42:58 UTC Now

2023-04-23 17:18:39 UTC MAIN commitmail json YAML

Update logrotate to version 3.21.0.

Pkgsrc changes:
* Updated logrotate.conf patch following a fix (typo) from the project ;
* Update checksums.

Upstream changes:
* logrotate-3.18.1 :
    - fix memory leaks on error-handling paths
    - make renamecopy and copytruncate override each other
    - improve error handling in the parser of configuration files
    - improve user experience for non-privileged users of logrotate
* logrotate-3.19.0 :
    - continue on EINTR in compressLogFile()
    - enforce stricter parsing of configuration files
    - avoid confusing error message in debug mode
    - fix full_write() on incomplete write
    - do not use alloca() any more
    - do not rotate hard links unless allowhardlink is used
    - change directory after dropping privileges
    - add defence in depth when dropping privileges
    - remove invalid configuration on error
    - do not open symbolic link log files by accident
    - do not write state if state file is /dev/null
* 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
    - add support for unsigned time_t
    - do not lock state file /dev/null
* logrotate-3.20.1 :
    - drop world-readable permission on state file even when ACLs are enabled
* logrotate-3.21.0 :
    - add ignoreduplicates directive to allow duplicate file matches
    - add --wait-for-state-lock option to wait for lock on the state file
    - avoid failure when an anonymous non-privileged user runs logrotate
    - support home dir expansion in olddir
    - reduce unnecessary rename operations with start N where N > 1
    - unify handling of log levels
    - do not print error: when exit code is unaffected

(nils)