freebsd-ports/sysutils/cronolog-devel/Makefile
Beech Rintoul 9c0ebd86db New port, cronolog-devel
"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.

"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

WWW: http://cronolog.org/

PR:		ports/152794
Submitted by:	Jason Helfman <jhelfman at experts-exchange.com>
Approved by:	itetcu (mentor) (implicit)
2010-12-28 20:16:19 +00:00

29 lines
671 B
Makefile

# New ports collection makefile for: cronolog-beta
# Date created: 10 November 2010
# Whom: Jason Helfman <jhelfman@experts-exchange.com>
#
# $FreeBSD$
#
PORTNAME= cronolog
PORTVERSION= 1.7.0
CATEGORIES= sysutils
MASTER_SITES= http://cronolog.org/patches/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${PORTVERSION}-beta
MAINTAINER= jhelfman@experts-exchange.com
COMMENT= A web log rotation utility that provides datestamp filenames
PLIST_FILES= sbin/cronolog \
sbin/cronosplit
CONFLICTS= cronolog-[0-9]*
WRKSRC= ${WRKDIR}/cronolog-${PORTVERSION}
INFO= cronolog
MAN1= cronolog.1m cronosplit.1m
GNU_CONFIGURE= yes
.include <bsd.port.mk>