[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[f9ff74b] | 7 | <!ENTITY cvs-download-http "http://ftp.gnu.org/non-gnu/cvs/cvs-&cvs-version;.tar.bz2">
|
---|
| 8 | <!ENTITY cvs-download-ftp "ftp://ftp.gnu.org/non-gnu/cvs/cvs-&cvs-version;.tar.bz2">
|
---|
| 9 | <!ENTITY cvs-md5sum "54dd9eeb0648c9eef680df7cb26c710e">
|
---|
| 10 | <!ENTITY cvs-size "2.8 MB">
|
---|
[b136a6d] | 11 | <!ENTITY cvs-buildsize "22 MB">
|
---|
| 12 | <!ENTITY cvs-time "0.3 SBU (additional 19.1 SBU to run the test suite)">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
| 14 |
|
---|
[9635613] | 15 | <sect1 id="cvs" xreflabel="CVS-&cvs-version;">
|
---|
[b3497e4] | 16 | <?dbhtml filename="cvs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[4dbbf634] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">cvs-&cvs-version;.tar</keyword>
|
---|
[25475f5] | 23 | <keyword role="ftpdir">cvs</keyword>
|
---|
[4dbbf634] | 24 | </keywordset>
|
---|
[b3497e4] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>CVS-&cvs-version;</title>
|
---|
[bab92281] | 28 |
|
---|
[b3497e4] | 29 | <indexterm zone="cvs">
|
---|
| 30 | <primary sortas="a-CVS">CVS</primary>
|
---|
| 31 | </indexterm>
|
---|
[bab92281] | 32 |
|
---|
[b3497e4] | 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to CVS</title>
|
---|
| 35 |
|
---|
[919683dc] | 36 | <para><application>CVS</application> is the Concurrent Versions System.
|
---|
[f9461f8] | 37 | This is a version control system useful for projects using a central
|
---|
| 38 | repository to hold files and then track all changes made to those files.
|
---|
| 39 | These instructions install the client used to manipulate the repository,
|
---|
| 40 | creation of a repository is covered at <xref linkend="cvsserver"/>.</para>
|
---|
[bab92281] | 41 |
|
---|
[b3497e4] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&cvs-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&cvs-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &cvs-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &cvs-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &cvs-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[dc6715a] | 60 | <para>Estimated build time: &cvs-time;</para>
|
---|
| 61 | </listitem>
|
---|
[b3497e4] | 62 | </itemizedlist>
|
---|
[bab92281] | 63 |
|
---|
[b3497e4] | 64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Recommended patch: <ulink
|
---|
| 68 | url="&patch-root;/cvs-&cvs-version;-zlib-1.patch"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[bab92281] | 71 |
|
---|
[b3497e4] | 72 | <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
|
---|
[bab92281] | 73 |
|
---|
[b3497e4] | 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 75 | <para role="optional"><xref linkend="gdbm"/>,
|
---|
[17e6d48] | 76 | <xref linkend="tcsh"/>,
|
---|
[b3497e4] | 77 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
[bab92281] | 78 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
---|
[b136a6d] | 79 | (for the GSSAPI libraries),
|
---|
[ce2bf7d] | 80 | <xref linkend="gs"/> or <xref linkend="espgs"/>, and
|
---|
| 81 | <ulink url="../server/mail.html">an MTA</ulink></para>
|
---|
[b3497e4] | 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of CVS</title>
|
---|
| 87 |
|
---|
[f9461f8] | 88 | <para>By default <application>CVS</application> is statically linked
|
---|
| 89 | against the <application>Zlib</application> library included in its source
|
---|
| 90 | tree. This makes it exposed to possible security vulnerabilities in that
|
---|
| 91 | library. If you want to modify <application>CVS</application> to use the
|
---|
| 92 | system shared <application>Zlib</application> library, apply the following
|
---|
| 93 | patch:</para>
|
---|
[b3497e4] | 94 |
|
---|
| 95 | <screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
|
---|
| 96 |
|
---|
[339fbfb9] | 97 | <para>Install <application>CVS</application> by running
|
---|
[b3497e4] | 98 | the following commands:</para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[b136a6d] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
[f9461f8] | 103 | <para>If you have <xref linkend="tex"/> installed and wish to create PDF,
|
---|
| 104 | HTML or text docs from the documentation source files, issue any or all of
|
---|
| 105 | the following commands:</para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>cd doc &&
|
---|
| 108 | texi2dvi --pdf --batch cvs.texinfo &&
|
---|
| 109 | texi2dvi --pdf --batch cvsclient.texi &&
|
---|
| 110 | texi2html cvs.texinfo &&
|
---|
| 111 | texi2html cvsclient.texi &&
|
---|
| 112 | makeinfo --plaintext cvs.texinfo >cvs.txt &&
|
---|
| 113 | makeinfo --plaintext cvsclient.texi >cvsclient.txt &&
|
---|
| 114 | cd ..</userinput></screen>
|
---|
| 115 |
|
---|
[b136a6d] | 116 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 117 |
|
---|
| 118 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 119 |
|
---|
| 120 | <screen role='root'><userinput>make install &&
|
---|
| 121 | install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &&
|
---|
[f147ee8] | 122 | install -v -m644 doc/*.pdf /usr/share/doc/cvs-&cvs-version;</userinput></screen>
|
---|
[f9461f8] | 123 |
|
---|
| 124 | <para>If you created any additional documentation, install it by issuing
|
---|
| 125 | the following command as the
|
---|
| 126 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 127 |
|
---|
| 128 | <screen role='root'><userinput>install -v -m644 doc/*.{pdf,html,txt} /usr/share/doc/cvs-&cvs-version;</userinput></screen>
|
---|
[b3497e4] | 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="configuration">
|
---|
| 133 | <title>Configuring CVS</title>
|
---|
[bab92281] | 134 |
|
---|
[b3497e4] | 135 | <sect3 id="cvs-config">
|
---|
| 136 | <title>Config Files</title>
|
---|
[bab92281] | 137 |
|
---|
[b3497e4] | 138 | <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
|
---|
| 139 | and <filename>~/.cvspass</filename>.</para>
|
---|
[bab92281] | 140 |
|
---|
[b3497e4] | 141 | <indexterm zone="cvs cvs-config">
|
---|
| 142 | <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
|
---|
| 143 | </indexterm>
|
---|
[bab92281] | 144 |
|
---|
[b3497e4] | 145 | <indexterm zone="cvs cvs-config">
|
---|
| 146 | <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
|
---|
| 147 | </indexterm>
|
---|
[bab92281] | 148 |
|
---|
[b3497e4] | 149 | <indexterm zone="cvs cvs-config">
|
---|
| 150 | <primary sortas="e-AA.cvspass">~/.cvspass</primary>
|
---|
| 151 | </indexterm>
|
---|
[bab92281] | 152 |
|
---|
[b3497e4] | 153 | </sect3>
|
---|
| 154 |
|
---|
| 155 | <sect3>
|
---|
| 156 | <title>Configuration Information</title>
|
---|
| 157 |
|
---|
| 158 | <para><filename>~/.cvsrc</filename> is the main
|
---|
| 159 | <application>CVS</application> configuration file.
|
---|
[339fbfb9] | 160 | This file is used by users to specify defaults for different
|
---|
| 161 | <command>cvs</command> commands. For example, to make all
|
---|
| 162 | <command>cvs diff</command> commands run with <option>-u</option>, a user
|
---|
| 163 | would add <option>diff -u</option> to their <filename>.cvsrc</filename>
|
---|
| 164 | file.</para>
|
---|
[b3497e4] | 165 |
|
---|
[17e6d48] | 166 | <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
|
---|
[bab92281] | 167 | addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
|
---|
[b3497e4] | 168 | file in the repository.</para>
|
---|
[bab92281] | 169 |
|
---|
[b3497e4] | 170 | <para><filename>~/.cvspass</filename> can hold passwords to complete
|
---|
| 171 | logins to servers.</para>
|
---|
[bab92281] | 172 |
|
---|
[b3497e4] | 173 | </sect3>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
[bab92281] | 179 |
|
---|
[b3497e4] | 180 | <segmentedlist>
|
---|
| 181 | <segtitle>Installed Programs</segtitle>
|
---|
| 182 | <segtitle>Installed Libraries</segtitle>
|
---|
| 183 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 184 |
|
---|
[b3497e4] | 185 | <seglistitem>
|
---|
| 186 | <seg>cvs, cvsbug, and rcs2log</seg>
|
---|
| 187 | <seg>None</seg>
|
---|
[b136a6d] | 188 | <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
|
---|
[b3497e4] | 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
[bab92281] | 191 |
|
---|
[b3497e4] | 192 | <variablelist>
|
---|
| 193 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 194 | <?dbfo list-presentation="list"?>
|
---|
| 195 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 196 |
|
---|
[b3497e4] | 197 | <varlistentry id="cvs-prog">
|
---|
| 198 | <term><command>cvs</command></term>
|
---|
| 199 | <listitem>
|
---|
[919683dc] | 200 | <para>is the main program file for the concurrent versions system.</para>
|
---|
[b3497e4] | 201 | <indexterm zone="cvs cvs-prog">
|
---|
| 202 | <primary sortas="b-cvs">cvs</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
[bab92281] | 206 |
|
---|
[b3497e4] | 207 | <varlistentry id="cvsbug">
|
---|
| 208 | <term><command>cvsbug</command></term>
|
---|
| 209 | <listitem>
|
---|
[bab92281] | 210 | <para>is used to send problem reports about <application>CVS</application>
|
---|
[b3497e4] | 211 | to a central support site.</para>
|
---|
| 212 | <indexterm zone="cvs cvsbug">
|
---|
| 213 | <primary sortas="b-cvsbug">cvsbug</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
[bab92281] | 217 |
|
---|
[b3497e4] | 218 | <varlistentry id="rcs2log">
|
---|
| 219 | <term><command>rcs2log</command></term>
|
---|
| 220 | <listitem>
|
---|
[17e6d48] | 221 | <para>is a symlink to the contributed RCS to Change Log
|
---|
[b136a6d] | 222 | generator.</para>
|
---|
[b3497e4] | 223 | <indexterm zone="cvs rcs2log">
|
---|
| 224 | <primary sortas="b-rcs2log">rcs2log</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 | </variablelist>
|
---|
[bab92281] | 229 |
|
---|
[b3497e4] | 230 | </sect2>
|
---|
[bab92281] | 231 |
|
---|
[f45b1953] | 232 | </sect1>
|
---|