From b142a93cf767e5e81b5e20ff630f4432a5406b3d Mon Sep 17 00:00:00 2001 From: Chern Lee Date: Tue, 23 Oct 2001 19:21:02 +0000 Subject: [PATCH] Add a section on obtaining the ports collection using CVSup or Sysinstall. Suggested by: Dan Langille --- .../books/handbook/ports/chapter.sgml | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml index 71edb9c7ef..701446b92a 100644 --- a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml @@ -440,6 +440,121 @@ docbook = ports collection to install or remove programs from your system. + + Obtaining the Ports Collection + + Before you can install ports, you must first obtain the + ports collection—which is essentially a set of Makefiles, + patches, and description files usually placed in + /usr/ports. + + + When installing your FreeBSD system, + Sysinstall asked if you would like to + install the ports collection. If you chose no, you can follow + these instructions to obtain the ports collection. + + + Sysinstall Method + + This method involves using + sysinstall again to manually + install the ports collection. + + + As root, run /stand/sysinstall as + shown below: + + &prompt.root; /stand/sysinstall + + + + Scroll down and select Configure, + Press Enter + + + + Scroll down and select + Distributions, Press Enter + + + + Scroll down to ports, Press the + Space key + + + + Scroll up to Exit, Press + Enter + + + + Select your desired installation media, such as CDROM, + FTP, and so on. + + + + Follow the menus to Exit sysinstall + + + + The alternative method to obtain and keep your ports + collection up to date is by using + CVSup. Look at the ports + CVSup file, + /usr/share/examples/cvsup/ports-supfile. + See Using CVSup () for more information on using + CVSup and the mentioned file. + + + CVSup Method + + This is a quick method to getting the ports collection + using CVSup. If you want to keep + your ports tree up to date, or learn more about + CVSup, read the previously + mentioned sections. + + + Install the net/cvsup port. See CVSup Installation () for more details. + + + + As root, copy + /usr/share/examples/cvsup/ports-supfile + to a new location, such as /root or your + home directory + + + + Edit ports-supfile + + + + Change CHANGE_THIS.FreeBSD.org to a + CVSup near you. See CVSupp Mirrors () for a complete listing of mirror + sites. + + + + Run cvsup -g -L 2 <path_to_supfile> + + &prompt.root; cvsup -g -L 2 /root/ports-supfile + + + + Running this consequent times at later dates will + download all the recent changes to your ports + collection. + + + + Installing Ports