On Mon, 27 Aug 2007 17:16:31 +0300 Stefan Lambrev <[EMAIL PROTECTED]> wrote:
> Hello, > > I'm trying to make a small port, but want to ask what is the right > procedure, > if my port requires a certain user to be on the installed system? > > Do I have to use pkg-install/pkg-deinstall for this? Stefan, Porter's Handbook, section "UIDs and GIDs": http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-uid-and-gids.html [...] If your port requires a certain user to be on the installed system, let the pkg-install script call pw to create it automatically. Look at net/cvsup-mirror for an example. Please note that this is strongly discouraged, please register user/group ID numbers as stated below. [..] Read the rest of this section. There is a lot of other ports that can serve as examples, such as sysutils/hal (see files/pkg-install.in etc. about the user haldaemon = "HAL Daemon User") or print/cups-base (see Makefile and commands in pkg-plist about the user cups = "CUPS Owner"). Nikola Lečić _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
