After some CVS surgery to remove an unwise commit, restore some

post-UUCP-removal stuff:

1) Link cu(1) to tip(1).
2) Force removal of system immutable bit. (Was needed by UUCP's
   insecure cu(1).
This commit is contained in:
Mark Murray 2001-11-26 23:13:33 +00:00
parent 94e8b5d221
commit 4398bb2f00
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86924

View File

@ -17,8 +17,9 @@ LIBACU=${.CURDIR}/../libacu/libacu.a
PROG= tip
DPADD= ${LIBACU} ${LIBUTIL}
LDADD= ${LIBACU} -lutil
LINKS= ${BINDIR}/tip
LINKS= ${BINDIR}/tip ${BINDIR}/cu
MAN= tip.1 modems.5
MLINKS= tip.1 cu.1
SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
remote.c tip.c tipout.c value.c vars.c
@ -26,9 +27,13 @@ BINDIR?= /usr/bin
BINOWN= uucp
BINGRP= dialer
#BINMODE?= 4510
INSTALLFLAGS= -fschg
# XXX: there is some concern that `tip' in its current state shouldn't run
# SUID. If it believed it should, the mode above may still no be proper.
# Dirty, rotten hack. This can be removed when we are confident that there
# is no cu(1) with the schg-bit set.
beforeinstall:
-@chflags noschg ${DESTDIR}/${BINDIR}/cu
.include <bsd.prog.mk>