aboutsummaryrefslogtreecommitdiffstats
path: root/games/crossfire
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-11 14:23:33 +0800
committerkris <kris@FreeBSD.org>2000-03-11 14:23:33 +0800
commit30b38cc747945abc041b3736ed88500efb24df8e (patch)
treea431bafe644c43aa0400f29289a53d4416c8312a /games/crossfire
parent12c0a316362339f477968755e0c92a17d4fad598 (diff)
downloadfreebsd-ports-gnome-30b38cc747945abc041b3736ed88500efb24df8e.tar.gz
freebsd-ports-gnome-30b38cc747945abc041b3736ed88500efb24df8e.tar.zst
freebsd-ports-gnome-30b38cc747945abc041b3736ed88500efb24df8e.zip
Install this setgid games, not setuid games. This is untested, but it's
better to ship a broken port in 4.0 than an insecure one.
Diffstat (limited to 'games/crossfire')
-rw-r--r--games/crossfire/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/crossfire/Makefile b/games/crossfire/Makefile
index 98fe3fcd60dc..c0102c1d6a07 100644
--- a/games/crossfire/Makefile
+++ b/games/crossfire/Makefile
@@ -70,10 +70,10 @@ post-install:
@${CHMOD} 664 ${CFDIR}/lib/forbid
@${TOUCH} ${CFDIR}/lib/players/.keep_me
@${TOUCH} ${CFDIR}/lib/unique-items/.keep_me
- @${CHOWN} -R games.games ${CFDIR}
+ @${CHOWN} -R root.games ${CFDIR}
@${CHMOD} 0664 ${CFDIR}/lib/highscore
- @${CHOWN} games.games ${PREFIX}/bin/crossfire
- @${CHMOD} 6555 ${PREFIX}/bin/crossfire
+ @${CHOWN} root.games ${PREFIX}/bin/crossfire
+ @${CHMOD} 2555 ${PREFIX}/bin/crossfire
${ECHO} "Note: to start crossfire in clientmode"
${ECHO} " crossfire -xpm"
${ECHO} "Note: don't forget to update ${PREFIX}/etc/rplay.conf"