freebsd-dev/usr.sbin/lpr/common_source/Makefile
Garance A Drosehn 442e0eaf20 Change lpd to perform sanity and safety checks on control files as it
receives them from other hosts.  This is meant to protect from both
nefarious users (which maybe broke into some remote host that we accept
print jobs from), and broken implementations of lpr on other platforms.
This is done by changing recvjob.c to call the new ctl_renametf()
routine in the new common_source/ctlinfo.[ch] files.  This will not
affect jobs coming via lpr on the local machine.

Reviewed by:	freebsd-print@bostonradio.org & freebsd-audit
MFC after:	16 days
2001-07-15 05:29:38 +00:00

19 lines
404 B
Makefile

# $FreeBSD$
#
# Library of internal routines for the print spooler suite.
# Originally these were compiled separately into each program,
# but the library makes it much easier to modularize them.
#
LIB= lpr
SRCS= common.c ctlinfo.c displayq.c net.c printcap.c request.c \
rmjob.c startdaemon.c
NOMAN= noman
NOPROFILE= noprofile
NOPIC= nopic
CFLAGS+= ${CWARNFLAGS}
install:
.include <bsd.lib.mk>