source: basicnet/netprogs/cvs.xml@ 96ece2d7

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 96ece2d7 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
RevLine 
[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
[5d678ec]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">
[f9ff74b]9 <!ENTITY cvs-md5sum "54dd9eeb0648c9eef680df7cb26c710e">
10 <!ENTITY cvs-size "2.8 MB">
[5d678ec]11 <!ENTITY cvs-buildsize "30.5 MB">
12 <!ENTITY cvs-time "0.3 SBU (additional ~20 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>
[4dbbf634]21 <keywordset>
22 <keyword role="package">cvs-&cvs-version;.tar</keyword>
[25475f5]23 <keyword role="ftpdir">cvs</keyword>
[4dbbf634]24 </keywordset>
[b3497e4]25 </sect1info>
26
27 <title>CVS-&cvs-version;</title>
[bab92281]28
[b3497e4]29 <indexterm zone="cvs">
30 <primary sortas="a-CVS">CVS</primary>
31 </indexterm>
[bab92281]32
[b3497e4]33 <sect2 role="package">
34 <title>Introduction to CVS</title>
35
[919683dc]36 <para><application>CVS</application> is the Concurrent Versions System.
[f9461f8]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>
[bab92281]41
[b3497e4]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>
[dc6715a]60 <para>Estimated build time: &cvs-time;</para>
61 </listitem>
[b3497e4]62 </itemizedlist>
[bab92281]63
[b3497e4]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>
[bab92281]71
[b3497e4]72 <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
[bab92281]73
[b3497e4]74 <bridgehead renderas="sect4">Optional</bridgehead>
[4dbbf634]75 <para role="optional"><xref linkend="gdbm"/>,
[17e6d48]76 <xref linkend="tcsh"/>,
[b3497e4]77 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
[bab92281]78 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
[b136a6d]79 (for the GSSAPI libraries),
[ce2bf7d]80 <xref linkend="gs"/> or <xref linkend="espgs"/>, and
[5d678ec]81 <xref linkend="sendmail"/> (or any other
82 <ulink url="../server/mail.html">MTA</ulink> that provides a
83 <command>sendmail</command> command)</para>
[b3497e4]84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of CVS</title>
89
[f9461f8]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>
[b3497e4]96
97<screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
98
[339fbfb9]99 <para>Install <application>CVS</application> by running
[b3497e4]100 the following commands:</para>
101
102<screen><userinput>./configure --prefix=/usr &amp;&amp;
[b136a6d]103make</userinput></screen>
104
[5d678ec]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>
[f9461f8]108
109<screen><userinput>cd doc &amp;&amp;
[5d678ec]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;
[f9461f8]114texi2html cvs.texinfo &amp;&amp;
115texi2html cvsclient.texi &amp;&amp;
[5d678ec]116makeinfo --plaintext -o cvs.txt cvs.texinfo &amp;&amp;
117makeinfo --plaintext -o cvsclient.txt cvsclient.texi &amp;&amp;
[f9461f8]118cd ..</userinput></screen>
119
[5d678ec]120 <para>To test the results, issue: <command>make check</command>. This will
121 take quite a while.</para>
[b136a6d]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;
[5d678ec]127install -v -m644 FAQ README /usr/share/doc/cvs-&cvs-version; &amp;&amp;
[f147ee8]128install -v -m644 doc/*.pdf /usr/share/doc/cvs-&cvs-version;</userinput></screen>
[f9461f8]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
[5d678ec]134<screen role='root'><userinput>install -v -m644 doc/*.{ps,dvi,html,txt} /usr/share/doc/cvs-&cvs-version;</userinput></screen>
[b3497e4]135
136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring CVS</title>
[bab92281]140
[b3497e4]141 <sect3 id="cvs-config">
142 <title>Config Files</title>
[bab92281]143
[b3497e4]144 <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
145 and <filename>~/.cvspass</filename>.</para>
[bab92281]146
[b3497e4]147 <indexterm zone="cvs cvs-config">
148 <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
149 </indexterm>
[bab92281]150
[b3497e4]151 <indexterm zone="cvs cvs-config">
152 <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
153 </indexterm>
[bab92281]154
[b3497e4]155 <indexterm zone="cvs cvs-config">
156 <primary sortas="e-AA.cvspass">~/.cvspass</primary>
157 </indexterm>
[bab92281]158
[b3497e4]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.
[339fbfb9]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>
[b3497e4]171
[17e6d48]172 <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
[bab92281]173 addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
[b3497e4]174 file in the repository.</para>
[bab92281]175
[b3497e4]176 <para><filename>~/.cvspass</filename> can hold passwords to complete
177 logins to servers.</para>
[bab92281]178
[b3497e4]179 </sect3>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
[bab92281]185
[b3497e4]186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Libraries</segtitle>
189 <segtitle>Installed Directories</segtitle>
[bab92281]190
[b3497e4]191 <seglistitem>
192 <seg>cvs, cvsbug, and rcs2log</seg>
193 <seg>None</seg>
[b136a6d]194 <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
[b3497e4]195 </seglistitem>
196 </segmentedlist>
[bab92281]197
[b3497e4]198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
[bab92281]202
[b3497e4]203 <varlistentry id="cvs-prog">
204 <term><command>cvs</command></term>
205 <listitem>
[919683dc]206 <para>is the main program file for the concurrent versions system.</para>
[b3497e4]207 <indexterm zone="cvs cvs-prog">
208 <primary sortas="b-cvs">cvs</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
[bab92281]212
[b3497e4]213 <varlistentry id="cvsbug">
214 <term><command>cvsbug</command></term>
215 <listitem>
[bab92281]216 <para>is used to send problem reports about <application>CVS</application>
[b3497e4]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>
[bab92281]223
[b3497e4]224 <varlistentry id="rcs2log">
225 <term><command>rcs2log</command></term>
226 <listitem>
[17e6d48]227 <para>is a symlink to the contributed RCS to Change Log
[b136a6d]228 generator.</para>
[b3497e4]229 <indexterm zone="cvs rcs2log">
230 <primary sortas="b-rcs2log">rcs2log</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234 </variablelist>
[bab92281]235
[b3497e4]236 </sect2>
[bab92281]237
[f45b1953]238</sect1>
Note: See TracBrowser for help on using the repository browser.