source: general/prog/cvs.xml@ adf6dd9a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 adf6dd9a was 8f29aa2, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

More tags and minor fixes for 7.4

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

  • Property mode set to 100644
File size: 10.1 KB
RevLine 
[d47e7ea9]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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">
[a3146e1]9 <!ENTITY cvs-md5sum "0213ea514e231559d6ff8f80a34117f0">
[07a1a61]10 <!ENTITY cvs-size "2.9 MB">
11 <!ENTITY cvs-buildsize "32.3 MB">
[5d678ec]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>
21 </sect1info>
22
23 <title>CVS-&cvs-version;</title>
[bab92281]24
[b3497e4]25 <indexterm zone="cvs">
26 <primary sortas="a-CVS">CVS</primary>
27 </indexterm>
[bab92281]28
[b3497e4]29 <sect2 role="package">
30 <title>Introduction to CVS</title>
31
[919683dc]32 <para><application>CVS</application> is the Concurrent Versions System.
[f9461f8]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>
[bab92281]37
[8f29aa2]38 &lfs74_checked;
[4a962e9d]39
[b3497e4]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&cvs-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&cvs-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &cvs-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &cvs-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &cvs-buildsize;</para>
56 </listitem>
57 <listitem>
[dc6715a]58 <para>Estimated build time: &cvs-time;</para>
59 </listitem>
[b3497e4]60 </itemizedlist>
[bab92281]61
[b3497e4]62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing='compact'>
64 <listitem>
65 <para>Recommended patch: <ulink
66 url="&patch-root;/cvs-&cvs-version;-zlib-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
[bab92281]69
[b3497e4]70 <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
[bab92281]71
[b3497e4]72 <bridgehead renderas="sect4">Optional</bridgehead>
[7bff1b2]73 <para role="optional"><!-- <xref linkend="gdbm"/>, -->
[17e6d48]74 <xref linkend="tcsh"/>,
[07a1a61]75 <xref linkend="openssh"/>,
[b3497e4]76 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
[7fdeb26]77 <xref linkend="mitkrb"/>
[b136a6d]78 (for the GSSAPI libraries),
[aa8ef3bc]79 <xref linkend="gs"/><!-- or <xref linkend="espgs"/> -->, and
[7f5c97e]80 an <xref linkend="server-mail"/> (that provides a
[5d678ec]81 <command>sendmail</command> command)</para>
[b3497e4]82
[07a1a61]83 <para><application>CVS</application> will invoke a default text editor to
84 create a commit message if the <parameter>-m "Commit message"</parameter>
[104733c]85 parameter was not used when changes are committed to a repository.
[07a1a61]86 <application>CVS</application> looks for the following text editors, in the
87 order shown below, during configuration to determine the default. This
88 default can always be overridden by the <envar>CVSEDITOR</envar> or
89 <envar>EDITOR</envar> environment variables and can be specified directly
90 by passing the <option>--with-editor=<replaceable>&lt;desired text
91 editor&gt;</replaceable></option> parameter to the
92 <command>configure</command> script.</para>
93
94 <itemizedlist spacing='compact'>
95 <listitem>
96 <para><xref linkend="vim"/></para>
97 </listitem>
98 <listitem>
99 <para><xref linkend="emacs"/></para>
100 </listitem>
101 <listitem>
102 <para><xref linkend="nano"/></para>
103 </listitem>
104 <listitem>
[1066772]105 <para><xref linkend="re-alpine"/> (for Pico)</para>
[07a1a61]106 </listitem>
107 </itemizedlist>
108
109
[061ec9d]110 <para condition="html" role="usernotes">User Notes:
111 <ulink url="&blfs-wiki;/cvs"/></para>
112
[b3497e4]113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of CVS</title>
117
[f9461f8]118 <para>By default <application>CVS</application> is statically linked
119 against the <application>Zlib</application> library included in its source
120 tree. This makes it exposed to possible security vulnerabilities in that
121 library. If you want to modify <application>CVS</application> to use the
122 system shared <application>Zlib</application> library, apply the following
123 patch:</para>
[b3497e4]124
125<screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
126
[8f29aa2]127 <para>Now fix some conflicts with newer libraries and programs:</para>
[cc4dfdf]128
[8f29aa2]129<screen><userinput>
130sed -i -e 's/getline /get_line /' lib/getline.{c,h} &amp;&amp;
131sed -i -e 's/^@sp$/&amp; 1/' doc/cvs.texinfo
132</userinput></screen>
[cc4dfdf]133
[339fbfb9]134 <para>Install <application>CVS</application> by running
[b3497e4]135 the following commands:</para>
136
137<screen><userinput>./configure --prefix=/usr &amp;&amp;
[b136a6d]138make</userinput></screen>
139
[8aeb474]140 <para>If you have <xref linkend="texlive"/>
[cc4dfdf]141 installed and wish to create HTML or text docs from the
[f1e103a]142 documentation source files, issue the following command:</para>
[07a1a61]143
[cc4dfdf]144<screen><userinput>make -C doc html txt</userinput></screen>
[f9461f8]145
[5d678ec]146 <para>To test the results, issue: <command>make check</command>. This will
[07a1a61]147 take quite a while. If you don't have <command>rsh</command> configured for
148 access to the host you are building on (or you didn't pass the
149 <option>--with-rsh=</option> parameter to the <command>configure</command>
150 script, some tests may fail. If you passed the
151 <option>--with-rsh=ssh</option> parameter to enable <command>ssh</command>
152 as the default remote shell program, you'll need to issue the following
153 command so that the tests will complete without any failures:</para>
154
155<screen><userinput>sed -e 's/rsh};/ssh};/' \
156 -e 's/g=rw,o=r$/g=r,o=r/' \
157 -i src/sanity.sh</userinput></screen>
[b136a6d]158
159 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
160
161<screen role='root'><userinput>make install &amp;&amp;
[cc4dfdf]162install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &amp;&amp;
[5d678ec]163install -v -m644 FAQ README /usr/share/doc/cvs-&cvs-version; &amp;&amp;
[cc4dfdf]164install -v -m644 doc/*.pdf /usr/share/doc/cvs-&cvs-version;</userinput></screen>
[f9461f8]165
166 <para>If you created any additional documentation, install it by issuing
[07a1a61]167 the following commands as the
[f9461f8]168 <systemitem class="username">root</systemitem> user:</para>
169
[2c7ec575]170<screen role='root'><userinput>install -v -m644 doc/*.txt /usr/share/doc/cvs-&cvs-version; &amp;&amp;
[cc4dfdf]171install -v -m755 -d /usr/share/doc/cvs-&cvs-version;/html/cvs{,client} &amp;&amp;
[07a1a61]172install -v -m644 doc/cvs.html/* \
[cc4dfdf]173 /usr/share/doc/cvs-&cvs-version;/html/cvs &amp;&amp;
[07a1a61]174install -v -m644 doc/cvsclient.html/* \
[cc4dfdf]175 /usr/share/doc/cvs-&cvs-version;/html/cvsclient</userinput></screen>
[b3497e4]176
177 </sect2>
178
179 <sect2 role="configuration">
180 <title>Configuring CVS</title>
[bab92281]181
[b3497e4]182 <sect3 id="cvs-config">
183 <title>Config Files</title>
[bab92281]184
[b3497e4]185 <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
186 and <filename>~/.cvspass</filename>.</para>
[bab92281]187
[b3497e4]188 <indexterm zone="cvs cvs-config">
189 <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
190 </indexterm>
[bab92281]191
[b3497e4]192 <indexterm zone="cvs cvs-config">
193 <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
194 </indexterm>
[bab92281]195
[b3497e4]196 <indexterm zone="cvs cvs-config">
197 <primary sortas="e-AA.cvspass">~/.cvspass</primary>
198 </indexterm>
[bab92281]199
[b3497e4]200 </sect3>
201
202 <sect3>
203 <title>Configuration Information</title>
204
205 <para><filename>~/.cvsrc</filename> is the main
206 <application>CVS</application> configuration file.
[339fbfb9]207 This file is used by users to specify defaults for different
208 <command>cvs</command> commands. For example, to make all
209 <command>cvs diff</command> commands run with <option>-u</option>, a user
210 would add <option>diff -u</option> to their <filename>.cvsrc</filename>
211 file.</para>
[b3497e4]212
[17e6d48]213 <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
[bab92281]214 addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
[b3497e4]215 file in the repository.</para>
[bab92281]216
[07a1a61]217 <para><filename>~/.cvspass</filename> contains passwords used to complete
[b3497e4]218 logins to servers.</para>
[bab92281]219
[b3497e4]220 </sect3>
221
222 </sect2>
223
224 <sect2 role="content">
225 <title>Contents</title>
[bab92281]226
[b3497e4]227 <segmentedlist>
228 <segtitle>Installed Programs</segtitle>
229 <segtitle>Installed Libraries</segtitle>
230 <segtitle>Installed Directories</segtitle>
[bab92281]231
[b3497e4]232 <seglistitem>
233 <seg>cvs, cvsbug, and rcs2log</seg>
234 <seg>None</seg>
[b136a6d]235 <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
[b3497e4]236 </seglistitem>
237 </segmentedlist>
[bab92281]238
[b3497e4]239 <variablelist>
240 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
241 <?dbfo list-presentation="list"?>
242 <?dbhtml list-presentation="table"?>
[bab92281]243
[b3497e4]244 <varlistentry id="cvs-prog">
245 <term><command>cvs</command></term>
246 <listitem>
[919683dc]247 <para>is the main program file for the concurrent versions system.</para>
[b3497e4]248 <indexterm zone="cvs cvs-prog">
249 <primary sortas="b-cvs">cvs</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
[bab92281]253
[b3497e4]254 <varlistentry id="cvsbug">
255 <term><command>cvsbug</command></term>
256 <listitem>
[bab92281]257 <para>is used to send problem reports about <application>CVS</application>
[b3497e4]258 to a central support site.</para>
259 <indexterm zone="cvs cvsbug">
260 <primary sortas="b-cvsbug">cvsbug</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
[bab92281]264
[b3497e4]265 <varlistentry id="rcs2log">
266 <term><command>rcs2log</command></term>
267 <listitem>
[17e6d48]268 <para>is a symlink to the contributed RCS to Change Log
[b136a6d]269 generator.</para>
[b3497e4]270 <indexterm zone="cvs rcs2log">
271 <primary sortas="b-rcs2log">rcs2log</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275 </variablelist>
[bab92281]276
[b3497e4]277 </sect2>
[bab92281]278
[f45b1953]279</sect1>
Note: See TracBrowser for help on using the repository browser.