[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 |
|
---|
[b136a6d] | 7 | <!ENTITY cvs-download-http "https://ccvs.cvshome.org/files/documents/19/861/cvs-&cvs-version;.tar.bz2">
|
---|
[d47e7ea9] | 8 | <!ENTITY cvs-download-ftp " ">
|
---|
[b136a6d] | 9 | <!ENTITY cvs-md5sum "9e215c0ee3bb7dfb76515d7cd81a3742">
|
---|
| 10 | <!ENTITY cvs-size "2.4 MB">
|
---|
| 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>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>CVS-&cvs-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="cvs">
|
---|
| 26 | <primary sortas="a-CVS">CVS</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to CVS</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>CVS</application> is the Concurrent Versioning System.
|
---|
| 33 | This is a version control system useful for projects using a central repository
|
---|
| 34 | to hold files and then track all changes made to those files. These instructions
|
---|
| 35 | install the client used to manipulate the repository, creation of a repository is
|
---|
| 36 | covered at <xref linkend="cvsserver"/>.</para>
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&cvs-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&cvs-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &cvs-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &cvs-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &cvs-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[dc6715a] | 56 | <para>Estimated build time: &cvs-time;</para>
|
---|
| 57 | </listitem>
|
---|
[b3497e4] | 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing='compact'>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Recommended patch: <ulink
|
---|
| 64 | url="&patch-root;/cvs-&cvs-version;-zlib-1.patch"/></para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b136a6d] | 71 | <para><xref linkend="gdbm"/>,
|
---|
| 72 | <xref linkend="tcsh"/>,
|
---|
[b3497e4] | 73 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
[b136a6d] | 74 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
---|
| 75 | (for the GSSAPI libraries),
|
---|
[b3497e4] | 76 | <xref linkend="gs"/> or <xref linkend="espgs"/>,
|
---|
| 77 | <ulink url="../server/mail.html">MTA</ulink> and
|
---|
| 78 | <xref linkend="vim"/></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of CVS</title>
|
---|
| 84 |
|
---|
| 85 | <para>By default <application>CVS</application>
|
---|
| 86 | is statically linked against the zlib library included in its source
|
---|
| 87 | tree. This makes it exposed to possible security vulnerabilities in that
|
---|
| 88 | library. If you want to modify CVS to use the newest system shared zlib
|
---|
| 89 | library apply the following patch:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | <para>Install <application>cvs</application> by running
|
---|
| 94 | the following commands:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[b136a6d] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 100 |
|
---|
| 101 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role='root'><userinput>make install &&
|
---|
| 104 | install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &&
|
---|
| 105 | install -v -m644 doc/cvs{,client}.ps /usr/share/doc/cvs-&cvs-version;</userinput></screen>
|
---|
[b3497e4] | 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="configuration">
|
---|
| 110 | <title>Configuring CVS</title>
|
---|
| 111 |
|
---|
| 112 | <sect3 id="cvs-config">
|
---|
| 113 | <title>Config Files</title>
|
---|
| 114 |
|
---|
| 115 | <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
|
---|
| 116 | and <filename>~/.cvspass</filename>.</para>
|
---|
| 117 |
|
---|
| 118 | <indexterm zone="cvs cvs-config">
|
---|
| 119 | <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 |
|
---|
| 122 | <indexterm zone="cvs cvs-config">
|
---|
| 123 | <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 |
|
---|
| 126 | <indexterm zone="cvs cvs-config">
|
---|
| 127 | <primary sortas="e-AA.cvspass">~/.cvspass</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 |
|
---|
| 130 | </sect3>
|
---|
| 131 |
|
---|
| 132 | <sect3>
|
---|
| 133 | <title>Configuration Information</title>
|
---|
| 134 |
|
---|
| 135 | <para><filename>~/.cvsrc</filename> is the main
|
---|
| 136 | <application>CVS</application> configuration file.
|
---|
| 137 | This file is used by users to specify defaults for different <command>cvs
|
---|
| 138 | </command> commands, for example to make all <command>cvs diff</command>
|
---|
| 139 | commands run with <userinput>-u</userinput>, a user would add <userinput>
|
---|
| 140 | diff -u</userinput> to their <filename>.cvsrc</filename> file.</para>
|
---|
| 141 |
|
---|
| 142 | <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
|
---|
| 143 | addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
|
---|
| 144 | file in the repository.</para>
|
---|
| 145 |
|
---|
| 146 | <para><filename>~/.cvspass</filename> can hold passwords to complete
|
---|
| 147 | logins to servers.</para>
|
---|
| 148 |
|
---|
| 149 | </sect3>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="content">
|
---|
| 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
| 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Programs</segtitle>
|
---|
| 158 | <segtitle>Installed Libraries</segtitle>
|
---|
| 159 | <segtitle>Installed Directories</segtitle>
|
---|
| 160 |
|
---|
| 161 | <seglistitem>
|
---|
| 162 | <seg>cvs, cvsbug, and rcs2log</seg>
|
---|
| 163 | <seg>None</seg>
|
---|
[b136a6d] | 164 | <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
|
---|
[b3497e4] | 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="cvs-prog">
|
---|
| 174 | <term><command>cvs</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>is the main program file for the concurrent versioning system.</para>
|
---|
| 177 | <indexterm zone="cvs cvs-prog">
|
---|
| 178 | <primary sortas="b-cvs">cvs</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="cvsbug">
|
---|
| 184 | <term><command>cvsbug</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>is used to send problem reports about <application>CVS</application>
|
---|
| 187 | to a central support site.</para>
|
---|
| 188 | <indexterm zone="cvs cvsbug">
|
---|
| 189 | <primary sortas="b-cvsbug">cvsbug</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="rcs2log">
|
---|
| 195 | <term><command>rcs2log</command></term>
|
---|
| 196 | <listitem>
|
---|
[b136a6d] | 197 | <para>is a symlink to the contributed RCS to Change Log
|
---|
| 198 | generator.</para>
|
---|
[b3497e4] | 199 | <indexterm zone="cvs rcs2log">
|
---|
| 200 | <primary sortas="b-rcs2log">rcs2log</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 | </variablelist>
|
---|
| 205 |
|
---|
| 206 | </sect2>
|
---|
| 207 |
|
---|
[f45b1953] | 208 | </sect1>
|
---|