Up to [cvs.NetBSD.org] / pkgsrc / sysutils / logrotate
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update sysutils/logroate to 3.16.0. Upstream changelog: * 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) Pkgsrc changes: * a systemd example service file is added to the examples; * a btmp and wtmp example configurations files are also added, but only btmp is copied alongside logrotate.conf: while the 2 config files were at first present in logrotate.conf, only btmp is present on NetBSD ; * the GITHUB_RELEASE variable is moved for pkglint compliance.
* Fix compilation with GCC, based on https://github.com/joyent/pkgsrc/pull/470. * Use proper Github support, use tagged releases. * Use upstream install target. * Cleanup and legibility.
Updated to version 3.11.0. Upstream Changelog : - Add taboopat configuration directive to exclude configuration files based on globing patterns. - Allow to change default state path at build time (via the --with-state-file-path option of the configure script). - Automatically determine resulting file suffix based on the compression program in use. - Preserve SELinux context with compress and sharedscripts properly. - Rename already existing output files to avoid collisions. - Import systemd service and timer for logrotate from openSUSE. - Introduce the addextension configuration directive. - Create CONTRIBUTING.md with instructions for logrotate contributors. - Maintain ChangeLog.md instead of the legacy CHANGES file. - Make createolddir configuration directive preserve sticky bit. - Add minage configuration directive to specify minimum file age to rotate. - Avoid using local implementation of strndup() and asprintf() if these functions are available at build time. - Fix parsing of su directive to accept usernames starting with numeric symbols. - Make sure that 64-bit file offsets are used on 32-bit systems. Pkgsrc changes : - due to (not so) new compilation system, and recent changes for the manpage, patch-logrotate.8 is now unnecessary and removed ; - fixed compilation issue in config.c about libgen.h ; - updated existing patches to work with new version.
Updated to version 3.9.2. Changelog : 3.9.1 -> 3.9.2 - Upstream moved to GitHub: https://github.com/logrotate/logrotate. - Add support for %M, %S and %V in "dateext" directive. - Fix bad filename in subject of email when "compress" and "maillast" is used. - Allow rotating files created before 1996. - Fix compilation errors on NetBSD caused by "array subscript has type 'char' in config.c". - Fix matching subdirectories on BSD systems for patterns like "*/log" in situation where logrotate tried to match "foo/log" even when "foo" has not been a directory. - Fix logging dates in debug messages. - Remove state file entries for logs which do not exist and have not been rotated for more than a year. - Fix poor performance with big state file. - Support logging to syslog by using '-l syslog'. - Allow running test-suite using dash. Pkgsrc changes : - patch for Makefile.am removed thanks to fixes for compilation errors - however, some compilation errors with the same cause were still there, so a patch for config.c is neccessary (patch merged upstream, will be in next release)
Update to 3.8.2, from Nils Ratusznik via pkgsrc-wip.
Changes:
- 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
- fixed mail sending for 'mailfirst', 'dateext' and 'delaycompress' combination
- do not use gzip/gunzip from /usr/local on Solaris
- Do not include alloca.h on NetBSD, since alloca() is declared in stdlib.h there
Add logrotate-3.8.1 as sysutils/logrotate The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for 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 gets to a certain size. Normally, logrotate runs as a daily cron job.
Initial revision