Date: Wed, 6 Mar 2013 18:10:45 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r41110 - head/en_US.ISO8859-1/htdocs/internal Message-ID: <201303061810.r26IAja4018659@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gavin Date: Wed Mar 6 18:10:45 2013 New Revision: 41110 URL: http://svnweb.freebsd.org/changeset/doc/41110 Log: Update the "internal" part of the website to: - Stop encouraging people to mirror the FreeBSD web site - Update the instructions to use csup rather than cvsup - Remove details for compiling cvsup - Stop linking to pages which no longer contains info on cvsup - Fix the instructions - Remove incorrect info about how often the FreeBSD website updates. This page can probably just be removed, but until then it can at least be correct. Approved by: bcr (mentor) Modified: head/en_US.ISO8859-1/htdocs/internal/README.mirror (contents, props changed) head/en_US.ISO8859-1/htdocs/internal/about.xml head/en_US.ISO8859-1/htdocs/internal/mirror.xml Modified: head/en_US.ISO8859-1/htdocs/internal/README.mirror ============================================================================== --- head/en_US.ISO8859-1/htdocs/internal/README.mirror Wed Mar 6 18:06:00 2013 (r41109) +++ head/en_US.ISO8859-1/htdocs/internal/README.mirror Wed Mar 6 18:10:45 2013 (r41110) @@ -1,17 +1,17 @@ -You can (and are encouraged to) mirror the pages with CVSup. +You can mirror the web pages with csup. If you are running apache as installed from the ports collection the following should make a copy of www.freebsd.org available from http://wwwN.XX.freebsd.org/. Of course, there are possible variations on the method... -1) The CVSup file to get the WWW pages +1) The csup file to get the WWW pages (/usr/local/www/data/freebsd.cvsup in the next step): -www release=current host=cvsup.freebsd.org hostbase=/home base=/usr prefix=/usr/local/www/data/www.freebsd.org delete old use-rel-suffix +www release=current host=cvsup.freebsd.org base=/usr prefix=/usr/local/www/data/www.freebsd.org delete use-rel-suffix 2) Add to /etc/crontab -1 5 * * * root /usr/local/bin/cvsup -z -g /usr/local/www/data/freebsd.cvsup +1 5 * * * root /usr/bin/csup -z -g /usr/local/www/data/freebsd.cvsup 2) Add to /usr/local/etc/apache/access.conf: Modified: head/en_US.ISO8859-1/htdocs/internal/about.xml ============================================================================== --- head/en_US.ISO8859-1/htdocs/internal/about.xml Wed Mar 6 18:06:00 2013 (r41109) +++ head/en_US.ISO8859-1/htdocs/internal/about.xml Wed Mar 6 18:10:45 2013 (r41110) @@ -117,7 +117,7 @@ Building and updating the FreeBSD Web Pa href="http://www.freebsd.org/build/index.cgi">here</a>.</p> <h2>Mirroring the FreeBSD Web Pages</h2> - <p>You can (and are encouraged to) <a href="mirror.html">mirror</a> + <p>It is possible to <a href="mirror.html">mirror</a> the FreeBSD web pages on www.FreeBSD.org.</p> <p></p><a href="internal.html">FreeBSD Internal Home</a> Modified: head/en_US.ISO8859-1/htdocs/internal/mirror.xml ============================================================================== --- head/en_US.ISO8859-1/htdocs/internal/mirror.xml Wed Mar 6 18:06:00 2013 (r41109) +++ head/en_US.ISO8859-1/htdocs/internal/mirror.xml Wed Mar 6 18:10:45 2013 (r41110) @@ -13,42 +13,27 @@ <body class="navinclude.docs"> -<p>You can (and are encouraged to) mirror the FreeBSD web pages +<p>It is possible to mirror the FreeBSD web pages <tt>www.FreeBSD.org</tt>. -To do this, you need to obtain and install -a program called <em>cvsup</em> on your web server. +This can be done using a program called <em>csup</em>. -<a href="&url.doc.base;/books/handbook/cvsup.html#CVSUP-INSTALL">CVSup</a> is a software package for +csup is a software package in the base system for distributing and updating collections of files across a network.</p> -<h2>Installing CVSup</h2> - -<p>You can build and install it from source by the following commands:</p> - -<pre> - # cd /usr/ports/net/cvsup-without-gui - # make all install clean -</pre> - -<p>However, installing precompiled package from the FreeBSD -<a href="&url.doc.base;/books/handbook/packages-using.html">packages -collection</a> may be much easier. -Refer to the chapter mentioned for the details.</p> - -<h2>Running CVSup</h2> +<h2>Running csup</h2> <p>If you keep your mirrored FreeBSD web pages in the directory <tt>/usr/FreeBSD-mirror</tt> and are owned by the user `fred', then run the following command as user `fred':</p> <pre> - $ cvsup supfile-www + $ csup supfile-www </pre> The file <tt>supfile-www</tt> contain: <pre> - *default host="cvsup".FreeBSD.org + *default host=cvsup.FreeBSD.org *default prefix=/usr/FreeBSD-mirror *default base=/usr/local/etc/cvsup www release="current" delete use-rel-suffix compress @@ -56,13 +41,7 @@ The file <tt>supfile-www</tt> contain: <p>This will mirror the FreeBSD web pages into <tt>/usr/FreeBSD-mirror</tt>. You can install this into fred's -crontab, so that it runs once a day. The pages on www.FreeBSD.org are -updated daily at about 4:30am California time.</p> - -<h2>More Information on CVSup</h2> - -See the <a href="&url.doc.base;/books/handbook/synching.html#CVSUP">CVSup introduction</a> in the -handbook. +crontab, so that it runs once a day.</p> <p><a href="internal.html">FreeBSD Internal Home</a></p>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303061810.r26IAja4018659>