head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.48 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.46 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.44 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.42 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.40 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.38 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.36 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.34 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.32 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.30 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.28 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.26 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.24 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.22 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.20 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.18 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.16 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.14 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.12 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.10 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.8 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.6 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.4 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.2 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.5.0.6 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.28 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.24 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.22 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.20 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.18 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.16 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.14 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.12 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.10 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.8 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.4 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.3.0.8 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.6 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.4 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.24 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.22 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.20 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.18 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.16 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.14 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.12 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.10 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.8 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.6 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.2 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.1.1.1.0.8 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.6 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.4 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.2 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2020.04.21.17.01.43; author nils; state Exp; branches; next 1.5; commitid TFXVnJI3QlmV1h5C; 1.5 date 2017.03.06.12.59.53; author fhajny; state Exp; branches; next 1.4; commitid WM9HHskLC55truIz; 1.4 date 2017.01.26.20.12.32; author nils; state Exp; branches; next 1.3; commitid 9NP5BdT3c9cT3wDz; 1.3 date 2016.02.24.20.50.29; author nils; state Exp; branches; next 1.2; commitid 83zV2enptGXR7dWy; 1.2 date 2013.01.10.18.16.29; author wiz; state Exp; branches; next 1.1; 1.1 date 2012.03.06.04.53.24; author sbd; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.03.06.04.53.24; author sbd; state Exp; branches; next ; desc @@ 1.6 log @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. @ text @@@comment $NetBSD$ man/man5/logrotate.conf.5 man/man8/logrotate.8 sbin/logrotate share/examples/logrotate/btmp share/examples/logrotate/logrotate.conf share/examples/logrotate/logrotate.cron share/examples/logrotate/logrotate.service share/examples/logrotate/wtmp @ 1.5 log @* 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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2017/01/26 20:12:32 nils Exp $ d5 1 d8 2 @ 1.4 log @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. @ text @d1 1 a1 1 @@comment $NetBSD$ a4 5 share/doc/logrotate/COPYING share/doc/logrotate/ChangeLog.md share/doc/logrotate/README.HPUX share/doc/logrotate/README.Solaris share/doc/logrotate/README.md a6 1 @@pkgdir etc/logrotate.d @ 1.3 log @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) @ text @a4 1 share/doc/logrotate/CHANGES d6 1 d12 1 @ 1.2 log @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 @ text @d9 1 @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @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. @ text @@