Install the wb0 binary setuid root, not setuid root + setgid wheel

This commit is contained in:
Kris Kennaway 2003-04-19 23:13:28 +00:00
parent 3b055139d1
commit 4a580e3e86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79320

View file

@ -1,5 +1,5 @@
--- Makefile.orig Mon Dec 6 00:45:08 1999
+++ Makefile Wed Jan 31 14:58:33 2001
+++ Makefile Sat Apr 19 16:12:07 2003
@@ -1,16 +1,17 @@
-
-CFLAGS=-O2 -Wall -fomit-frame-pointer -malign-functions=0
@ -23,7 +23,7 @@
+ cp ./etc/wb0/wb0.config ${PREFIX}/etc/
+ cp ./data/* ${PREFIX}/share/wb0/
+ echo "path ${PREFIX}/share/wb0/" >>${PREFIX}/etc/wb0.config
+ chmod a+s ${PREFIX}/bin/wb0
+ chmod u+s ${PREFIX}/bin/wb0
+ chown root:wheel ${LOCALBASE}/bin/wb0
pkfont: pkfont.c