imported the newsyslog command from NetBSD - it make the "rotation" of the logfiles much simpler (it is currently done by "hand" in the /etc/[daily,weekly,monthly] scripts) - now it will be done by invoking newsyslog every hour which is very customizable via a /etc/newsyslog.conf file
16 lines
299 B
Makefile
16 lines
299 B
Makefile
# $Id: Makefile,v 1.6 1994/12/22 12:30:26 cgd Exp $
|
|
|
|
PROG= newsyslog
|
|
|
|
CFLAGS+= -DOSF
|
|
CFLAGS+= -DCONF=\"/etc/newsyslog.conf\"
|
|
CFLAGS+= -DPIDFILE=\"/var/run/syslog.pid\"
|
|
CFLAGS+= -DCOMPRESS=\"/usr/bin/gzip\"
|
|
CFLAGS+= -DCOMPRESS_POSTFIX=\".gz\"
|
|
|
|
BINOWN= root
|
|
|
|
MAN8= newsyslog.8
|
|
|
|
.include <bsd.prog.mk>
|