8d9310c604
Changelogs: https://github.com/logrotate/logrotate/releases/tag/3.14.0 https://github.com/logrotate/logrotate/releases/tag/3.15.0 https://github.com/logrotate/logrotate/releases/tag/3.15.1 https://github.com/logrotate/logrotate/releases/tag/3.16.0 https://github.com/logrotate/logrotate/releases/tag/3.17.0 https://github.com/logrotate/logrotate/releases/tag/3.18.0 https://github.com/logrotate/logrotate/releases/tag/3.18.1 https://github.com/logrotate/logrotate/releases/tag/3.19.0 https://github.com/logrotate/logrotate/releases/tag/3.20.0 https://github.com/logrotate/logrotate/releases/tag/3.20.1 https://github.com/logrotate/logrotate/releases/tag/3.21.0 https://github.com/logrotate/logrotate/releases/tag/3.22.0 Improve port: - Switch from USE_GITHUB to tarball from upstream. - Use SUB_FILES+INSTALL_DATA for logrotate.conf.sample instead of SED. - Merge MKDIRs. - Remove upstreamed patches. PR: 293024 Approved by: js@iksz.hu (maintainer, timeout 15 days)
31 lines
934 B
Makefile
31 lines
934 B
Makefile
PORTNAME= logrotate
|
|
DISTVERSION= 3.22.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
|
|
|
|
MAINTAINER= js@iksz.hu
|
|
COMMENT= Daemon to rotate, compress, remove, and mail system log files
|
|
WWW= https://github.com/logrotate/logrotate/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpopt.so:devel/popt
|
|
|
|
USES= cpe gmake localbase tar:xz
|
|
CPE_VENDOR= logrotate_project
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
SUB_FILES= logrotate.conf.sample
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKDIR}/logrotate.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc/logrotate.conf.sample
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}.d \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/syslog.sample ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|