diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-27 06:41:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-27 06:41:50 +0000 |
commit | 25b81680beab3016c878ab754d8135911cd66e57 (patch) | |
tree | 652a8b6305260ff589456126c6b6ddc26201c1e8 /mk/platform/FreeBSD.mk | |
parent | 34a211b1e3516b3b164281be72140c0d1a288913 (diff) | |
download | pkgsrc-25b81680beab3016c878ab754d8135911cd66e57.tar.gz |
Remove USERADD and GROUPADD definitions from OSes where the useradd
and groupadd commands won't follow the calling conventions of the
NetBSD useradd/groupadd. Modify the INSTALL scripts to *never* create
users or groups if there is no available ${USERADD} or ${GROUPADD}
command, but will warn the user of users and groups that need to be
created before the package can be installed.
Diffstat (limited to 'mk/platform/FreeBSD.mk')
-rw-r--r-- | mk/platform/FreeBSD.mk | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk index a3370cf7ab1..e1a3b3c5307 100644 --- a/mk/platform/FreeBSD.mk +++ b/mk/platform/FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: FreeBSD.mk,v 1.4 2004/11/16 18:04:00 tv Exp $ +# $NetBSD: FreeBSD.mk,v 1.5 2004/12/27 06:41:50 jlam Exp $ # # Variable definitions for the FreeBSD operating system. @@ -87,15 +87,6 @@ TYPE?= type # Shell builtin WC?= /usr/bin/wc XARGS?= /usr/bin/xargs -.if exists(/usr/sbin/user) -USERADD?= /usr/sbin/useradd -GROUPADD?= /usr/sbin/groupadd -.else -USERADD?= ${LOCALBASE}/sbin/useradd -GROUPADD?= ${LOCALBASE}/sbin/groupadd -_USER_DEPENDS= user>=20000313:../../sysutils/user -.endif - CPP_PRECOMP_FLAGS?= # unset DEF_UMASK?= 0022 .if ${OBJECT_FMT} == "ELF" |