source: basicnet/netprogs/cvs.xml@ 88494257

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 88494257 was f9461f8, checked in by Randy McMurchy <randy@…>, 19 years ago

Added commands to the CVS instructions to create and install additional documentation

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

  • Property mode set to 100644
File size: 7.7 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
[b136a6d]7 <!ENTITY cvs-download-http "https://ccvs.cvshome.org/files/documents/19/861/cvs-&cvs-version;.tar.bz2">
[d47e7ea9]8 <!ENTITY cvs-download-ftp " ">
[b136a6d]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)">
[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
[b3497e4]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>
[dc6715a]56 <para>Estimated build time: &cvs-time;</para>
57 </listitem>
[b3497e4]58 </itemizedlist>
[bab92281]59
[b3497e4]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>
[bab92281]67
[b3497e4]68 <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
[bab92281]69
[b3497e4]70 <bridgehead renderas="sect4">Optional</bridgehead>
[17e6d48]71 <para><xref linkend="gdbm"/>,
72 <xref linkend="tcsh"/>,
[b3497e4]73 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
[bab92281]74 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
[b136a6d]75 (for the GSSAPI libraries),
[ce2bf7d]76 <xref linkend="gs"/> or <xref linkend="espgs"/>, and
77 <ulink url="../server/mail.html">an MTA</ulink></para>
[b3497e4]78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of CVS</title>
83
[f9461f8]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>
[b3497e4]90
91<screen><userinput>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
92
[339fbfb9]93 <para>Install <application>CVS</application> by running
[b3497e4]94 the following commands:</para>
95
96<screen><userinput>./configure --prefix=/usr &amp;&amp;
[b136a6d]97make</userinput></screen>
98
[f9461f8]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 &amp;&amp;
104texi2dvi --pdf --batch cvs.texinfo &amp;&amp;
105texi2dvi --pdf --batch cvsclient.texi &amp;&amp;
106texi2html cvs.texinfo &amp;&amp;
107texi2html cvsclient.texi &amp;&amp;
108makeinfo --plaintext cvs.texinfo &gt;cvs.txt &amp;&amp;
109makeinfo --plaintext cvsclient.texi &gt;cvsclient.txt &amp;&amp;
110cd ..</userinput></screen>
111
[b136a6d]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 &amp;&amp;
117install -v -m755 -d /usr/share/doc/cvs-&cvs-version; &amp;&amp;
[f9461f8]118install -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>
[b3497e4]125
126 </sect2>
127
128 <sect2 role="configuration">
129 <title>Configuring CVS</title>
[bab92281]130
[b3497e4]131 <sect3 id="cvs-config">
132 <title>Config Files</title>
[bab92281]133
[b3497e4]134 <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
135 and <filename>~/.cvspass</filename>.</para>
[bab92281]136
[b3497e4]137 <indexterm zone="cvs cvs-config">
138 <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
139 </indexterm>
[bab92281]140
[b3497e4]141 <indexterm zone="cvs cvs-config">
142 <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
143 </indexterm>
[bab92281]144
[b3497e4]145 <indexterm zone="cvs cvs-config">
146 <primary sortas="e-AA.cvspass">~/.cvspass</primary>
147 </indexterm>
[bab92281]148
[b3497e4]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.
[339fbfb9]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>
[b3497e4]161
[17e6d48]162 <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
[bab92281]163 addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
[b3497e4]164 file in the repository.</para>
[bab92281]165
[b3497e4]166 <para><filename>~/.cvspass</filename> can hold passwords to complete
167 logins to servers.</para>
[bab92281]168
[b3497e4]169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
[bab92281]175
[b3497e4]176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
[bab92281]180
[b3497e4]181 <seglistitem>
182 <seg>cvs, cvsbug, and rcs2log</seg>
183 <seg>None</seg>
[b136a6d]184 <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
[b3497e4]185 </seglistitem>
186 </segmentedlist>
[bab92281]187
[b3497e4]188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
[bab92281]192
[b3497e4]193 <varlistentry id="cvs-prog">
194 <term><command>cvs</command></term>
195 <listitem>
[919683dc]196 <para>is the main program file for the concurrent versions system.</para>
[b3497e4]197 <indexterm zone="cvs cvs-prog">
198 <primary sortas="b-cvs">cvs</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
[bab92281]202
[b3497e4]203 <varlistentry id="cvsbug">
204 <term><command>cvsbug</command></term>
205 <listitem>
[bab92281]206 <para>is used to send problem reports about <application>CVS</application>
[b3497e4]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>
[bab92281]213
[b3497e4]214 <varlistentry id="rcs2log">
215 <term><command>rcs2log</command></term>
216 <listitem>
[17e6d48]217 <para>is a symlink to the contributed RCS to Change Log
[b136a6d]218 generator.</para>
[b3497e4]219 <indexterm zone="cvs rcs2log">
220 <primary sortas="b-rcs2log">rcs2log</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224 </variablelist>
[bab92281]225
[b3497e4]226 </sect2>
[bab92281]227
[f45b1953]228</sect1>
Note: See TracBrowser for help on using the repository browser.