From owner-svn-doc-head@FreeBSD.ORG Wed Mar 6 18:10:46 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4AD791B2; Wed, 6 Mar 2013 18:10:46 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE04CEF; Wed, 6 Mar 2013 18:10:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r26IAkgh018664; Wed, 6 Mar 2013 18:10:46 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r26IAja4018659; Wed, 6 Mar 2013 18:10:45 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201303061810.r26IAja4018659@svn.freebsd.org> From: Gavin Atkinson Date: Wed, 6 Mar 2013 18:10:45 +0000 (UTC) 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 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, 06 Mar 2013 18:10:46 -0000 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.

Mirroring the FreeBSD Web Pages

-

You can (and are encouraged to) mirror +

It is possible to mirror the FreeBSD web pages on www.FreeBSD.org.

FreeBSD Internal Home 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 @@ -

You can (and are encouraged to) mirror the FreeBSD web pages +

It is possible to mirror the FreeBSD web pages www.FreeBSD.org. -To do this, you need to obtain and install -a program called cvsup on your web server. +This can be done using a program called csup. -CVSup is a software package for +csup is a software package in the base system for distributing and updating collections of files across a network.

-

Installing CVSup

- -

You can build and install it from source by the following commands:

- -
- # cd /usr/ports/net/cvsup-without-gui
- # make all install clean
-
- -

However, installing precompiled package from the FreeBSD -packages -collection may be much easier. -Refer to the chapter mentioned for the details.

- -

Running CVSup

+

Running csup

If you keep your mirrored FreeBSD web pages in the directory /usr/FreeBSD-mirror and are owned by the user `fred', then run the following command as user `fred':

-     $ cvsup supfile-www
+     $ csup supfile-www
 
The file supfile-www contain:
-       *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 supfile-www contain:
 
 

This will mirror the FreeBSD web pages into /usr/FreeBSD-mirror. 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.

- -

More Information on CVSup

- -See the CVSup introduction in the -handbook. +crontab, so that it runs once a day.

FreeBSD Internal Home