diff --git a/sysutils/cronolog-devel/Makefile b/sysutils/cronolog-devel/Makefile index 663a05f945b8..b50fdd45040d 100644 --- a/sysutils/cronolog-devel/Makefile +++ b/sysutils/cronolog-devel/Makefile @@ -1,31 +1,30 @@ PORTNAME= cronolog PORTVERSION= 1.7.1 -PORTREVISION= 1 +PORTREVISION= 2 +DISTVERSIONSUFFIX= -beta CATEGORIES= sysutils MASTER_SITES= https://BSDforge.com/projects/source/sysutils/cronolog-devel/ PKGNAMESUFFIX= -devel -DISTNAME= ${PORTNAME}-${PORTVERSION}-beta MAINTAINER= portmaster@BSDforge.com COMMENT= Web log rotation utility that provides datestamp filenames WWW= https://BSDforge.com/projects/sysutils/cronolog-devel LICENSE= APACHE10 USES= shebangfix tar:xz -SHEBANG_FILES= src/cronosplit - -PLIST_FILES= sbin/cronolog \ - sbin/cronosplit \ - man/man1/cronolog.1m.gz \ - man/man1/cronosplit.1m.gz +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFLICTS= cronolog -WRKSRC= ${WRKDIR}/cronolog-${PORTVERSION} +SHEBANG_FILES= src/cronosplit +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} INFO= cronolog - -GNU_CONFIGURE= yes +PLIST_FILES= sbin/cronolog \ + sbin/cronosplit \ + share/man/man1/cronolog.1m.gz \ + share/man/man1/cronosplit.1m.gz .include diff --git a/sysutils/cronolog-devel/pkg-descr b/sysutils/cronolog-devel/pkg-descr index 328c9d8265e8..da896d6071ba 100644 --- a/sysutils/cronolog-devel/pkg-descr +++ b/sysutils/cronolog-devel/pkg-descr @@ -1,22 +1,22 @@ "cronolog" is a simple program that reads log messages from its input and writes them to a set of output files, the names of which are -constructed using template and the current date and time. +constructed using a template and the current date and time. "cronolog" is intended to be used in conjunction with a Web server, such as Apache to split the access log into daily or monthly logs. E.g.: TransferLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log" ErrorLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log" would instruct Apache to pipe its access and error log messages into separate copies of cronolog, which would create new log files each day in a directory hierarchy structured by date, i.e. on 31 December 1996 messages would be written to: /www/logs/1996/12/31/access.log /www/logs/1996/12/31/errors.log After midnight the following files would be used: /www/logs/1997/01/01/access.log /www/logs/1997/01/01/errors.log