Using CVSup To Maintain A Local CVS Repository

In addition to anonymous CVS, we also provide read-only access to our CVS repository by using CVSup. While CVSup is faster at updating large trees, it is not as widely available as the standard cvs client. We will describe now how you can use CVSup.

  1. Download the appropiate binary distribution from the CVSup homepage.
  2. Follow the instructions in the Install file of the binary distribution
  3. Create a php.cvsup file containing the following content:
    *default host=CVSup.php.net
    *default base=/usr/src/php
    *default release=cvs
    *default compress
    *default tag=.
    *default delete use-rel-suffix
    php3
    php4
    
    This will cause the php3 and php4 trees to be stored in /usr/src/php (you need to create that directory manually).
  4. At a command prompt, simply type:
    cvsup php.cvsup
  5. If you are behind a firewall, you might need to use:
    cvsup -P - php.cvsup
  6. To build PHP, you need to install a few utilities (GNU autoconf, libtool, bison). Cd into php3 or php4 and run ./buildconf.