View | Details | Raw Unified | Return to bug 172554
Collapse All | Expand All

(-)en_US.ISO8859-1/books/handbook/ports/chapter.xml (+73 lines)
Lines 910-915 Link Here
910
      </procedure>
910
      </procedure>
911
    </sect2>
911
    </sect2>
912
912
913
    <sect2 id="cvsup-migration">
914
      <title>Migrating from CVSup/csup to portsnap</title>
915
916
      <warning>
917
	<para>By February 28, 2013 the ports tree will no longer be exported
918
	  to <application>CVS</application> and therefore
919
	  <application>CVSup</application> and <application>csup</application>
920
	  will no longer provide updates for the ports tree.</para>
921
      </warning>
922
923
      <procedure>
924
	<title>Migration to Portsnap</title>
925
926
	<para>The migration will require about 1 GB of disk space on
927
	  <filename class="directory">/usr</filename> , plus
928
	  <application>Portsnap</application> requires abou 150 MB disk space
929
	  on <filename class="directory">/var</filename>.</para>
930
931
	<step>
932
	  <para>Disable any automated ports updates you may use, such
933
	    as a &man.cron.8; job calling <application>CVSup</application> or
934
	    <application>csup</application>.</para>
935
	</step>
936
937
	<step>
938
	  <para>Move the existing ports tree to a temporary location:
939
	  </para>
940
941
	  <screen>&prompt.root; <userinput>mv /usr/ports /usr/ports.old</userinput></screen>
942
	</step>
943
944
	<step>
945
	  <para>Fetch the new ports tree with <application>Portsnap
946
	    </application> and extract it to
947
	    <filename class="directory">/usr/ports</filename>:</para>
948
949
	  <screen>&prompt.root; <userinput>portsnap fetch extract</userinput></screen>
950
	</step>
951
952
	<step>
953
	  <para>Move distfiles and saved packages to the new ports tree:
954
	  </para>
955
956
	  <screen>&prompt.root; <userinput>mv /usr/ports.old/distfiles /usr/ports</userinput>
957
&prompt.root; <userinput>mv /usr/ports.old/packages /usr/ports</userinput></screen>
958
	</step>
959
960
	<step>
961
	  <para>Delete the old ports tree:</para>
962
963
	  <screen>&prompt.root; <userinput>rm -rf /usr/ports.old</userinput></screen>
964
	</step>
965
966
	<step>
967
	  <para>If <application>CVSup</application> was used the before,
968
	    it can be no be uninstalled:</para>
969
970
	  <screen>&prompt.root; <userinput>pkg_delete -r -v cvsup-without-gui-\*</userinput></screen>
971
972
	  <para>Users of <application>pkgng</application> can use the
973
	    following command:</para>
974
975
	  <screen>&prompt.root; <userinput>pkg remove cvsup-without-gui</userinput></screen>
976
	</step>
977
      </procedure>
978
979
      <para>See <link linkend="updating-upgrading-portsnap">Using
980
	Portsnap</link> for a detailed description of
981
	<application>Portsnap</application> and how to update the
982
	ports tree with <application>Portsnap</application>.</para>
983
984
    </sect2>
985
913
    <sect2 id="ports-skeleton">
986
    <sect2 id="ports-skeleton">
914
      <title>Installing Ports</title>
987
      <title>Installing Ports</title>

Return to bug 172554