About Sudo
 Main Sudo Page
 A Short Introduction
 Sudo News
 Current Version
 Beta Versions
 A Brief History
 Authors

Getting Sudo
 Purchase Sudo
 Download Sudo
 AnonCVS
 CVSweb
 Mirroring Sudo

Documentation
 README for Sudo
 README for LDAP
 Installation Notes
 Supported Platforms
 Troubleshooting FAQ
 License
 Changelog
 Sudo Manual
 Sudoers Manual
 Visudo Manual
 Other Documentation

Sudo Resources
 Commercial Support
 Web Site Mirrors
 Mailing Lists
 Sudo Security Alerts
 Bug Tracking System
 Sudo Tools
 Similar Utilities

Other
 Site Search
 GratiSoft main page
 Mktemp page
 Newsyslog page
 Todd's page

[Powered by OpenBSD]

 
Tracking sudo via anonymous CVS

The sudo source tree is available for checkout via anonymous CVS (from as far back as 1993) for those who wish to track the development of sudo or contribute patches.

There are three ways to access the repository, via rsh, via ssh or via a cvs pserver connection.

RSH and SSH methods

To use ssh, you will need to set the following environment variables:
    setenv CVS_CLIENT_PORT -1
    setenv CVS_RSH /path/to/ssh
This is not necessary if you plan to use rsh.

You can then check out a copy of the tree by doing:

    cvs -d anoncvs@anoncvs.sudo.ws:/cvs get sudo
This will create a sudo directory and populate it with the sudo development tree.

CVS PSERVER method

To use the cvs pserver method to connect, you first need to login (you only need to do this once).
    cvs -d :pserver:anoncvs@anoncvs.sudo.ws:/cvs login
When you are prompted to enter a CVS password; use "anoncvs". You can then check out a copy of the tree by doing:
    cvs -d :pserver:anoncvs@anoncvs.sudo.ws:/cvs get sudo
This will create a sudo directory and populate it with the sudo development tree.

Common to all methods

Once you have a tree checked out, you can update it thusly:
    cd sudo; cvs up -PAd
You can also do standard CVS operations like log, diff, an annotate. For instance, to see the differences between versions 1.215 and 1.216 of sudo.c in unified diff format, you would:
    cvs diff -u -r1.215 -r1.216 sudo.c
To see a list of all change messages for sudo.c, do:
    cvs log sudo.c
If you are not familiar with cvs you should refer to the documentation for further instructions.

Web-based CVS

You can also browse the sudo cvs tree with your web browser via cvsweb. This provides a nice interface and can be handy when you don't necessarily want to check out a full copy of the source tree.

FTP-based CVS

There is now a mirror of the cvs tree available via ftp from ftp://ftp.stikman.com/pub/sudocvs.

HTTP-based CVS

There is also a mirror of the cvs tree available via http from http://sudo.tolix.org/cvs/mirrors/sudo_www/.

Mirroring the CVS tree

You can mirror the cvs tree via the sup command by using the following as your supfile
    sudo host=anoncvs.sudo.ws hostbase=/ base=DESTDIR delete
where DESTDIR is where you want sup to store the mirror on your local disk.

You can also mirror the cvs tree via rsync.

Caveats

The first version of sudo to be generated from the cvs tree is 1.5.8. Prior to that the source tree was stored in RCS without the use of symbolic tags. While there are symbolic tags for versions previous to 1.5.8, not all files included in those distributions have corresponding versions in the cvs tree.

Copyright © 2004 GratiSoft, Inc.

Hosted by Linux Resources