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)
This commit is contained in:
Gavin Atkinson 2013-03-06 18:10:45 +00:00
parent 3886a0778c
commit aaf51b5e94
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41110
3 changed files with 12 additions and 33 deletions
en_US.ISO8859-1/htdocs/internal

View file

@ -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 If you are running apache as installed from the ports collection the
following should make a copy of www.freebsd.org available from following should make a copy of www.freebsd.org available from
http://wwwN.XX.freebsd.org/. Of course, there are possible http://wwwN.XX.freebsd.org/. Of course, there are possible
variations on the method... 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): (/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 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: 2) Add to /usr/local/etc/apache/access.conf:

View file

@ -117,7 +117,7 @@ Building and updating the FreeBSD Web Pages</a></h2>
href="http://www.freebsd.org/build/index.cgi">here</a>.</p> href="http://www.freebsd.org/build/index.cgi">here</a>.</p>
<h2>Mirroring the FreeBSD Web Pages</h2> <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> the FreeBSD web pages on www.FreeBSD.org.</p>
<p></p><a href="internal.html">FreeBSD Internal Home</a> <p></p><a href="internal.html">FreeBSD Internal Home</a>

View file

@ -13,42 +13,27 @@
<body class="navinclude.docs"> <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>. <tt>www.FreeBSD.org</tt>.
To do this, you need to obtain and install This can be done using a program called <em>csup</em>.
a program called <em>cvsup</em> on your web server.
<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> distributing and updating collections of files across a network.</p>
<h2>Installing CVSup</h2> <h2>Running csup</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>
<p>If you keep your mirrored FreeBSD web pages in the directory <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 <tt>/usr/FreeBSD-mirror</tt> and are owned by the user `fred', then
run the following command as user `fred':</p> run the following command as user `fred':</p>
<pre> <pre>
$ cvsup supfile-www $ csup supfile-www
</pre> </pre>
The file <tt>supfile-www</tt> contain: The file <tt>supfile-www</tt> contain:
<pre> <pre>
*default host="cvsup".FreeBSD.org *default host=cvsup.FreeBSD.org
*default prefix=/usr/FreeBSD-mirror *default prefix=/usr/FreeBSD-mirror
*default base=/usr/local/etc/cvsup *default base=/usr/local/etc/cvsup
www release="current" delete use-rel-suffix compress 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 <p>This will mirror the FreeBSD web pages into
<tt>/usr/FreeBSD-mirror</tt>. You can install this into fred's <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 crontab, so that it runs once a day.</p>
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.
<p><a href="internal.html">FreeBSD Internal Home</a></p> <p><a href="internal.html">FreeBSD Internal Home</a></p>