pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform OpenBSD uses the NetBSD user/group managem...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/741fd4ed84b5
branches:  trunk
changeset: 486355:741fd4ed84b5
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Dec 27 08:38:09 2004 +0000

description:
OpenBSD uses the NetBSD user/group management tools, so re-add back
support for USERADD/GROUPADD on OpenBSD.

diffstat:

 mk/platform/OpenBSD.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e2dcc403815f -r 741fd4ed84b5 mk/platform/OpenBSD.mk
--- a/mk/platform/OpenBSD.mk    Mon Dec 27 07:18:29 2004 +0000
+++ b/mk/platform/OpenBSD.mk    Mon Dec 27 08:38:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: OpenBSD.mk,v 1.8 2004/12/27 06:41:50 jlam Exp $
+# $NetBSD: OpenBSD.mk,v 1.9 2004/12/27 08:38:09 jlam Exp $
 #
 # Variable definitions for the OpenBSD operating system.
 
@@ -78,6 +78,11 @@
 WC?=           /usr/bin/wc
 XARGS?=                /usr/bin/xargs
 
+.if exists(/usr/sbin/user)
+USERADD?=      /usr/sbin/useradd
+GROUPADD?=     /usr/sbin/groupadd
+.endif
+
 CPP_PRECOMP_FLAGS?=    # unset
 DEF_UMASK?=            0022
 .if ${OBJECT_FMT} == "ELF"



Home | Main Index | Thread Index | Old Index