summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-11-26 23:13:33 +0000
committermarkm <markm@FreeBSD.org>2001-11-26 23:13:33 +0000
commit1ab9cf7b4b33fdb915f3026de7fe5fc36c2acc1c (patch)
treee60824314a08457b705b98577fd215b2ff9d37b7 /usr.bin/tip
parente7b48738c993a2e7737c51563dfa01d1d8e88450 (diff)
downloadFreeBSD-src-1ab9cf7b4b33fdb915f3026de7fe5fc36c2acc1c.zip
FreeBSD-src-1ab9cf7b4b33fdb915f3026de7fe5fc36c2acc1c.tar.gz
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).
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/tip/Makefile9
1 files changed, 7 insertions, 2 deletions
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 <bsd.prog.mk>
OpenPOWER on IntegriCloud