pkgsrc/sysutils/user_darwin/Makefile
schmonz 137b6c568e In at least macOS Sierra (and perhaps earlier OS X versions), we need to
set "IsHidden" on new accounts to prevent them from showing up in the
Users & Groups Preference Pane the way normal interactive users would.

This change is probably backward-compatible all the way back to Tiger
(it doesn't break Tiger, sevan@ checked).

Bump version.
2017-01-16 19:55:39 +00:00

25 lines
696 B
Makefile

# $NetBSD: Makefile,v 1.16 2017/01/16 19:55:39 schmonz Exp $
#
DISTNAME= user-darwin-20170116
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= schmonz@NetBSD.org
COMMENT= Limited NetBSD-compatible useradd/groupadd commands
ONLY_FOR_PLATFORM= Darwin-*-*
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS= sbin
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${DESTDIR}${PREFIX}/sbin/useradd
${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${DESTDIR}${PREFIX}/sbin/userdel
${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${DESTDIR}${PREFIX}/sbin/groupadd
${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${DESTDIR}${PREFIX}/sbin/groupdel
.include "../../mk/bsd.pkg.mk"