PN: logrotate
PV: 3.22.0
PR: r0
PKGV: 3.22.0
PKGR: r0@EXTENDPRAUTO@
LICENSE: GPL-2.0-only
DESCRIPTION: The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files.
SUMMARY: Rotates, compresses, removes and mails system log files
RDEPENDS:logrotate: glibc (>= 2.42+git0+d2097651cc) popt (>= 1.19)
SECTION: console/utils
PKG:logrotate: logrotate
FILES:logrotate: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib/*.so.*             /lib/udev /usr/lib/udev             /usr/lib/udev /usr/lib/udev             /usr/share/logrotate /usr/lib/logrotate/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /usr/lib/systemd/system-preset/98-logrotate.preset /usr/lib/systemd/system/logrotate.service /usr/lib/systemd/system/logrotate.timer
CONFFILES:logrotate:  /var/lib/logrotate.status                     /etc/logrotate.conf                     /etc/logrotate.d/btmp                     /etc/logrotate.d/wtmp
FILES_INFO:logrotate: {"/etc/logrotate.conf": 493, "/etc/logrotate.d/btmp": 130, "/etc/logrotate.d/wtmp": 145, "/usr/lib/systemd/system-preset/98-logrotate.preset": 48, "/usr/lib/systemd/system/logrotate.service": 870, "/usr/lib/systemd/system/logrotate.timer": 198, "/usr/sbin/logrotate": 71572}
pkg_postinst:logrotate: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in logrotate.service logrotate.timer; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\n\t\tfor service in ; do\n\t\t\tsystemctl --global ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\t# Reload only system service manager\n\t\t# --global for daemon-reload is not supported: https://github.com/systemd/systemd/issues/19284\n\t\tsystemctl daemon-reload\n\t\t[ -n "logrotate.service logrotate.timer" ] && \\\n\t\t\tsystemctl preset logrotate.service logrotate.timer\n\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global preset \n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\t# --global flag for restart is not supported by systemd (see above)\n\t\t\t[ -n "logrotate.service logrotate.timer" ] && \\\n\t\t\t\tsystemctl --no-block restart logrotate.service logrotate.timer\n\t\tfi\n\tfi\nfi\n
pkg_prerm:logrotate: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tif [ -n "logrotate.service logrotate.timer" ]; then\n\t\t\tsystemctl stop logrotate.service logrotate.timer\n\t\t\tsystemctl disable logrotate.service logrotate.timer\n\t\tfi\n\n\t\t# same as above, --global flag is not supported for stop so do disable only\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global disable \n\tfi\nfi\n
FILERDEPENDSFLIST:logrotate: /usr/sbin/logrotate
FILERDEPENDS:/usr/sbin/logrotate:logrotate:  libpopt.so.0(LIBPOPT_0) libc.so.6(GLIBC_2.6) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.27) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.26) libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.4) libpopt.so.0 libc.so.6 rtld(GNU_HASH)
PKGSIZE:logrotate: 73456
