summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-20 16:19:20 +0000
committerjlam <jlam>2001-11-20 16:19:20 +0000
commit51837192cbfcb0a397bd9bdfc630b22492513b3c (patch)
treea451f827d822ca04e577ef52e703e6c4052db39c /mk
parent76a1dad22629a2caf74dfbfa129d150c22618597 (diff)
downloadpkgsrc-51837192cbfcb0a397bd9bdfc630b22492513b3c.tar.gz
Add definitions for ROOT_USER and ROOT_GROUP that are the symbolic names of
the root user and root group.
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.Darwin.mk5
-rw-r--r--mk/defs.Linux.mk5
-rw-r--r--mk/defs.NetBSD.mk5
-rw-r--r--mk/defs.SunOS.mk5
4 files changed, 16 insertions, 4 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk
index c3cfb2e3f36..941b395118b 100644
--- a/mk/defs.Darwin.mk
+++ b/mk/defs.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.3 2001/11/19 16:17:51 jlam Exp $
+# $NetBSD: defs.Darwin.mk,v 1.4 2001/11/20 16:19:20 jlam Exp $
#
# Variable definitions for the Darwin operating system.
@@ -54,3 +54,6 @@ XARGS?= /usr/bin/xargs
USERADD?= ${FALSE} # XXX - Fix me!
GROUPADD?= ${FALSE} # XXX - Fix me!
NOLOGIN?= ${FALSE}
+
+ROOT_USER?= root
+ROOT_GROUP?= wheel
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk
index 00e75567403..a32759cd3a0 100644
--- a/mk/defs.Linux.mk
+++ b/mk/defs.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.9 2001/11/19 16:17:51 jlam Exp $
+# $NetBSD: defs.Linux.mk,v 1.10 2001/11/20 16:19:20 jlam Exp $
#
# Variable definitions for the Linux operating system.
@@ -58,3 +58,6 @@ XARGS?= /usr/bin/xargs -r
USERADD?= /usr/sbin/useradd
GROUPADD?= /usr/sbin/groupadd
NOLOGIN?= ${FALSE}
+
+ROOT_USER?= root
+ROOT_GROUP?= wheel
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk
index a954a815bf0..4953fecabbd 100644
--- a/mk/defs.NetBSD.mk
+++ b/mk/defs.NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.NetBSD.mk,v 1.6 2001/11/19 16:17:51 jlam Exp $
+# $NetBSD: defs.NetBSD.mk,v 1.7 2001/11/20 16:19:20 jlam Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -62,3 +62,6 @@ GROUPADD?= ${LOCALBASE}/sbin/groupadd
DEPENDS+= user>=20000313:../../sysutils/user
.endif
NOLOGIN?= /sbin/nologin
+
+ROOT_USER?= root
+ROOT_GROUP?= wheel
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index 6d5fcf79f63..3d204ab491a 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.6 2001/11/19 16:17:51 jlam Exp $
+# $NetBSD: defs.SunOS.mk,v 1.7 2001/11/20 16:19:20 jlam Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -65,3 +65,6 @@ XARGS?= /usr/bin/xargs
USERADD?= /usr/sbin/useradd
GROUPADD?= /usr/sbin/groupadd
NOLOGIN?= ${FALSE}
+
+ROOT_USER?= root
+ROOT_GROUP?= root