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 subversion-download-http "http://subversion.tigris.org/tarballs/subversion-&subversion-version;.tar.bz2">
|
---|
8 | <!ENTITY subversion-download-ftp " ">
|
---|
9 | <!ENTITY subversion-md5sum "b93a792b6bc610dc6c1c254591979a8c">
|
---|
10 | <!ENTITY subversion-size "6.5 MB">
|
---|
11 | <!ENTITY subversion-buildsize "650 MB">
|
---|
12 | <!ENTITY subversion-time "1.54 SBU (additional 7.38 SBU to run tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="subversion.html"?>
|
---|
21 | <title>Subversion-&subversion-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>Subversion</application></title>
|
---|
25 |
|
---|
26 | <para><application>Subversion</application> is a version control system
|
---|
27 | that is designed to be a compelling replacement for
|
---|
28 | <application><acronym>CVS</acronym></application> in the open source
|
---|
29 | community. It extends and enhances
|
---|
30 | <application><acronym>CVS</acronym></application>' feature set, while
|
---|
31 | maintaining a similar interface for those already familiar
|
---|
32 | with <application><acronym>CVS</acronym></application>. These instructions
|
---|
33 | install the client and server software used to manipulate a
|
---|
34 | <application>Subversion</application> repository. Creation of a repository is
|
---|
35 | covered at <xref linkend="svnserver"/>.</para>
|
---|
36 |
|
---|
37 | <sect3><title>Package information</title>
|
---|
38 | <itemizedlist spacing='compact'>
|
---|
39 | <listitem><para>Download (HTTP): <ulink url="&subversion-download-http;"/></para></listitem>
|
---|
40 | <listitem><para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para></listitem>
|
---|
41 | <listitem><para>Download MD5 sum: &subversion-md5sum;</para></listitem>
|
---|
42 | <listitem><para>Download size: &subversion-size;</para></listitem>
|
---|
43 | <listitem><para>Estimated disk space required: &subversion-buildsize;</para></listitem>
|
---|
44 | <listitem><para>Estimated build time: &subversion-time;</para></listitem></itemizedlist>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
47 | <sect3><title><application>Subversion</application> dependencies</title>
|
---|
48 | <sect4><title>Required</title>
|
---|
49 | <para><xref linkend="libxml2"/></para>
|
---|
50 | </sect4>
|
---|
51 |
|
---|
52 | <sect4><title>Optional</title>
|
---|
53 | <para><xref linkend="expat"/>,
|
---|
54 | <xref linkend="pkgconfig"/>,
|
---|
55 | <xref linkend="db"/>,
|
---|
56 | <xref linkend="gdbm"/>,
|
---|
57 | <xref linkend="python"/>,
|
---|
58 | <xref linkend="apache"/>,
|
---|
59 | <xref linkend="j2sdk"/>,
|
---|
60 | <xref linkend="openssl"/>,
|
---|
61 | <xref linkend="openssh"/>,
|
---|
62 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
63 | <ulink url="http://www.swig.org">SWIG</ulink>,
|
---|
64 | <ulink url="http://www.webdav.org/neon/">neon-0.24.7</ulink>,
|
---|
65 | <ulink url="http://www.inet.no/dante/">Dante</ulink> and
|
---|
66 | inetd or <xref linkend="xinetd"/> (server only)</para>
|
---|
67 | </sect4>
|
---|
68 | </sect3>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2>
|
---|
73 | <title>Installation of <application>Subversion</application></title>
|
---|
74 |
|
---|
75 | <para>Install <application>Subversion</application> by running the following
|
---|
76 | commands:</para>
|
---|
77 |
|
---|
78 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
79 | make &&
|
---|
80 | make install</command></userinput></screen>
|
---|
81 |
|
---|
82 | <note><para>If you have <application>Apache</application> installed, pass
|
---|
83 | the <parameter>--with-apr=/usr</parameter> and
|
---|
84 | <parameter>--with-apr-util=/usr</parameter> switches to the
|
---|
85 | <command>configure</command> script. Otherwise,
|
---|
86 | <application>Subversion</application> will overwrite
|
---|
87 | <acronym>APR</acronym> and <acronym>APR</acronym>-utils from the
|
---|
88 | <application>Apache</application> installation with its own
|
---|
89 | files.</para></note>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2>
|
---|
94 | <title>Command explanations</title>
|
---|
95 |
|
---|
96 | <para><option>--with-ssl</option>: This switch enables OpenSSL support
|
---|
97 | in neon.</para>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2>
|
---|
102 | <title>Configuring <application>Subversion</application></title>
|
---|
103 |
|
---|
104 | <sect3><title>Config files</title>
|
---|
105 | <para><filename>~/.subversion/config</filename> and
|
---|
106 | <filename>/etc/subversion/config</filename></para>
|
---|
107 | </sect3>
|
---|
108 |
|
---|
109 | <sect3><title>Configuration Information</title>
|
---|
110 |
|
---|
111 | <para><filename>/etc/subversion/config</filename> is the
|
---|
112 | <application>Subversion</application> system-wide configuration file.
|
---|
113 | This file is used to specify defaults for different
|
---|
114 | <command>svn</command> commands.</para>
|
---|
115 |
|
---|
116 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
117 | configuration file. It is used to override the system-wide defaults
|
---|
118 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
119 | </sect3>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2>
|
---|
124 | <title>Contents</title>
|
---|
125 |
|
---|
126 | <para>The <application>Subversion</application> package contains
|
---|
127 | <command>svn</command>,
|
---|
128 | <command>svnadmin</command>,
|
---|
129 | <command>svndumpfilter</command>,
|
---|
130 | <command>svnlook</command>,
|
---|
131 | <command>svnserve</command>,
|
---|
132 | <command>svnversion</command> and the
|
---|
133 | <filename class="libraryfile">mod_dav_svn</filename> plug-in module.</para>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2><title>Description</title>
|
---|
138 |
|
---|
139 | <sect3><title>svn</title>
|
---|
140 | <para>The command-line client program.</para></sect3>
|
---|
141 |
|
---|
142 | <sect3><title>svnadmin</title>
|
---|
143 | <para>A tool for creating, tweaking or repairing a
|
---|
144 | <application>Subversion</application> repository.</para></sect3>
|
---|
145 |
|
---|
146 | <sect3><title>svndumpfilter</title>
|
---|
147 | <para>A program for filtering <application>Subversion</application> repository
|
---|
148 | dumpfile format streams.</para></sect3>
|
---|
149 |
|
---|
150 | <sect3><title>svnlook</title>
|
---|
151 | <para>A tool for inspecting a <application>Subversion</application>
|
---|
152 | repository.</para></sect3>
|
---|
153 |
|
---|
154 | <sect3><title>svnserve</title>
|
---|
155 | <para>A custom standalone server program, able to run as a daemon process or
|
---|
156 | invoked by <acronym>SSH</acronym>.</para></sect3>
|
---|
157 |
|
---|
158 | <sect3><title>svnversion</title>
|
---|
159 | <para>A program for reporting the state of a working copy.</para></sect3>
|
---|
160 |
|
---|
161 | <sect3><title>mod_dav_svn</title>
|
---|
162 | <para>A plug-in module for the <application>Apache</application>
|
---|
163 | <acronym>HTTP</acronym> Server, used to make your
|
---|
164 | repository available to others over a network.</para></sect3>
|
---|
165 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
168 | </sect1>
|
---|