From 1ab9cf7b4b33fdb915f3026de7fe5fc36c2acc1c Mon Sep 17 00:00:00 2001 From: markm Date: Mon, 26 Nov 2001 23:13:33 +0000 Subject: 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). --- usr.bin/tip/tip/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.bin/tip') diff --git a/usr.bin/tip/tip/Makefile b/usr.bin/tip/tip/Makefile index 5b67c36..fb2bf93 100644 --- a/usr.bin/tip/tip/Makefile +++ b/usr.bin/tip/tip/Makefile @@ -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 -- cgit v1.1