logrotate: update to 3.22.0.

This commit is contained in:
Andrew J. Hesford 2024-08-09 14:29:41 -04:00
parent 8d0bfcf1d2
commit 6f37533b4f
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'logrotate'
pkgname=logrotate
version=3.21.0
version=3.22.0
revision=1
build_style=gnu-configure
makedepends="acl-devel popt-devel"
@ -10,9 +10,14 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/logrotate/logrotate"
distfiles="${homepage}/releases/download/${version}/logrotate-${version}.tar.xz"
checksum=8fa12015e3b8415c121fc9c0ca53aa872f7b0702f543afda7e32b6c4900f6516
checksum=42b4080ee99c9fb6a7d12d8e787637d057a635194e25971997eebbe8d5e57618
make_dirs="/etc/logrotate.d 0755 root root"
pre_check() {
# Test 110 fails with undefined users in the xbps-src environment
vsed -i -e '1a exec true' test/test-0110.sh
}
post_install() {
vconf ${FILESDIR}/logrotate.conf
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate