summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-08-11 06:00:24 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-08-11 06:00:24 +0000
commitb621cd3ba08e5977e3347350ded0f62ba5856d08 (patch)
tree5a747389275925ade76b45c2a8804b327d45e960 /games
parentThis port installs 88 setuid root binaries. That cannot be correct; (diff)
This port should be installing things setgid games, not setuid games.
Make the change but mark the port FORBIDDEN because it probably needs to be able to write to some of the files/directories it installs, and so won't work with this change. I'll let the maintainer fix that.
Notes
Notes: svn path=/head/; revision=46059
Diffstat (limited to 'games')
-rw-r--r--games/fsgs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/fsgs/Makefile b/games/fsgs/Makefile
index 0c4fa85f390e..9eecb9682362 100644
--- a/games/fsgs/Makefile
+++ b/games/fsgs/Makefile
@@ -13,14 +13,16 @@ DISTFILES= fsgs07126bsd.tgz fsgs0721lx.tgz
MAINTAINER= dburr@FreeBSD.ORG
+FORBIDDEN= "Some data files probably need to be made group-writable"
+
NO_BUILD= yes
do-install:
${CP} -Rp ${WRKDIR}/opt/fsgs ${PREFIX}/fsgs
${CP} ${WRKDIR}/release/fsgs ${PREFIX}/fsgs/fsgs
${CP} ${WRKDIR}/release/fsgs_static ${PREFIX}/fsgs/fsgs_static
- ${CHOWN} -R games:games ${PREFIX}/fsgs
- ${CHMOD} 4711 ${PREFIX}/fsgs/fsgs ${PREFIX}/fsgs/fsgs_static
+ ${CHOWN} -R root:games ${PREFIX}/fsgs
+ ${CHMOD} 2711 ${PREFIX}/fsgs/fsgs ${PREFIX}/fsgs/fsgs_static
${INSTALL_SCRIPT} ${FILESDIR}/fsgs.sh ${PREFIX}/etc/rc.d/fsgs.sh
@${CAT} ${PKGMESSAGE}