aa38c6724d
1) correct MAX_PID according to system definition. 2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence. 3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for host and MAXPATHLEN for filenames. 4) call execl with correct parameters (compress -> gzip).
17 lines
347 B
Makefile
17 lines
347 B
Makefile
# $Id: Makefile,v 1.1.1.1 1996/01/05 09:28:11 graichen Exp $
|
|
|
|
PROG= newsyslog
|
|
|
|
CFLAGS+= -DOSF
|
|
CFLAGS+= -DCONF=\"/etc/newsyslog.conf\"
|
|
CFLAGS+= -DPIDFILE=\"/var/run/syslog.pid\"
|
|
CFLAGS+= -DCOMPRESS_PATH=\"/usr/bin/gzip\"
|
|
CFLAGS+= -DCOMPRESS_PROG=\"gzip\"
|
|
CFLAGS+= -DCOMPRESS_POSTFIX=\".gz\"
|
|
|
|
BINOWN= root
|
|
|
|
MAN8= newsyslog.8
|
|
|
|
.include <bsd.prog.mk>
|