pkgsrc-Bugs archive

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

pkg/44564: IRIX: support for useradd/groupadd [patch]



>Number:         44564
>Category:       pkg
>Synopsis:       IRIX: support for useradd/groupadd [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 22:50:00 +0000 2011
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1 NetBSD 5.1 (GENERIC) #0: Mon Jan 31 
23:53:52 EET 2011 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
Some systems require support for useradd/groupadd commands compatible with
NetBSD in order to create users and groups. IRIX is such platform.

>Fix:
1) Import wip/user_irix to sysutils/
2) Apply the following patch
Index: mk/platform/IRIX.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/platform/IRIX.mk,v
retrieving revision 1.36
diff -u -r1.36 IRIX.mk
--- mk/platform/IRIX.mk 8 Jul 2010 04:57:36 -0000       1.36
+++ mk/platform/IRIX.mk 13 Feb 2011 22:42:37 -0000
@@ -30,6 +30,11 @@
 ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
 ULIMIT_CMD_memorysize?=        ulimit -v `ulimit -H -v`
 
+USERADD?=              ${LOCALBASE}/sbin/useradd
+GROUPADD?=             ${LOCALBASE}/sbin/groupadd
+_PKG_USER_HOME?=       /dev/null # to match other system accounts
+_USER_DEPENDS=         user-[0-9]*:../../sysutils/user_irix
+
 # imake installs manpages in weird places
 .if !empty(OS_VERSION:M6*)
 IMAKE_MAN_SOURCE_PATH?=        catman/u_man/cat



Home | Main Index | Thread Index | Old Index