Subject: allow sysutils/user for non-NetBSD or custom switches for USERADD
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 10/04/2003 16:07:38
After a minor patch for sendmail, I got it to build for BSD/OS.

BSD/OS provides a adduser and groupadd commands.

     adduser [-dDv] [-c change_time] [-C class] [-e expire_time] [-g
             primary_group] [-G gecos] [-h home_directory_basedir] [-H
             home_directory] [-m home_directory_mode] [-p passwd] [-P
             encrypted_passwd] [-s shell] [-S skeleton_dir] [-u uid]

But mk/install/install has:

                                ${USERADD} -c "${descr}"                \
                                        ${userid_option} ${userid}      \
                                        -g "${group}"                   \
                                        -d "${home}"                    \
                                        -s "${shell}"                   \

Creating user: smmsp
Sendmail Message Submission Program: invalid change time.
chown smmsp /var/spool/clientmqueue
chown: smmsp: illegal user name
*** Error code 1

I think it would be good to allow some settings like:

And for BSDOS would use:

Or allow sysutils/user to build (using libnbcompat) for other operating

Any comments?

(Yes, I know about PKG_CREATE_USERGROUP.)

   Jeremy C. Reed