1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
11 | <!ENTITY cvs-buildsize "22 MB">
|
---|
12 | <!ENTITY cvs-time "0.3 SBU (additional 19.1 SBU to run the test suite)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="cvs" xreflabel="CVS-&cvs-version;">
|
---|
16 | <?dbhtml filename="cvs.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">cvs-&cvs-version;.tar</keyword>
|
---|
23 | <keyword role="ftptdir">cvs</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>CVS-&cvs-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="cvs">
|
---|
30 | <primary sortas="a-CVS">CVS</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to CVS</title>
|
---|
35 |
|
---|
36 | <para><application>CVS</application> is the Concurrent Versions System.
|
---|
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>
|
---|
41 |
|
---|
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>
|
---|
60 | <para>Estimated build time: &cvs-time;</para>
|
---|
61 | </listitem>
|
---|
62 | </itemizedlist>
|
---|
63 |
|
---|
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>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
75 | <para role="optional"><xref linkend="gdbm"/>,
|
---|
76 | <xref linkend="tcsh"/>,
|
---|
77 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
78 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
---|
79 | (for the GSSAPI libraries),
|
---|
80 | <xref linkend="gs"/> or <xref linkend="espgs"/>, and
|
---|
81 | <ulink url="../server/mail.html">an MTA</ulink></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of CVS</title>
|
---|
87 |
|
---|
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>
|
---|
94 |
|
---|
95 | <screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
|
---|
96 |
|
---|
97 | <para>Install <application>CVS</application> by running
|
---|
98 | the following commands:</para>
|
---|
99 |
|
---|
100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
101 | make</userinput></screen>
|
---|
102 |
|
---|
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 |
|
---|
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; &&
|
---|
122 | install -v -m644 doc/*.pdf /usr/share/doc/cvs-&cvs-version;</userinput></screen>
|
---|
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>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="configuration">
|
---|
133 | <title>Configuring CVS</title>
|
---|
134 |
|
---|
135 | <sect3 id="cvs-config">
|
---|
136 | <title>Config Files</title>
|
---|
137 |
|
---|
138 | <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
|
---|
139 | and <filename>~/.cvspass</filename>.</para>
|
---|
140 |
|
---|
141 | <indexterm zone="cvs cvs-config">
|
---|
142 | <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
|
---|
143 | </indexterm>
|
---|
144 |
|
---|
145 | <indexterm zone="cvs cvs-config">
|
---|
146 | <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
|
---|
147 | </indexterm>
|
---|
148 |
|
---|
149 | <indexterm zone="cvs cvs-config">
|
---|
150 | <primary sortas="e-AA.cvspass">~/.cvspass</primary>
|
---|
151 | </indexterm>
|
---|
152 |
|
---|
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.
|
---|
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>
|
---|
165 |
|
---|
166 | <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
|
---|
167 | addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
|
---|
168 | file in the repository.</para>
|
---|
169 |
|
---|
170 | <para><filename>~/.cvspass</filename> can hold passwords to complete
|
---|
171 | logins to servers.</para>
|
---|
172 |
|
---|
173 | </sect3>
|
---|
174 |
|
---|
175 | </sect2>
|
---|
176 |
|
---|
177 | <sect2 role="content">
|
---|
178 | <title>Contents</title>
|
---|
179 |
|
---|
180 | <segmentedlist>
|
---|
181 | <segtitle>Installed Programs</segtitle>
|
---|
182 | <segtitle>Installed Libraries</segtitle>
|
---|
183 | <segtitle>Installed Directories</segtitle>
|
---|
184 |
|
---|
185 | <seglistitem>
|
---|
186 | <seg>cvs, cvsbug, and rcs2log</seg>
|
---|
187 | <seg>None</seg>
|
---|
188 | <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
|
---|
189 | </seglistitem>
|
---|
190 | </segmentedlist>
|
---|
191 |
|
---|
192 | <variablelist>
|
---|
193 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
194 | <?dbfo list-presentation="list"?>
|
---|
195 | <?dbhtml list-presentation="table"?>
|
---|
196 |
|
---|
197 | <varlistentry id="cvs-prog">
|
---|
198 | <term><command>cvs</command></term>
|
---|
199 | <listitem>
|
---|
200 | <para>is the main program file for the concurrent versions system.</para>
|
---|
201 | <indexterm zone="cvs cvs-prog">
|
---|
202 | <primary sortas="b-cvs">cvs</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | <varlistentry id="cvsbug">
|
---|
208 | <term><command>cvsbug</command></term>
|
---|
209 | <listitem>
|
---|
210 | <para>is used to send problem reports about <application>CVS</application>
|
---|
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>
|
---|
217 |
|
---|
218 | <varlistentry id="rcs2log">
|
---|
219 | <term><command>rcs2log</command></term>
|
---|
220 | <listitem>
|
---|
221 | <para>is a symlink to the contributed RCS to Change Log
|
---|
222 | generator.</para>
|
---|
223 | <indexterm zone="cvs rcs2log">
|
---|
224 | <primary sortas="b-rcs2log">rcs2log</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 | </variablelist>
|
---|
229 |
|
---|
230 | </sect2>
|
---|
231 |
|
---|
232 | </sect1>
|
---|