source: basicnet/netprogs/cvs.xml@ 7bff1b2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7bff1b2 was 7bff1b2, checked in by Randy McMurchy <randy@…>, 15 years ago

Commented out all unnecessary references to GDBM as it is in LFS now

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7845 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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/source/stable/&cvs-version;/cvs-&cvs-version;.tar.bz2">
8 <!ENTITY cvs-download-ftp "ftp://ftp.gnu.org/non-gnu/cvs/source/stable/&cvs-version;/cvs-&cvs-version;.tar.bz2">
9 <!ENTITY cvs-md5sum "0213ea514e231559d6ff8f80a34117f0">
10 <!ENTITY cvs-size "2.9 MB">
11 <!ENTITY cvs-buildsize "32.3 MB">
12 <!ENTITY cvs-time "0.3 SBU (additional ~20 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 role="optional"><!-- <xref linkend="gdbm"/>, -->
72 <xref linkend="tcsh"/>,
73 <xref linkend="openssh"/>,
74 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
75 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
76 (for the GSSAPI libraries),
77 <xref linkend="gs"/> or <xref linkend="espgs"/>, and
78 an <xref linkend="server-mail"/> (that provides a
79 <command>sendmail</command> command)</para>
80
81 <para><application>CVS</application> will invoke a default text editor to
82 create a commit message if the <parameter>-m "Commit message"</parameter>
83 parameter was not used when changes are committed to a repository.
84 <application>CVS</application> looks for the following text editors, in the
85 order shown below, during configuration to determine the default. This
86 default can always be overridden by the <envar>CVSEDITOR</envar> or
87 <envar>EDITOR</envar> environment variables and can be specified directly
88 by passing the <option>--with-editor=<replaceable>&lt;desired text
89 editor&gt;</replaceable></option> parameter to the
90 <command>configure</command> script.</para>
91
92 <itemizedlist spacing='compact'>
93 <listitem>
94 <para><xref linkend="vim"/></para>
95 </listitem>
96 <listitem>
97 <para><xref linkend="emacs"/></para>
98 </listitem>
99 <listitem>
100 <para><xref linkend="nano"/></para>
101 </listitem>
102 <listitem>
103 <para><xref linkend="pine"/> (for Pico)</para>
104 </listitem>
105 </itemizedlist>
106
107
108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/cvs"/></para>
110
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of CVS</title>
115
116 <para>By default <application>CVS</application> is statically linked
117 against the <application>Zlib</application> library included in its source
118 tree. This makes it exposed to possible security vulnerabilities in that
119 library. If you want to modify <application>CVS</application> to use the
120 system shared <application>Zlib</application> library, apply the following
121 patch:</para>
122
123<screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
124
125 <para>Install <application>CVS</application> by running
126 the following commands:</para>
127
128<screen><userinput>./configure --prefix=/usr &amp;&amp;
129make</userinput></screen>
130
131 <para>If you have <xref linkend="tetex"/> installed and wish to create
132 DVI, Postscript, HTML or text docs from the documentation source files,
133 issue the following command:</para>
134
135<screen><userinput>make -C doc html txt dvi ps</userinput></screen>
136
137 <para>To test the results, issue: <command>make check</command>. This will
138 take quite a while. If you don't have <command>rsh</command> configured for
139 access to the host you are building on (or you didn't pass the
140 <option>--with-rsh=</option> parameter to the <command>configure</command>
141 script, some tests may fail. If you passed the
142 <option>--with-rsh=ssh</option> parameter to enable <command>ssh</command>
143 as the default remote shell program, you'll need to issue the following
144 command so that the tests will complete without any failures:</para>
145
146<screen><userinput>sed -e 's/rsh};/ssh};/' \
147 -e 's/g=rw,o=r$/g=r,o=r/' \
148 -i src/sanity.sh</userinput></screen>
149
150 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
151
152<screen role='root'><userinput>make install &amp;&amp;
153install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &amp;&amp;
154install -v -m644 FAQ README /usr/share/doc/cvs-&cvs-version; &amp;&amp;
155install -v -m644 doc/*.pdf /usr/share/doc/cvs-&cvs-version;</userinput></screen>
156
157 <para>If you created any additional documentation, install it by issuing
158 the following commands as the
159 <systemitem class="username">root</systemitem> user:</para>
160
161<screen role='root'><userinput>install -v -m644 doc/*.{ps,dvi,txt} /usr/share/doc/cvs-&cvs-version; &amp;&amp;
162install -v -m755 -d /usr/share/doc/cvs-&cvs-version;/html/cvs{,client} &amp;&amp;
163install -v -m644 doc/cvs.html/* \
164 /usr/share/doc/cvs-&cvs-version;/html/cvs &amp;&amp;
165install -v -m644 doc/cvsclient.html/* \
166 /usr/share/doc/cvs-&cvs-version;/html/cvsclient</userinput></screen>
167
168 </sect2>
169
170 <sect2 role="configuration">
171 <title>Configuring CVS</title>
172
173 <sect3 id="cvs-config">
174 <title>Config Files</title>
175
176 <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
177 and <filename>~/.cvspass</filename>.</para>
178
179 <indexterm zone="cvs cvs-config">
180 <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
181 </indexterm>
182
183 <indexterm zone="cvs cvs-config">
184 <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
185 </indexterm>
186
187 <indexterm zone="cvs cvs-config">
188 <primary sortas="e-AA.cvspass">~/.cvspass</primary>
189 </indexterm>
190
191 </sect3>
192
193 <sect3>
194 <title>Configuration Information</title>
195
196 <para><filename>~/.cvsrc</filename> is the main
197 <application>CVS</application> configuration file.
198 This file is used by users to specify defaults for different
199 <command>cvs</command> commands. For example, to make all
200 <command>cvs diff</command> commands run with <option>-u</option>, a user
201 would add <option>diff -u</option> to their <filename>.cvsrc</filename>
202 file.</para>
203
204 <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
205 addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
206 file in the repository.</para>
207
208 <para><filename>~/.cvspass</filename> contains passwords used to complete
209 logins to servers.</para>
210
211 </sect3>
212
213 </sect2>
214
215 <sect2 role="content">
216 <title>Contents</title>
217
218 <segmentedlist>
219 <segtitle>Installed Programs</segtitle>
220 <segtitle>Installed Libraries</segtitle>
221 <segtitle>Installed Directories</segtitle>
222
223 <seglistitem>
224 <seg>cvs, cvsbug, and rcs2log</seg>
225 <seg>None</seg>
226 <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
227 </seglistitem>
228 </segmentedlist>
229
230 <variablelist>
231 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
232 <?dbfo list-presentation="list"?>
233 <?dbhtml list-presentation="table"?>
234
235 <varlistentry id="cvs-prog">
236 <term><command>cvs</command></term>
237 <listitem>
238 <para>is the main program file for the concurrent versions system.</para>
239 <indexterm zone="cvs cvs-prog">
240 <primary sortas="b-cvs">cvs</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="cvsbug">
246 <term><command>cvsbug</command></term>
247 <listitem>
248 <para>is used to send problem reports about <application>CVS</application>
249 to a central support site.</para>
250 <indexterm zone="cvs cvsbug">
251 <primary sortas="b-cvsbug">cvsbug</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="rcs2log">
257 <term><command>rcs2log</command></term>
258 <listitem>
259 <para>is a symlink to the contributed RCS to Change Log
260 generator.</para>
261 <indexterm zone="cvs rcs2log">
262 <primary sortas="b-rcs2log">rcs2log</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266 </variablelist>
267
268 </sect2>
269
270</sect1>
Note: See TracBrowser for help on using the repository browser.