summaryrefslogtreecommitdiff
path: root/mk/defs.Linux.mk
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-05-12 14:10:18 +0000
committerjschauma <jschauma>2004-05-12 14:10:18 +0000
commit61c1448747eb496be813f3f4c5a60f8e85ddb494 (patch)
tree60bd58750226c7751547b822177bf7b05b14af63 /mk/defs.Linux.mk
parente34b4187868c378f021a3c71c678a927577f35a8 (diff)
downloadpkgsrc-61c1448747eb496be813f3f4c5a60f8e85ddb494.tar.gz
Mention how SETGIDGAME and the other GAME vars are set per default.
Add commented-out definitions for all OPSYS - please adjust.
Diffstat (limited to 'mk/defs.Linux.mk')
-rw-r--r--mk/defs.Linux.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk
index a0a5abf7ed6..b66fbf6ac23 100644
--- a/mk/defs.Linux.mk
+++ b/mk/defs.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.70 2004/04/30 04:16:37 reed Exp $
+# $NetBSD: defs.Linux.mk,v 1.71 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the Linux operating system.
@@ -202,3 +202,14 @@ LOCALBASE?= ${DESTDIR}/usr/pkg
#_OPSYS_MAX_CMDLEN!= /sbin/sysctl -n kern.argmax
#CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN}
#.endif
+
+# If games are to be installed setgid, then SETGIDGAME is set to 'yes'
+# (it defaults to 'no' as per bsd.pkg.defaults.mk).
+# Set the group and mode to meaningful values in that case (defaults to
+# BINOWN, BINGRP and BINMODE as per bsd.pkg.defaults.mk).
+# FIXME: Adjust to work on this system and enable the lines below.
+#.if !(empty(SETGIDGAME:M[yY][eE][sS]))
+#GAMEOWN= games
+#GAMEGRP= games
+#GAMEMODE= 2555
+#.endif