summaryrefslogtreecommitdiff
path: root/mk/defs.Linux.mk
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-19 16:17:51 +0000
committerjlam <jlam>2001-11-19 16:17:51 +0000
commit658b8b5e80dc765da62b12bdf7431554dd864b66 (patch)
treeb6481131e8675c6d05058b7eebf0c67e8be57c9e /mk/defs.Linux.mk
parent47a869f5cd8d21baf12303682af2894c578c42cb (diff)
downloadpkgsrc-658b8b5e80dc765da62b12bdf7431554dd864b66.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}