From owner-svn-doc-head@FreeBSD.ORG Wed Oct 10 17:12:50 2012 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13B965A2; Wed, 10 Oct 2012 17:12:50 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E65BE8FC08; Wed, 10 Oct 2012 17:12:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9AHCnGD067999; Wed, 10 Oct 2012 17:12:49 GMT (envelope-from bcr@svn.freebsd.org) Received: (from bcr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9AHCnjq067997; Wed, 10 Oct 2012 17:12:49 GMT (envelope-from bcr@svn.freebsd.org) Message-Id: <201210101712.q9AHCnjq067997@svn.freebsd.org> From: Benedict Reuschling Date: Wed, 10 Oct 2012 17:12:49 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r39725 - head/en_US.ISO8859-1/books/handbook/ports X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2012 17:12:50 -0000 Author: bcr Date: Wed Oct 10 17:12:49 2012 New Revision: 39725 URL: http://svn.freebsd.org/changeset/doc/39725 Log: Add a section about the migration away from CVSup towards portsnap. I made some corrections (mostly typo fixes) to the submitted patch where appropriate. PR: docs/172554 Submitted by: beat Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Wed Oct 10 16:23:51 2012 (r39724) +++ head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Wed Oct 10 17:12:49 2012 (r39725) @@ -910,6 +910,81 @@ docbook = + + Migrating from CVSup/csup to portsnap + + + By February 28, 2013 the ports tree will no longer be + exported to CVS and therefore + CVSup and + csup will no longer provide + updates for the ports tree. + + + + Migration to Portsnap + + The migration will require about 1 GB of disk space + on /usr, plus + Portsnap requires about + 150 MB disk space on /var. + + + Disable any automated ports updates you may use, such + as a &man.cron.8; job calling + CVSup or + csup. + + + + Move the existing ports tree to a temporary location: + + + &prompt.root; mv /usr/ports /usr/ports.old + + + + Fetch the new ports tree with + Portsnap and extract it to + /usr/ports: + + &prompt.root; portsnap fetch extract + + + + Move distfiles and saved packages to the new ports + tree: + + &prompt.root; mv /usr/ports.old/distfiles /usr/ports +&prompt.root; mv /usr/ports.old/packages /usr/ports + + + + Delete the old ports tree: + + &prompt.root; rm -rf /usr/ports.old + + + + If CVSup was used before, + it can now be uninstalled: + + &prompt.root; pkg_delete -r -v cvsup-without-gui-\* + + Users of pkgng can use the + following command: + + &prompt.root; pkg remove cvsup-without-gui + + + + See Using + Portsnap for a detailed description of + Portsnap and how to update the + ports tree with Portsnap. + + Installing Ports