Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 01:43:28 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40413 - head/en_US.ISO8859-1/articles/portbuild
Message-ID:  <201212180143.qBI1hSQC024181@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Dec 18 01:43:28 2012
New Revision: 40413
URL: http://svnweb.freebsd.org/changeset/doc/40413

Log:
  Start deorbiting the advice about things to put in the wheel group.
  Start the move from the 'portmgr' user to the 'portbuild' user.

Modified:
  head/en_US.ISO8859-1/articles/portbuild/article.xml

Modified: head/en_US.ISO8859-1/articles/portbuild/article.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/portbuild/article.xml	Mon Dec 17 21:54:18 2012	(r40412)
+++ head/en_US.ISO8859-1/articles/portbuild/article.xml	Tue Dec 18 01:43:28 2012	(r40413)
@@ -1695,8 +1695,7 @@ options         NFSSERVER               
 	    <listitem>
 	      <para>Create a
 		<literal>ports-<replaceable>${arch}</replaceable></literal>
-		user and group.  Add it to the <literal>wheel</literal>
-		group.  It can have the <literal>'*'</literal> password.</para>
+		user and group.  It can have the <literal>'*'</literal> password.</para>
 
 	      <para>Create
 		<filename>/home/ports-<replaceable>${arch}/.ssh/</replaceable></filename>
@@ -1977,6 +1976,10 @@ touch /tmp/.boot_finished</screen>
 	    </listitem>
 
 	    <listitem>
+	      <note>
+		<para>This step is under review.</para>
+	      </note>
+
 	      <para>Create
 		 <filename>usr/local/etc/sudoers/sudoers.d/portbuild</filename>:<programlisting>
 # local changes for package building
@@ -2558,7 +2561,7 @@ dopackages</command> without <literal>-n
 
       <listitem>
 	<screen>
-chown ports-<replaceable>arch</replaceable>:portmgr /var/portbuild/<replaceable>arch</replaceable>;
+chown ports-<replaceable>arch</replaceable>:portbuild /var/portbuild/<replaceable>arch</replaceable>;
 chmod 775 /var/portbuild/<replaceable>arch</replaceable>;
 cd /var/portbuild/<replaceable>arch</replaceable></screen>
       </listitem>
@@ -2763,7 +2766,7 @@ ln -s ../<replaceable>arch</replaceable>
     <itemizedlist>
       <listitem>
 	<para>Tell <application>qmanager</application> about the arch:
-	  <screen>python <replaceable>path</replaceable>/qmanager/qclient add_acl name=ports-<replaceable>arch</replaceable> uidlist=ports-<replaceable>arch</replaceable> gidlist=portmgr sense=1</screen></para>
+	  <screen>python <replaceable>path</replaceable>/qmanager/qclient add_acl name=ports-<replaceable>arch</replaceable> uidlist=ports-<replaceable>arch</replaceable> gidlist=portbuild sense=1</screen></para>
       </listitem>
 
       <listitem>
@@ -2813,8 +2816,7 @@ ln -s ../<replaceable>arch</replaceable>
 
 	<step>
 	  <para>Create a user to own the <application>portbuild</application>
-	    repository, such as <literal>portmgr</literal>, and add it
-	    to the <literal>wheel</literal> group.  It should have the
+	    repository, such as <literal>portbuild</literal>.  It should have the
 	    <literal>'*'</literal> password.</para>
 	</step>
 
@@ -2994,7 +2996,7 @@ sysutils/zfs-stats</screen>
 	<step>
 	  <para>Set up the directory:<screen>
 &prompt.root; cd /a/portbuild
-&prompt.root; chown portmgr:portmgr .
+&prompt.root; chown portbuild:portbuild .
 &prompt.root; chmod 775 .
 &prompt.root; ln -sf /a/portbuild /var/portbuild
 </screen>
@@ -3018,7 +3020,7 @@ sysutils/zfs-stats</screen>
 	<step>
 	  <para>Set up an account with subversion config files
 	    installed.  Again, we generally use
-	    <replaceable>portmgr</replaceable>.</para>
+	    <replaceable>portbuild</replaceable>.</para>
 	</step>
 
 	<step>
@@ -3199,9 +3201,9 @@ qmanager.sh</screen>
 	</step>
 
 	<step>
-	  <para>Install <filename>/var/portbuild/crontabs/portmgr</filename> as
-	    the <username>portmgr</username> crontab via
-	    <command>crontab -u portmgr -e</command>.  If you do
+	  <para>Install <filename>/var/portbuild/crontabs/portbuild</filename> as
+	    the <username>portbuild</username> crontab via
+	    <command>crontab -u portbuild -e</command>.  If you do
 	    not support all the archs listed there, make sure to comment out
 	    the appropriate <application>dologs</application> entries.</para>
 	</step>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212180143.qBI1hSQC024181>