This site will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device.
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.
To use ssh, you will need to set the following environment variables:
setenv CVS_CLIENT_PORT -1 setenv CVS_RSH /path/to/sshThis 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 sudoThis will create a sudo directory and populate it with the sudo development tree.
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 loginWhen 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 sudoThis will create a sudo directory and populate it with the sudo development tree.
Once you have a tree checked out, you can update it thusly:
cd sudo; cvs up -PAdYou 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.cTo see a list of all change messages for sudo.c, do:
cvs log sudo.cIf you are not familiar with cvs you should refer to the documentation for further instructions.
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.
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.
powered by xxx tracker