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 "https://ccvs.cvshome.org/files/documents/19/861/cvs-&cvs-version;.tar.bz2">
|
---|
8 | <!ENTITY cvs-download-ftp " ">
|
---|
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)">
|
---|
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 | </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 Versions System.
|
---|
33 | This is a version control system useful for projects using a central
|
---|
34 | repository to hold files and then track all changes made to those files.
|
---|
35 | These instructions install the client used to manipulate the repository,
|
---|
36 | creation of a repository is 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>
|
---|
56 | <para>Estimated build time: &cvs-time;</para>
|
---|
57 | </listitem>
|
---|
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>
|
---|
71 | <para><xref linkend="gdbm"/>,
|
---|
72 | <xref linkend="tcsh"/>,
|
---|
73 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
74 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
---|
75 | (for the GSSAPI libraries),
|
---|
76 | <xref linkend="gs"/> or <xref linkend="espgs"/>, and
|
---|
77 | <ulink url="../server/mail.html">an MTA</ulink></para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="installation">
|
---|
82 | <title>Installation of CVS</title>
|
---|
83 |
|
---|
84 | <para>By default <application>CVS</application> is statically linked
|
---|
85 | against the <application>Zlib</application> library included in its source
|
---|
86 | tree. This makes it exposed to possible security vulnerabilities in that
|
---|
87 | library. If you want to modify <application>CVS</application> to use the
|
---|
88 | system shared <application>Zlib</application> library, apply the following
|
---|
89 | 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 &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>If you have <xref linkend="tex"/> installed and wish to create PDF,
|
---|
100 | HTML or text docs from the documentation source files, issue any or all of
|
---|
101 | the following commands:</para>
|
---|
102 |
|
---|
103 | <screen><userinput>cd doc &&
|
---|
104 | texi2dvi --pdf --batch cvs.texinfo &&
|
---|
105 | texi2dvi --pdf --batch cvsclient.texi &&
|
---|
106 | texi2html cvs.texinfo &&
|
---|
107 | texi2html cvsclient.texi &&
|
---|
108 | makeinfo --plaintext cvs.texinfo >cvs.txt &&
|
---|
109 | makeinfo --plaintext cvsclient.texi >cvsclient.txt &&
|
---|
110 | cd ..</userinput></screen>
|
---|
111 |
|
---|
112 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
113 |
|
---|
114 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
115 |
|
---|
116 | <screen role='root'><userinput>make install &&
|
---|
117 | install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &&
|
---|
118 | install -v -m644 doc/*.ps /usr/share/doc/cvs-&cvs-version;</userinput></screen>
|
---|
119 |
|
---|
120 | <para>If you created any additional documentation, install it by issuing
|
---|
121 | the following command as the
|
---|
122 | <systemitem class="username">root</systemitem> user:</para>
|
---|
123 |
|
---|
124 | <screen role='root'><userinput>install -v -m644 doc/*.{pdf,html,txt} /usr/share/doc/cvs-&cvs-version;</userinput></screen>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="configuration">
|
---|
129 | <title>Configuring CVS</title>
|
---|
130 |
|
---|
131 | <sect3 id="cvs-config">
|
---|
132 | <title>Config Files</title>
|
---|
133 |
|
---|
134 | <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
|
---|
135 | and <filename>~/.cvspass</filename>.</para>
|
---|
136 |
|
---|
137 | <indexterm zone="cvs cvs-config">
|
---|
138 | <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
|
---|
139 | </indexterm>
|
---|
140 |
|
---|
141 | <indexterm zone="cvs cvs-config">
|
---|
142 | <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
|
---|
143 | </indexterm>
|
---|
144 |
|
---|
145 | <indexterm zone="cvs cvs-config">
|
---|
146 | <primary sortas="e-AA.cvspass">~/.cvspass</primary>
|
---|
147 | </indexterm>
|
---|
148 |
|
---|
149 | </sect3>
|
---|
150 |
|
---|
151 | <sect3>
|
---|
152 | <title>Configuration Information</title>
|
---|
153 |
|
---|
154 | <para><filename>~/.cvsrc</filename> is the main
|
---|
155 | <application>CVS</application> configuration file.
|
---|
156 | This file is used by users to specify defaults for different
|
---|
157 | <command>cvs</command> commands. For example, to make all
|
---|
158 | <command>cvs diff</command> commands run with <option>-u</option>, a user
|
---|
159 | would add <option>diff -u</option> to their <filename>.cvsrc</filename>
|
---|
160 | file.</para>
|
---|
161 |
|
---|
162 | <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
|
---|
163 | addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
|
---|
164 | file in the repository.</para>
|
---|
165 |
|
---|
166 | <para><filename>~/.cvspass</filename> can hold passwords to complete
|
---|
167 | logins to servers.</para>
|
---|
168 |
|
---|
169 | </sect3>
|
---|
170 |
|
---|
171 | </sect2>
|
---|
172 |
|
---|
173 | <sect2 role="content">
|
---|
174 | <title>Contents</title>
|
---|
175 |
|
---|
176 | <segmentedlist>
|
---|
177 | <segtitle>Installed Programs</segtitle>
|
---|
178 | <segtitle>Installed Libraries</segtitle>
|
---|
179 | <segtitle>Installed Directories</segtitle>
|
---|
180 |
|
---|
181 | <seglistitem>
|
---|
182 | <seg>cvs, cvsbug, and rcs2log</seg>
|
---|
183 | <seg>None</seg>
|
---|
184 | <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
|
---|
185 | </seglistitem>
|
---|
186 | </segmentedlist>
|
---|
187 |
|
---|
188 | <variablelist>
|
---|
189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
190 | <?dbfo list-presentation="list"?>
|
---|
191 | <?dbhtml list-presentation="table"?>
|
---|
192 |
|
---|
193 | <varlistentry id="cvs-prog">
|
---|
194 | <term><command>cvs</command></term>
|
---|
195 | <listitem>
|
---|
196 | <para>is the main program file for the concurrent versions system.</para>
|
---|
197 | <indexterm zone="cvs cvs-prog">
|
---|
198 | <primary sortas="b-cvs">cvs</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | <varlistentry id="cvsbug">
|
---|
204 | <term><command>cvsbug</command></term>
|
---|
205 | <listitem>
|
---|
206 | <para>is used to send problem reports about <application>CVS</application>
|
---|
207 | to a central support site.</para>
|
---|
208 | <indexterm zone="cvs cvsbug">
|
---|
209 | <primary sortas="b-cvsbug">cvsbug</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | <varlistentry id="rcs2log">
|
---|
215 | <term><command>rcs2log</command></term>
|
---|
216 | <listitem>
|
---|
217 | <para>is a symlink to the contributed RCS to Change Log
|
---|
218 | generator.</para>
|
---|
219 | <indexterm zone="cvs rcs2log">
|
---|
220 | <primary sortas="b-rcs2log">rcs2log</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 | </variablelist>
|
---|
225 |
|
---|
226 | </sect2>
|
---|
227 |
|
---|
228 | </sect1>
|
---|