1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY cvs-download-http "https://ccvs.cvshome.org/files/documents/19/534/cvs-&cvs-version;.tar.bz2">
|
---|
8 | <!ENTITY cvs-download-ftp " ">
|
---|
9 | <!ENTITY cvs-size "2.3 MB">
|
---|
10 | <!ENTITY cvs-buildsize "20 MB">
|
---|
11 | <!ENTITY cvs-time "0.31 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="cvs" xreflabel="CVS-&cvs-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="cvs.html"?>
|
---|
20 | <title>CVS-&cvs-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application><acronym>CVS</acronym></application></title>
|
---|
24 |
|
---|
25 | <para><application><acronym>CVS</acronym></application> is the Concurrent
|
---|
26 | Versioning System. This is a version control system useful for projects
|
---|
27 | using a central repository to hold files and then track all changes made to
|
---|
28 | those files. These instructions install the client used to manipulate the
|
---|
29 | repository, creation of a repository is covered at <xref linkend="cvsserver"/>.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | <sect3><title>Package information</title>
|
---|
33 | <itemizedlist spacing='compact'>
|
---|
34 | <listitem><para>Download (HTTP): <ulink url="&cvs-download-http;"/></para></listitem>
|
---|
35 | <listitem><para>Download (FTP): <ulink url="&cvs-download-ftp;"/></para></listitem>
|
---|
36 | <listitem><para>Download size: &cvs-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated disk space required: &cvs-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time: &cvs-time;</para></listitem></itemizedlist>
|
---|
39 | </sect3>
|
---|
40 |
|
---|
41 | <sect3><title>Additional downloads</title>
|
---|
42 | <itemizedlist spacing='compact'>
|
---|
43 | <listitem><para>Recommended patch: <ulink
|
---|
44 | url="&patch-root;/cvs-&cvs-version;-zlib-1.patch"/>
|
---|
45 | </para></listitem>
|
---|
46 | </itemizedlist></sect3>
|
---|
47 |
|
---|
48 | <sect3><title><application>CVS</application> dependencies</title>
|
---|
49 | <sect4><title>Optional</title>
|
---|
50 | <para>
|
---|
51 | <xref linkend="gdbm"/>,
|
---|
52 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
53 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
54 | <xref linkend="gs"/> or <xref linkend="espgs"/>,
|
---|
55 | <ulink url="../server/mail.html">MTA</ulink> and
|
---|
56 | <xref linkend="postlfs-editors-vim"/>
|
---|
57 | </para></sect4>
|
---|
58 | </sect3>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | <sect2>
|
---|
63 | <title>Installation of <application><acronym>CVS</acronym></application></title>
|
---|
64 |
|
---|
65 | <para>By default <application><acronym>CVS</acronym></application>
|
---|
66 | is statically linked against the zlib library included in its source
|
---|
67 | tree. This makes it exposed to possible security vulnerabilities in that
|
---|
68 | library. If you want to modify CVS to use the newest system shared zlib
|
---|
69 | library apply the following patch:</para>
|
---|
70 |
|
---|
71 | <screen><userinput><command>patch -Np1 -i ../cvs-&cvs-version;-zlib-1.patch</command></userinput></screen>
|
---|
72 |
|
---|
73 | <para>Install <application><acronym>cvs</acronym></application> by running the following commands:</para>
|
---|
74 |
|
---|
75 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
76 | make &&
|
---|
77 | make install</command></userinput></screen>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2>
|
---|
82 | <title>Configuring <application><acronym>CVS</acronym></application></title>
|
---|
83 |
|
---|
84 | <sect3><title>Config files</title>
|
---|
85 | <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename></para>
|
---|
86 | </sect3>
|
---|
87 |
|
---|
88 | <sect3><title>Configuration Information</title>
|
---|
89 |
|
---|
90 | <para><filename>~/.cvsrc</filename> is the main
|
---|
91 | <application><acronym>CVS</acronym></application> configuration file.
|
---|
92 | This file is used by users to specify defaults for different <command>cvs
|
---|
93 | </command> commands, for example to make all <command>cvs diff</command>
|
---|
94 | commands run with <userinput>-u</userinput>, a user would add <userinput>
|
---|
95 | diff -u</userinput> to their <filename>.cvsrc</filename> file.</para>
|
---|
96 |
|
---|
97 | <para><filename>~/.cvswrappers</filename> specifies wrappers to be used in
|
---|
98 | addition to those specified in the <filename>CVSROOT/cvswrappers</filename>
|
---|
99 | file in the repository.</para>
|
---|
100 |
|
---|
101 | <para><filename>~/.cvspass</filename> can hold passwords to complete
|
---|
102 | logins to servers.</para></sect3>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2>
|
---|
107 | <title>Contents</title>
|
---|
108 |
|
---|
109 | <para>The <application><acronym>CVS</acronym></application> package contains
|
---|
110 | <command>cvs</command>, <command>cvsbug</command> and <command>rcs2log</command>.</para>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2><title>Description</title>
|
---|
115 |
|
---|
116 | <sect3><title>cvs</title>
|
---|
117 | <para>This is the main program file for the concurrent versioning
|
---|
118 | system.</para></sect3>
|
---|
119 |
|
---|
120 | <sect3><title>cvsbug</title>
|
---|
121 | <para>This is used to send problem reports about
|
---|
122 | <application><acronym>CVS</acronym></application> to a central
|
---|
123 | support site.</para></sect3>
|
---|
124 |
|
---|
125 | <sect3><title>rcs2log</title>
|
---|
126 | <para><acronym>RCS</acronym> to Change Log generator.</para></sect3>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | </sect1>
|
---|