faq/ports/guide.html addition

Brian Callahan <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
Below is an addition to faq/ports/guide.html for adding new groups and 
users to the PLIST. Based on my misunderstanding of the guide while 
working on gophernicus. The guide makes it sound like editing 
ports/infrastructure/db/user.list is what causes new users and groups to 
be added, when in fact it is the PLIST that handles this.

As an aside, I was going to translate my patch it into French to save 
someone the hassle of having to do it but I've noticed that the entire 
Porter's Handbook is untranslated. Before I set about translating it, 1. 
is anyone else currently doing it? and 2. is it wanted?

Thanks.

~Brian

Index: faq/ports/guide.html
===================================================================
RCS file: /cvs/www/faq/ports/guide.html,v
retrieving revision 1.20
diff -u -p -r1.20 guide.html
--- faq/ports/guide.html	20 Sep 2012 15:06:08 -0000	1.20
+++ faq/ports/guide.html	21 Sep 2012 22:03:27 -0000
@@ -520,6 +520,16 @@ those architectures that support shared
  <li>
  <tt>PFRAG.noshared</tt> describes only the files being additionally installed on
  architectures that do not support shared libraries.
+<p>
+If your port needs to create a user or a group, edit <tt>pkg/PLIST</tt> and add
+the following lines based on this template:
+<br>
+<tt>@newgroup _group:gid</tt>
+<br>
+<tt>@newuser _user:uid:gid:usertype:Full Name:/homedir:/loginshell</tt>
+<br>
+Where gid and uid are the lowest available from
+<tt>/usr/ports/infrastructure/db/user.list</tt>.
  </ul>

  <br><br><li>
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.