From 2ddb1e62c98a44f0362d8da2957f4f534483af86 Mon Sep 17 00:00:00 2001 From: Benedict Reuschling Date: Wed, 10 Oct 2012 17:12:49 +0000 Subject: [PATCH] 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 --- .../books/handbook/ports/chapter.xml | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.xml b/en_US.ISO8859-1/books/handbook/ports/chapter.xml index 35c2055d4c..ea6bb34cab 100644 --- a/en_US.ISO8859-1/books/handbook/ports/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/ports/chapter.xml @@ -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