source: basicnet/netprogs/cvs.xml@ 5d678ec

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 5d678ec was 5d678ec, checked in by Randy McMurchy <randy@…>, 18 years ago

Corrections to the CVS instructions: fixed broken download URLs and corrected documentation installation commands

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

  • Property mode set to 100644
File size: 8.2 KB
Line 
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/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 "54dd9eeb0648c9eef680df7cb26c710e">
10 <!ENTITY cvs-size "2.8 MB">
11 <!ENTITY cvs-buildsize "30.5 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 <keywordset>
22 <keyword role="package">cvs-&cvs-version;.tar</keyword>
23 <keyword role="ftpdir">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 <xref linkend="sendmail"/> (or any other
82 <ulink url="../server/mail.html">MTA</ulink> that provides a
83 <command>sendmail</command> command)</para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of CVS</title>
89
90 <para>By default <application>CVS</application> is statically linked
91 against the <application>Zlib</application> library included in its source
92 tree. This makes it exposed to possible security vulnerabilities in that
93 library. If you want to modify <application>CVS</application> to use the
94 system shared <application>Zlib</application> library, apply the following
95 patch:</para>
96
97<screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
98
99 <para>Install <application>CVS</application> by running
100 the following commands:</para>
101
102<screen><userinput>./configure --prefix=/usr &amp;&amp;
103make</userinput></screen>
104
105 <para>If you have <xref linkend="tex"/> installed and wish to create
106 Postscript, HTML or text docs from the documentation source files, issue
107 any or all of the following commands:</para>
108
109<screen><userinput>cd doc &amp;&amp;
110texi2dvi cvs.texinfo &amp;&amp;
111texi2dvi cvsclient.texi &amp;&amp;
112dvips -o cvs.ps cvs.dvi &amp;&amp;
113dvips -o cvsclient.ps cvsclient.dvi &amp;&amp;
114texi2html cvs.texinfo &amp;&amp;
115texi2html cvsclient.texi &amp;&amp;
116makeinfo --plaintext -o cvs.txt cvs.texinfo &amp;&amp;
117makeinfo --plaintext -o cvsclient.txt cvsclient.texi &amp;&amp;
118cd ..</userinput></screen>
119
120 <para>To test the results, issue: <command>make check</command>. This will
121 take quite a while.</para>
122
123 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
124
125<screen role='root'><userinput>make install &amp;&amp;
126install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &amp;&amp;
127install -v -m644 FAQ README /usr/share/doc/cvs-&cvs-version; &amp;&amp;
128install -v -m644 doc/*.pdf /usr/share/doc/cvs-&cvs-version;</userinput></screen>
129
130 <para>If you created any additional documentation, install it by issuing
131 the following command as the
132 <systemitem class="username">root</systemitem> user:</para>
133
134<screen role='root'><userinput>install -v -m644 doc/*.{ps,dvi,html,txt} /usr/share/doc/cvs-&cvs-version;</userinput></screen>
135
136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring CVS</title>
140
141 <sect3 id="cvs-config">
142 <title>Config Files</title>
143
144 <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
145 and <filename>~/.cvspass</filename>.</para>
146
147 <indexterm zone="cvs cvs-config">
148 <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
149 </indexterm>
150
151 <indexterm zone="cvs cvs-config">
152 <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
153 </indexterm>
154
155 <indexterm zone="cvs cvs-config">
156 <primary sortas="e-AA.cvspass">~/.cvspass</primary>
157 </indexterm>
158
159 </sect3>
160
161 <sect3>
162 <title>Configuration Information</title>
163
164 <para><filename>~/.cvsrc</filename> is the main
165 <application>CVS</application> configuration file.
166 This file is used by users to specify defaults for different
167 <command>cvs</command> commands. For example, to make all
168 <command>cvs diff</command> commands run with <option>-u</option>, a user
169 would add <option>diff -u</option> to their <filename>.cvsrc</filename>
170 file.</para>
171
172 <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
173 addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
174 file in the repository.</para>
175
176 <para><filename>~/.cvspass</filename> can hold passwords to complete
177 logins to servers.</para>
178
179 </sect3>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Libraries</segtitle>
189 <segtitle>Installed Directories</segtitle>
190
191 <seglistitem>
192 <seg>cvs, cvsbug, and rcs2log</seg>
193 <seg>None</seg>
194 <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="cvs-prog">
204 <term><command>cvs</command></term>
205 <listitem>
206 <para>is the main program file for the concurrent versions system.</para>
207 <indexterm zone="cvs cvs-prog">
208 <primary sortas="b-cvs">cvs</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="cvsbug">
214 <term><command>cvsbug</command></term>
215 <listitem>
216 <para>is used to send problem reports about <application>CVS</application>
217 to a central support site.</para>
218 <indexterm zone="cvs cvsbug">
219 <primary sortas="b-cvsbug">cvsbug</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="rcs2log">
225 <term><command>rcs2log</command></term>
226 <listitem>
227 <para>is a symlink to the contributed RCS to Change Log
228 generator.</para>
229 <indexterm zone="cvs rcs2log">
230 <primary sortas="b-rcs2log">rcs2log</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234 </variablelist>
235
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.