summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-09 08:33:08 +0000
committerkris <kris@FreeBSD.org>2000-03-09 08:33:08 +0000
commit6ec200b5141452c354d720726a0ebfbbab615254 (patch)
treeb2c708d148bb533c55777dc343be2ed30f2b8adc
parent8ef0fbd9cfc9dffa70ffbe8c4d74126e43c4f216 (diff)
downloadFreeBSD-ports-6ec200b5141452c354d720726a0ebfbbab615254.zip
FreeBSD-ports-6ec200b5141452c354d720726a0ebfbbab615254.tar.gz
Remove setuid root from a file which should not have had it. Clean up
the install target a bit while I'm here.
-rw-r--r--misc/orville-write/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/misc/orville-write/Makefile b/misc/orville-write/Makefile
index 1de9f18..5c1d829 100644
--- a/misc/orville-write/Makefile
+++ b/misc/orville-write/Makefile
@@ -21,17 +21,17 @@ post-patch:
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_SCRIPT} -g tty -o root -m 6711 ${WRKSRC}/write ${PREFIX}/bin
- ${INSTALL_SCRIPT} -o root -m 4711 ${WRKSRC}/mesg ${PREFIX}/bin
- ${INSTALL_SCRIPT} -o root -m 4711 ${WRKSRC}/amin ${PREFIX}/bin
- ${INSTALL_SCRIPT} -o root -m 4711 ${WRKSRC}/huh ${PREFIX}/bin
- ${INSTALL_SCRIPT} -o root -m 4711 ${WRKSRC}/helpers ${PREFIX}/bin
- ${INSTALL_SCRIPT} -g tty -o root -m 6711 ${WRKSRC}/write ${PREFIX}/bin/tel
- ${INSTALL_SCRIPT} -g tty -o root -m 6711 ${WRKSRC}/write ${PREFIX}/bin/chat
+ ${INSTALL_PROGRAM} -g tty -o root -m 6711 ${WRKSRC}/write ${PREFIX}/bin
+ ${LN} -sf ${PREFIX}/bin/write ${PREFIX}/bin/tel
+ ${LN} -sf ${PREFIX}/bin/write ${PREFIX}/bin/chat
+ ${INSTALL_PROGRAM} -o root -m 4711 ${WRKSRC}/mesg ${PREFIX}/bin
+ ${INSTALL_PROGRAM} -o root -m 4711 ${WRKSRC}/amin ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/huh ${PREFIX}/bin
+ ${INSTALL_PROGRAM} -o root -m 4711 ${WRKSRC}/helpers ${PREFIX}/bin
${TOUCH} /var/run/wrttmp
${TOUCH} /var/run/wrthist
${TOUCH} /var/log/writelog
- ${INSTALL_SCRIPT} ${WRKSRC}/wrttab ${PREFIX}/etc/wrttab
+ ${INSTALL_DATA} ${WRKSRC}/wrttab ${PREFIX}/etc/wrttab
.for f in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man1/
.endfor
OpenPOWER on IntegriCloud