source: archive/cvs.xml@ 45ab6c7

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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