Subject: creating a user before configuration
To: None <netbsd-ports@netbsd.org>
From: Hannes Sowa <satbran@web.de>
List: netbsd-ports
Date: 05/21/2002 17:37:58
Hello!

I need to create a user before the configuration of the port starts.
I have written in my Makefile:

pre-configure:
        ${GROUPADD} -g 89 vchkpw;                               \
        ${USERADD} -g vchkpw -u 89 -d ${VPOPMAILDIR} vpopmail   \
        cd ${WRKSRC};                                           \
        ${LOCALBASE}/bin/aclocal;                               \
        ${LOCALBASE}/bin/autoheader;                            \
        ${LOCALBASE}/bin/automake -a --foreign -i;              \
        ${LOCALBASE}/bin/autoconf

Would that be acceptable or is there a better method to do that?


Thanks and bye,

Hannes Sowa
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13