Brush up a bit the Ports CVSup method:
- We currently state "Install the net/cvsup port"; let's point directly to the package, in particular cvsup-without-gui since all commands, in the text, used the legacy "-g"... - Most of people do not edit the ports-supfile and directly use the -h argument for the CVSup server, the reader should uses/knows that. - Keep, as note, the ports-supfile edition for a "hardcoded" CVSup server - I kept the odd <link linkend/<xref linkend way, maybe this should be fixed The text should, now, be closer to what we do when it's time to CVSup the Ports tree.
This commit is contained in:
parent
0aee5437b7
commit
17b5c290e0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25358
1 changed files with 46 additions and 18 deletions
|
@ -659,16 +659,40 @@ docbook =
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Install the <filename
|
<para>Install the <filename
|
||||||
role="package">net/cvsup</filename> port. See <link
|
role="package">net/cvsup-without-gui</filename> package:</para>
|
||||||
|
|
||||||
|
<screen>&prompt.root; <userinput>pkg_add -r cvsup-without-gui</userinput></screen>
|
||||||
|
|
||||||
|
<para>See <link
|
||||||
linkend="cvsup-install">CVSup Installation</link> (<xref
|
linkend="cvsup-install">CVSup Installation</link> (<xref
|
||||||
linkend="cvsup-install">) for more details.</para>
|
linkend="cvsup-install">) for more details.</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>As <username>root</username>, copy
|
<para>Run <command>cvsup</command>:</para>
|
||||||
|
|
||||||
|
<screen>&prompt.root; <userinput>cvsup -L 2 -h <replaceable>cvsup.FreeBSD.org</replaceable> /usr/share/examples/cvsup/ports-supfile</userinput></screen>
|
||||||
|
|
||||||
|
<para>Change
|
||||||
|
<replaceable>cvsup.FreeBSD.org</replaceable> to a
|
||||||
|
<application>CVSup</application> server near you. See
|
||||||
|
<link linkend="cvsup-mirrors">CVSup Mirrors</link> (<xref
|
||||||
|
linkend="cvsup-mirrors">) for a complete listing of mirror
|
||||||
|
sites.</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>One may want to use his own
|
||||||
|
<filename>ports-supfile</filename>, for example to avoid
|
||||||
|
the need of passing the <application>CVSup</application>
|
||||||
|
server on the command line.</para>
|
||||||
|
|
||||||
|
<procedure>
|
||||||
|
<step>
|
||||||
|
<para>In this case, as <username>root</username>, copy
|
||||||
<filename>/usr/share/examples/cvsup/ports-supfile</filename>
|
<filename>/usr/share/examples/cvsup/ports-supfile</filename>
|
||||||
to a new location, such as <filename>/root</filename> or your
|
to a new location, such as
|
||||||
home directory.</para>
|
<filename>/root</filename> or your home
|
||||||
|
directory.</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
|
@ -677,21 +701,25 @@ docbook =
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Change
|
<para>Change
|
||||||
<replaceable>CHANGE_THIS.FreeBSD.org</replaceable> to a
|
<replaceable>CHANGE_THIS.FreeBSD.org</replaceable>
|
||||||
<application>CVSup</application> server near you. See
|
to a <application>CVSup</application> server near
|
||||||
<link linkend="cvsup-mirrors">CVSup Mirrors</link> (<xref
|
you. See <link linkend="cvsup-mirrors">CVSup
|
||||||
linkend="cvsup-mirrors">) for a complete listing of mirror
|
Mirrors</link> (<xref linkend="cvsup-mirrors">) for
|
||||||
sites.</para>
|
a complete listing of mirror sites.</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Run <command>cvsup</command>:</para>
|
<para>And now to run <command>cvsup</command>, use the
|
||||||
|
following:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cvsup -g -L 2 <replaceable>/root/ports-supfile</replaceable></userinput></screen>
|
<screen>&prompt.root; <userinput>cvsup -L 2 <replaceable>/root/ports-supfile</replaceable></userinput></screen>
|
||||||
|
</step>
|
||||||
|
</procedure>
|
||||||
|
</note>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Running this command later will download and apply all
|
<para>Running the &man.cvsup.1; command later will download and apply all
|
||||||
the recent changes to your Ports Collection, except
|
the recent changes to your Ports Collection, except
|
||||||
actually rebuilding the ports for your own system.</para>
|
actually rebuilding the ports for your own system.</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
Loading…
Reference in a new issue