summaryrefslogtreecommitdiffstats
path: root/games/yamsweeper
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-04-27 21:04:41 +0000
committerkris <kris@FreeBSD.org>2000-04-27 21:04:41 +0000
commita3e45445b09919cb6e34fdbe87826d1bfbed9d9d (patch)
tree7ea5263d254cbda886ba663c370535e2cbc9a7b7 /games/yamsweeper
parente5f2889a8eb20a8233748522054f5b64f71a1b3e (diff)
downloadFreeBSD-ports-a3e45445b09919cb6e34fdbe87826d1bfbed9d9d.zip
FreeBSD-ports-a3e45445b09919cb6e34fdbe87826d1bfbed9d9d.tar.gz
Install setgid root:games, not setuid games
Submitted by: Brock Tellier <btellier@usa.net>
Diffstat (limited to 'games/yamsweeper')
-rw-r--r--games/yamsweeper/files/Imakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/yamsweeper/files/Imakefile b/games/yamsweeper/files/Imakefile
index 309fd71..bc90d80 100644
--- a/games/yamsweeper/files/Imakefile
+++ b/games/yamsweeper/files/Imakefile
@@ -21,8 +21,8 @@ OBJS = $(SRCS:.c=.o)
YAMSDIR = $(LIBDIR)/yamsweeper
LOGFILE = $(YAMSDIR)/yams.log
SCRFILE = $(YAMSDIR)/yams.hi
-OWNER = games
-GROUP = bin
+OWNER = root
+GROUP = games
DEFINES = '-DLOGFILE="$(LOGFILE)"' -DLOG_USER=cppLogUser \ @@\
-DHAS_RANDOM=1 -DNO_FD_SET=0 \ @@\
@@ -47,7 +47,7 @@ InstallManPage(yamsweeper,$(MANDIR))
install::
chown $(OWNER).$(GROUP) $(BINDIR)/yamsweeper
- chmod 4755 $(BINDIR)/yamsweeper
+ chmod 2755 $(BINDIR)/yamsweeper
#if cppLogUser
@@ -56,7 +56,7 @@ install::
chown $(OWNER).$(GROUP) $(YAMSDIR)
touch $(LOGFILE)
chown $(OWNER).$(GROUP) $(LOGFILE)
- chmod 644 $(LOGFILE)
+ chmod 664 $(LOGFILE)
#endif /* cppLogUser */
#if cppHighScore
@@ -65,7 +65,7 @@ install::
chown $(OWNER).$(GROUP) $(YAMSDIR)
touch $(SCRFILE)
chown $(OWNER).$(GROUP) $(SCRFILE)
- chmod 644 $(SCRFILE)
+ chmod 664 $(SCRFILE)
#endif
#else /* cppLogUser || cppHighScore */
OpenPOWER on IntegriCloud