summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-05-12 14:10:18 +0000
committerjschauma <jschauma@pkgsrc.org>2004-05-12 14:10:18 +0000
commite967e4dc7d6e0e09aa6474a95d90c6323871acd1 (patch)
tree60bd58750226c7751547b822177bf7b05b14af63 /mk
parentec3d725a1d5cf9c64250e41dfb75cf406b6104c7 (diff)
downloadpkgsrc-e967e4dc7d6e0e09aa6474a95d90c6323871acd1.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')
-rw-r--r--mk/defs.AIX.mk13
-rw-r--r--mk/defs.BSDOS.mk13
-rw-r--r--mk/defs.Darwin.mk13
-rw-r--r--mk/defs.FreeBSD.mk13
-rw-r--r--mk/defs.IRIX.mk13
-rw-r--r--mk/defs.Interix.mk13
-rw-r--r--mk/defs.Linux.mk13
-rw-r--r--mk/defs.NetBSD.mk8
-rw-r--r--mk/defs.OpenBSD.mk13
-rw-r--r--mk/defs.SunOS.mk13
-rw-r--r--mk/defs.UnixWare.mk13
11 files changed, 125 insertions, 13 deletions
diff --git a/mk/defs.AIX.mk b/mk/defs.AIX.mk
index 6bb26a98655..047e9712152 100644
--- a/mk/defs.AIX.mk
+++ b/mk/defs.AIX.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.AIX.mk,v 1.8 2004/04/27 13:43:05 tv Exp $
+# $NetBSD: defs.AIX.mk,v 1.9 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the AIX operating system.
@@ -188,3 +188,14 @@ SERIAL_DEVICES?= /dev/tty0 \
#_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
diff --git a/mk/defs.BSDOS.mk b/mk/defs.BSDOS.mk
index 7ebbc42e72b..fd1d48d4b12 100644
--- a/mk/defs.BSDOS.mk
+++ b/mk/defs.BSDOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.BSDOS.mk,v 1.8 2004/04/19 20:19:46 jmmv Exp $
+# $NetBSD: defs.BSDOS.mk,v 1.9 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the BSD/OS operating system.
@@ -169,3 +169,14 @@ PKG_CREATE_USERGROUP= NO # until it works
#_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
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk
index bc84630b379..03af3670312 100644
--- a/mk/defs.Darwin.mk
+++ b/mk/defs.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.74 2004/05/06 06:32:22 adam Exp $
+# $NetBSD: defs.Darwin.mk,v 1.75 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the Darwin operating system.
@@ -155,3 +155,14 @@ LOCALBASE?= ${DESTDIR}/usr/pkg
_OPSYS_MAX_CMDLEN!= /usr/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
diff --git a/mk/defs.FreeBSD.mk b/mk/defs.FreeBSD.mk
index df32e4e13f5..c6b474e0d72 100644
--- a/mk/defs.FreeBSD.mk
+++ b/mk/defs.FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.FreeBSD.mk,v 1.38 2004/04/27 13:43:05 tv Exp $
+# $NetBSD: defs.FreeBSD.mk,v 1.39 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -173,3 +173,14 @@ PKG_HAVE_KQUEUE= # defined
_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
diff --git a/mk/defs.IRIX.mk b/mk/defs.IRIX.mk
index eae9450d2e7..e3cea093fa9 100644
--- a/mk/defs.IRIX.mk
+++ b/mk/defs.IRIX.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.IRIX.mk,v 1.49 2004/04/29 20:07:48 jschauma Exp $
+# $NetBSD: defs.IRIX.mk,v 1.50 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the IRIX operating system.
@@ -172,3 +172,14 @@ MAKE_ENV+= ABI=${ABI}
_OPSYS_MAX_CMDLEN!= /usr/sbin/sysconf ARG_MAX
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
diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk
index dac195d438e..0f3fc92c8e9 100644
--- a/mk/defs.Interix.mk
+++ b/mk/defs.Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.22 2004/05/05 14:37:21 tv Exp $
+# $NetBSD: defs.Interix.mk,v 1.23 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the Interix operating system.
@@ -175,3 +175,14 @@ BUILDLINK_TRANSFORM+= S:-fpic: S:-fPIC:
.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL)
CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=262144
.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
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
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk
index 7a313e8939f..3699fc4045a 100644
--- a/mk/defs.NetBSD.mk
+++ b/mk/defs.NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.NetBSD.mk,v 1.65 2004/05/12 01:04:00 jschauma Exp $
+# $NetBSD: defs.NetBSD.mk,v 1.66 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -208,8 +208,10 @@ _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, set the group and mode to meaningful
-# values
+# 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).
.if !(empty(SETGIDGAME:M[yY][eE][sS]))
GAMEOWN= games
GAMEGRP= games
diff --git a/mk/defs.OpenBSD.mk b/mk/defs.OpenBSD.mk
index c979cddd928..4d2a115cf29 100644
--- a/mk/defs.OpenBSD.mk
+++ b/mk/defs.OpenBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.OpenBSD.mk,v 1.32 2004/04/27 13:43:05 tv Exp $
+# $NetBSD: defs.OpenBSD.mk,v 1.33 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the OpenBSD operating system.
@@ -177,3 +177,14 @@ SERIAL_DEVICES?= /dev/null
#_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
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index bad0b3e3d2e..42001d84808 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.84 2004/04/19 20:19:46 jmmv Exp $
+# $NetBSD: defs.SunOS.mk,v 1.85 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -194,3 +194,14 @@ PKG_TOOLS_BIN?= ${LOCALBASE}/bin
#_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
diff --git a/mk/defs.UnixWare.mk b/mk/defs.UnixWare.mk
index 356b40bedd8..a6772d8c91d 100644
--- a/mk/defs.UnixWare.mk
+++ b/mk/defs.UnixWare.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.UnixWare.mk,v 1.2 2004/04/19 20:19:46 jmmv Exp $
+# $NetBSD: defs.UnixWare.mk,v 1.3 2004/05/12 14:10:18 jschauma Exp $
#
# Variable definitions for the UnixWare 7 operating system.
@@ -159,3 +159,14 @@ PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
#_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