diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile index c95ee7c41f11..352ebd641329 100644 --- a/sysutils/logrotate/Makefile +++ b/sysutils/logrotate/Makefile @@ -1,32 +1,31 @@ PORTNAME= logrotate PORTVERSION= 3.13.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= js@iksz.hu COMMENT= Daemon to rotate, compress, remove, and mail system log files LICENSE= GPLv2 LIB_DEPENDS= libpopt.so:devel/popt USE_GITHUB= yes PATCH_STRIP= -p1 USES= autoreconf cpe gmake localbase CPE_VENDOR= logrotate_project GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-default-mail-command=/usr/bin/mailx \ --with-compress-command=/usr/bin/gzip \ --with-uncompress-command=/usr/bin/gunzip \ --with-state-file-path=/var/run/logrotate.status post-install: ${SED} -e 's|__PREFIX__|${PREFIX}|' \ < ${FILESDIR}/logrotate.conf.sample > ${STAGEDIR}${PREFIX}/etc/logrotate.conf.sample ${MKDIR} ${STAGEDIR}${ETCDIR}.d ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/syslog.sample ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/sysutils/logrotate/files/logrotate.conf.sample b/sysutils/logrotate/files/logrotate.conf.sample index 4fe2a86064cd..0d6f5c2d18d8 100644 --- a/sysutils/logrotate/files/logrotate.conf.sample +++ b/sysutils/logrotate/files/logrotate.conf.sample @@ -1,22 +1,23 @@ # see "man logrotate" for details # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 4 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed compress # RPM packages drop log rotation information into this directory include __PREFIX__/etc/logrotate.d /var/log/lastlog { monthly rotate 1 + missingok } # system-specific logs may be configured here