creating a user before configuration

Hannes Sowa <[email protected]>
Newsgroups gmane.os.netbsd.ports
Organization http://freemail.web.de/
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.