FreeBSD Bugzilla – Attachment 128701 Details for
Bug 172554
[handbook] [patch] Add CVSup to portsnap migration section
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ports-cvs-migration.diff
ports-cvs-migration.diff (text/plain), 2.79 KB, created by
Beat Gaetzi
on 2012-10-09 23:30:28 UTC
(
hide
)
Description:
ports-cvs-migration.diff
Filename:
MIME Type:
Creator:
Beat Gaetzi
Created:
2012-10-09 23:30:28 UTC
Size:
2.79 KB
patch
obsolete
>Index: en_US.ISO8859-1/books/handbook/ports/chapter.xml >=================================================================== >--- en_US.ISO8859-1/books/handbook/ports/chapter.xml (Revision 39715) >+++ en_US.ISO8859-1/books/handbook/ports/chapter.xml (Arbeitskopie) >@@ -910,6 +910,79 @@ > </procedure> > </sect2> > >+ <sect2 id="cvsup-migration"> >+ <title>Migrating from CVSup/csup to portsnap</title> >+ >+ <warning> >+ <para>By February 28, 2013 the ports tree will no longer be exported >+ to <application>CVS</application> and therefore >+ <application>CVSup</application> and <application>csup</application> >+ will no longer provide updates for the ports tree.</para> >+ </warning> >+ >+ <procedure> >+ <title>Migration to Portsnap</title> >+ >+ <para>The migration will require about 1 GB of disk space on >+ <filename class="directory">/usr</filename> , plus >+ <application>Portsnap</application> requires abou 150 MB disk space >+ on <filename class="directory">/var</filename>.</para> >+ >+ <step> >+ <para>Disable any automated ports updates you may use, such >+ as a &man.cron.8; job calling <application>CVSup</application> or >+ <application>csup</application>.</para> >+ </step> >+ >+ <step> >+ <para>Move the existing ports tree to a temporary location: >+ </para> >+ >+ <screen>&prompt.root; <userinput>mv /usr/ports /usr/ports.old</userinput></screen> >+ </step> >+ >+ <step> >+ <para>Fetch the new ports tree with <application>Portsnap >+ </application> and extract it to >+ <filename class="directory">/usr/ports</filename>:</para> >+ >+ <screen>&prompt.root; <userinput>portsnap fetch extract</userinput></screen> >+ </step> >+ >+ <step> >+ <para>Move distfiles and saved packages to the new ports tree: >+ </para> >+ >+ <screen>&prompt.root; <userinput>mv /usr/ports.old/distfiles /usr/ports</userinput> >+&prompt.root; <userinput>mv /usr/ports.old/packages /usr/ports</userinput></screen> >+ </step> >+ >+ <step> >+ <para>Delete the old ports tree:</para> >+ >+ <screen>&prompt.root; <userinput>rm -rf /usr/ports.old</userinput></screen> >+ </step> >+ >+ <step> >+ <para>If <application>CVSup</application> was used the before, >+ it can be no be uninstalled:</para> >+ >+ <screen>&prompt.root; <userinput>pkg_delete -r -v cvsup-without-gui-\*</userinput></screen> >+ >+ <para>Users of <application>pkgng</application> can use the >+ following command:</para> >+ >+ <screen>&prompt.root; <userinput>pkg remove cvsup-without-gui</userinput></screen> >+ </step> >+ </procedure> >+ >+ <para>See <link linkend="updating-upgrading-portsnap">Using >+ Portsnap</link> for a detailed description of >+ <application>Portsnap</application> and how to update the >+ ports tree with <application>Portsnap</application>.</para> >+ >+ </sect2> >+ > <sect2 id="ports-skeleton"> > <title>Installing Ports</title>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172554
: 128701