summaryrefslogtreecommitdiff
path: root/mk/defs.Linux.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-19 16:17:51 +0000
committerjlam <jlam@pkgsrc.org>2001-11-19 16:17:51 +0000
commit014a83ae0f4570b0f6917cb8545ebc2d1bc8b231 (patch)
treeb6481131e8675c6d05058b7eebf0c67e8be57c9e /mk/defs.Linux.mk
parentb046604a946e4d69aeb7bffe71626b263485ad83 (diff)
downloadpkgsrc-014a83ae0f4570b0f6917cb8545ebc2d1bc8b231.tar.gz
Add definitions for USERADD and GROUPADD, used to create new users and
groups. These commands follow the basic interface of the NetBSD/Solaris useradd and groupadd programs. For platforms on which these commands don't exist, either sysutils/user is added as a dependency, or these are set to ${FALSE}, and the package admin is responsible for creating them himself prior to the installation of a package.
Diffstat (limited to 'mk/defs.Linux.mk')
-rw-r--r--mk/defs.Linux.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk
index 06c236a0725..00e75567403 100644
--- a/mk/defs.Linux.mk
+++ b/mk/defs.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.8 2001/08/23 16:54:09 abs Exp $
+# $NetBSD: defs.Linux.mk,v 1.9 2001/11/19 16:17:51 jlam Exp $
#
# Variable definitions for the Linux operating system.
@@ -54,3 +54,7 @@ TRUE?= /bin/true
TYPE?= type
WC?= /usr/bin/wc
XARGS?= /usr/bin/xargs -r
+
+USERADD?= /usr/sbin/useradd
+GROUPADD?= /usr/sbin/groupadd
+NOLOGIN?= ${FALSE}