看板 DFBSD_bugs 關於我們 聯絡資訊
:[This problem has originally been pointed out in Miyamoto-san's (Cc:'ed) :web diary, but he seemed to have no time to track this down or submit :the report to bugs@] : :Recently, cu(1) has been replaced by tip(1). However, since cu is installed :with schg set on older system, creating a hard link from tip to cu is :refused and install fails. Looking at other Makefile's, removing schg in :beforeinstall target seems to solve the problem. : :Index: usr.bin/tip/tip/Makefile :=================================================================== :RCS file: /home/source/dragonfly/cvs/src/usr.bin/tip/tip/Makefile,v :retrieving revision 1.3 :diff -u -r1.3 Makefile :--- usr.bin/tip/tip/Makefile 3 Sep 2004 20:48:16 -0000 1.3 :+++ usr.bin/tip/tip/Makefile 9 Sep 2004 05:25:04 -0000 :@@ -33,4 +33,7 @@ : # 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. : :+beforeinstall: :+ chflags noschg ${DESTDIR}${BINDIR}/cu || true :+ : .include <bsd.prog.mk> Ok, I've committed this with some minor comment rearrangement/additions. Good catch! -Matt Matthew Dillon <dillon@backplane.com>