diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-09 15:44:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-09 15:44:06 +0000 |
commit | aa9d37615ec397cb686c2832f8a906c96c3e41e6 (patch) | |
tree | 039f052917e2191cb4d7ce90732eae162042779f /mk/pkginstall | |
parent | cef5f6cbd0a0ee239ce4af0fb8030c4ca7269a2b (diff) | |
download | pkgsrc-aa9d37615ec397cb686c2832f8a906c96c3e41e6.tar.gz |
Move USE_GAMESGROUP and SETGIDGAME defaults out of mk.conf, where they
don't belong (package-setable, not user-setable).
Diffstat (limited to 'mk/pkginstall')
-rw-r--r-- | mk/pkginstall/bsd.pkginstall.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk index 0eea934ee72..9d45c2843da 100644 --- a/mk/pkginstall/bsd.pkginstall.mk +++ b/mk/pkginstall/bsd.pkginstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkginstall.mk,v 1.55 2011/09/08 20:17:16 abs Exp $ +# $NetBSD: bsd.pkginstall.mk,v 1.56 2012/07/09 15:44:06 wiz Exp $ # # This Makefile fragment is included by bsd.pkg.mk and implements the # common INSTALL/DEINSTALL scripts framework. To use the pkginstall @@ -203,9 +203,20 @@ _PKG_USER_SHELL?= ${NOLOGIN} FILES_SUBST+= PKG_USER_HOME=${_PKG_USER_HOME:Q} FILES_SUBST+= PKG_USER_SHELL=${_PKG_USER_SHELL:Q} +USE_GAMESGROUP?= no +SETGIDGAME?= ${USE_GAMESGROUP} # If USE_GAMESGROUP == yes, then we need the "games" group. # SETGIDGAME is a deprecated alias for USE_GAMESGROUP. # +# If USE_GAMESGROUP is set, GAMES_GROUP, GAMEMODE, SETGID_GAMES_PERMS, +# etc. variables can be used to install setgid games and their data +# files. +# +# SETGIDGAME is a deprecated alternative variable with the same +# purpose but a murky history and unclear semantics; it is being +# phased out because it conflicts with a like-named build variable in +# the NetBSD base system. +# # For now we also create the "games" user; this should not be used and # should be removed at some point. .if (defined(USE_GAMESGROUP) && !empty(USE_GAMESGROUP:M[yY][eE][sS])) ||\ |