summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorwiz <wiz>2012-07-09 15:48:13 +0000
committerwiz <wiz>2012-07-09 15:48:13 +0000
commit5da9a6c65f7fe9e5cc6465e4a87044fafe1d3347 (patch)
tree85630b2c085019b11a00e9e226d105b487ab4783 /doc/guide
parent89bff1272abe03ec1a0f867c463a8d2b25dca1cf (diff)
downloadpkgsrc-5da9a6c65f7fe9e5cc6465e4a87044fafe1d3347.tar.gz
Update documentation on how to handle setgid and games.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/fixes.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index ca487d70df3..17f9c509ae8 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.108 2012/05/26 22:13:25 wiz Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.109 2012/07/09 15:48:13 wiz Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -1312,16 +1312,13 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
a score file that allows all users on the system to record their
highscores. In order for this to work, the binaries need to be
installed setgid and the score files owned by the appropriate
- group and/or owner (traditionally the "games" user/group). The
+ group and/or owner (traditionally the "games" user/group). Set
+ <varname>USE_GAMESGROUP</varname> to yes to support this. The
following variables, documented in more detail in
<filename>mk/defaults/mk.conf</filename>, control this
- behaviour: <varname>SETGIDGAME</varname>,
- <varname>GAMEDATAMODE</varname>, <varname>GAMEGRP</varname>,
- <varname>GAMEMODE</varname>, <varname>GAMEOWN</varname>.</para>
-
- <para>Note that per default, setgid installation of games is
- disabled; setting <varname>SETGIDGAME=YES</varname> will set all
- the other variables accordingly.</para>
+ behaviour: <varname>GAMEDATAMODE</varname>,
+ <varname>GAMEDIRMODE</varname>, <varname>GAMES_GROUP</varname>,
+ <varname>GAMEMODE</varname>, <varname>GAME_USER</varname>.</para>
<para>A package should therefore never hard code file ownership or
access permissions but rely on <varname>INSTALL_GAME</varname> and