1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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 "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/subversion-&subversion-version;.tar.bz2">
|
---|
9 | <!ENTITY subversion-md5sum "a14bc6590241b6e5c2ff2b354cc184a1">
|
---|
10 | <!ENTITY subversion-size "7.2 MB">
|
---|
11 |
|
---|
12 | <!-- Commenting out the stuff about bindings for now
|
---|
13 | <!ENTITY subversion-buildsize "90 MB (additional 45 MB for all bindings and 443 MB to run all test suites)">
|
---|
14 | <!ENTITY subversion-time "1.6 SBU (add 1.1 SBU for bindings and 22.5 SBU to run test suites)">
|
---|
15 | -->
|
---|
16 |
|
---|
17 | <!ENTITY subversion-buildsize "93 MB (additional 466 MB to run the test suite)">
|
---|
18 | <!ENTITY subversion-time "1.7 SBU (add 7.1 SBU to run the test suite)">
|
---|
19 | <!ENTITY svn-neon-version "0.24.7">
|
---|
20 | ]>
|
---|
21 |
|
---|
22 | <sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
|
---|
23 | <?dbhtml filename="subversion.html"?>
|
---|
24 |
|
---|
25 | <sect1info>
|
---|
26 | <othername>$LastChangedBy$</othername>
|
---|
27 | <date>$Date$</date>
|
---|
28 | <keywordset>
|
---|
29 | <keyword role="package">subversion-&subversion-version;.tar</keyword>
|
---|
30 | <keyword role="ftpdir">subversion</keyword>
|
---|
31 | </keywordset>
|
---|
32 | </sect1info>
|
---|
33 |
|
---|
34 | <title>Subversion-&subversion-version;</title>
|
---|
35 |
|
---|
36 | <indexterm zone="subversion">
|
---|
37 | <primary sortas="a-Subversion">Subversion</primary>
|
---|
38 | </indexterm>
|
---|
39 |
|
---|
40 | <sect2 role="package">
|
---|
41 | <title>Introduction to Subversion</title>
|
---|
42 |
|
---|
43 | <para><application>Subversion</application> is a version control
|
---|
44 | system that is designed to be a compelling replacement for
|
---|
45 | <application>CVS</application> in the open source community. It
|
---|
46 | extends and enhances <application>CVS</application>' feature set,
|
---|
47 | while maintaining a similar interface for those already familiar with
|
---|
48 | <application>CVS</application>. These instructions install the client
|
---|
49 | and server software used to manipulate a
|
---|
50 | <application>Subversion</application> repository. Creation of a repository
|
---|
51 | is covered at <xref linkend="svnserver"/>.</para>
|
---|
52 |
|
---|
53 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
54 | <itemizedlist spacing="compact">
|
---|
55 | <listitem>
|
---|
56 | <para>Download (HTTP): <ulink url="&subversion-download-http;"/></para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>Download MD5 sum: &subversion-md5sum;</para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Download size: &subversion-size;</para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>Estimated disk space required: &subversion-buildsize;</para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>Estimated build time: &subversion-time;</para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <!--
|
---|
76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
77 | <itemizedlist spacing="compact">
|
---|
78 | <listitem>
|
---|
79 | <para>Required patch if using
|
---|
80 | <application>Swig</application>-1.3.25 and you wish
|
---|
81 | to build the <application>Perl</application> bindings: <ulink
|
---|
82 | url="&patch-root;/patches/subversion-&subversion-version;-swig_1.3.25-1.patch"/></para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 | -->
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
90 | <para role="required"><xref linkend="libxml2"/> (only if using the bundled version of
|
---|
91 | <application>neon</application>)</para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
94 | <para role="optional"><xref linkend="python"/> (required to run the test suite),
|
---|
95 | <xref linkend="db"/>,
|
---|
96 | <xref linkend="apache"/>,
|
---|
97 | <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
|
---|
98 | <xref linkend="jdk"/> (to build the <application>Java</application>
|
---|
99 | bindings),
|
---|
100 | <ulink url="http://www.junit.org/">JUnit</ulink> (required for running the
|
---|
101 | <application>Java</application> bindings test suite and requires
|
---|
102 | <xref linkend="unzip"/>),
|
---|
103 | <ulink url="http://www.inet.no/dante/">Dante</ulink> (alternate
|
---|
104 | <application>Java</application> compiler),
|
---|
105 | <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
|
---|
106 | Jikes</ulink> (another alternate
|
---|
107 | <application>Java</application> compiler) and
|
---|
108 | inetd or <xref linkend="xinetd"/> (server only)</para>
|
---|
109 |
|
---|
110 | <bridgehead renderas="sect4">Optional for the Bundled Version of
|
---|
111 | <application>Neon</application></bridgehead>
|
---|
112 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
113 | <xref linkend="openssl"/>,
|
---|
114 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
|
---|
115 |
|
---|
116 | <bridgehead renderas="sect4">Optional for the Bundled Version of
|
---|
117 | <application>Apache Portable Runtime</application></bridgehead>
|
---|
118 | <para role="optional"><xref linkend="expat"/> and
|
---|
119 | <xref linkend="gdbm"/></para>
|
---|
120 |
|
---|
121 | <bridgehead renderas="sect4">Optional to Build the
|
---|
122 | <application>SWIG</application> Bindings</bridgehead>
|
---|
123 | <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
|
---|
124 | <xref linkend="python"/> and
|
---|
125 | <xref linkend="ruby"/> (<application>Ruby</application> bindings require
|
---|
126 | <application>Swig-1.3.24</application>)</para>
|
---|
127 |
|
---|
128 | <!-- Added a note that the bindings may not work correctly -->
|
---|
129 | <para>Note that the <application>Python</application> and
|
---|
130 | <application>Perl</application> bindings may not compile properly with
|
---|
131 | the current versions of <application>SWIG</application> and the
|
---|
132 | (B)LFS packages.</para>
|
---|
133 |
|
---|
134 | </sect2>
|
---|
135 |
|
---|
136 | <sect2 role="installation">
|
---|
137 | <title>Installation of Subversion</title>
|
---|
138 |
|
---|
139 | <para>Install <application>Subversion</application> by running the following
|
---|
140 | commands:</para>
|
---|
141 |
|
---|
142 | <screen><userinput>./configure --prefix=/usr &&
|
---|
143 | make</userinput></screen>
|
---|
144 |
|
---|
145 | <note>
|
---|
146 | <para>If you have <application>Apache</application> installed, pass
|
---|
147 | the <option>--with-apr=/usr</option> and <option>--with-apr-util=/usr</option>
|
---|
148 | switches to the <command>configure</command> script. Otherwise,
|
---|
149 | <application>Subversion</application> will overwrite APR and APR-utils
|
---|
150 | from the <application>Apache</application> installation with its own
|
---|
151 | files. You may also need to pass <option>--with-apxs=/usr/sbin/apxs</option>
|
---|
152 | as <command>apxs</command> might not be in an unprivileged user's
|
---|
153 | <envar>PATH</envar> and won't be properly discovered.</para>
|
---|
154 | </note>
|
---|
155 |
|
---|
156 | <para>If you passed the <option>--enable-javahl</option> parameter to
|
---|
157 | <command>configure</command> and wish to build the
|
---|
158 | <application>Java</application> <application>Subversion</application>
|
---|
159 | bindings, issue the following command:</para>
|
---|
160 |
|
---|
161 | <screen><userinput>make javahl</userinput></screen>
|
---|
162 |
|
---|
163 | <!-- Perl and Python bindings appear broken right now so
|
---|
164 | commenting them out
|
---|
165 | <para>If you passed the <option>-with-swig</option> parameter to
|
---|
166 | <command>configure</command> and wish to build the
|
---|
167 | <application>SWIG</application> <application>Perl</application> and
|
---|
168 | <application>Python</application> <application>Subversion</application>
|
---|
169 | bindings, issue the following commands:</para>
|
---|
170 |
|
---|
171 | <screen><userinput>make swig-pl &&
|
---|
172 | make swig-py</userinput></screen>
|
---|
173 | -->
|
---|
174 |
|
---|
175 | <para>The <application>Ruby</application> bindings are a recent
|
---|
176 | development, and are only partially implemented. The
|
---|
177 | <application>Ruby</application> bindings API may change incompatibly as
|
---|
178 | development proceeds. They currently require
|
---|
179 | <application>SWIG</application> 1.3.24 exactly – neither later nor
|
---|
180 | earlier will work.</para>
|
---|
181 |
|
---|
182 | <para>To test the results of the <application>Subversion</application>
|
---|
183 | build, issue: <command>make check</command>. This will take quite a long
|
---|
184 | time.</para>
|
---|
185 |
|
---|
186 | <!-- Revising the command to exclude the Perl bindings check
|
---|
187 | <para>To test the results of the bindings builds, issue either or both
|
---|
188 | of: <command>make check-javahl</command> and
|
---|
189 | <command>make check-swig-pl</command>.</para>
|
---|
190 | -->
|
---|
191 |
|
---|
192 | <para>To test the results of the <application>Java</application> bindings
|
---|
193 | build, issue <command>make check-javahl</command>.</para>
|
---|
194 |
|
---|
195 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
196 |
|
---|
197 | <screen role='root'><userinput>make install &&
|
---|
198 | install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &&
|
---|
199 | cp -v -R doc/* /usr/share/doc/subversion-&subversion-version; &&
|
---|
200 | rm -v /usr/share/doc/subversion-&subversion-version;/{Makefile,doxygen.conf}</userinput></screen>
|
---|
201 |
|
---|
202 | <para>If you built the <application>Java</application>
|
---|
203 | <application>Subversion</application> bindings, issue the following command
|
---|
204 | as the <systemitem class="username">root</systemitem> user to install
|
---|
205 | them:</para>
|
---|
206 |
|
---|
207 | <screen role='root'><userinput>make install-javahl</userinput></screen>
|
---|
208 |
|
---|
209 | <!-- Commenting out Perl and Python bindings install
|
---|
210 | <para>If you built the <application>SWIG</application>
|
---|
211 | <application>Perl</application> and <application>Python</application>
|
---|
212 | <application>Subversion</application> bindings, issue the following commands
|
---|
213 | as the <systemitem class="username">root</systemitem> user to install
|
---|
214 | them:</para>
|
---|
215 |
|
---|
216 | <screen role='root'><userinput>make install-swig-pl &&
|
---|
217 | make install-swig-py &&
|
---|
218 | echo /usr/lib/svn-python \
|
---|
219 | > /usr/lib/python2.4/site-packages/subversion.pth</userinput></screen>
|
---|
220 | -->
|
---|
221 |
|
---|
222 | </sect2>
|
---|
223 |
|
---|
224 | <sect2 role="commands">
|
---|
225 | <title>Command Explanations</title>
|
---|
226 |
|
---|
227 | <para><option>--with-ssl</option>: This switch enables
|
---|
228 | <application>OpenSSL</application> support in
|
---|
229 | <application>neon</application> (only required if you use the bundled
|
---|
230 | version of <application>neon</application>).</para>
|
---|
231 |
|
---|
232 | </sect2>
|
---|
233 |
|
---|
234 | <sect2 role="configuration">
|
---|
235 | <title>Configuring Subversion</title>
|
---|
236 |
|
---|
237 | <sect3 id="subversion-config">
|
---|
238 | <title>Config Files</title>
|
---|
239 |
|
---|
240 | <para><filename>~/.subversion/config</filename> and
|
---|
241 | <filename>/etc/subversion/config</filename></para>
|
---|
242 |
|
---|
243 | <indexterm zone="subversion subversion-config">
|
---|
244 | <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
|
---|
245 | </indexterm>
|
---|
246 |
|
---|
247 | <indexterm zone="subversion subversion-config">
|
---|
248 | <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
|
---|
249 | </indexterm>
|
---|
250 |
|
---|
251 | </sect3>
|
---|
252 |
|
---|
253 | <sect3>
|
---|
254 | <title>Configuration Information</title>
|
---|
255 |
|
---|
256 | <para><filename>/etc/subversion/config</filename> is the
|
---|
257 | <application>Subversion</application> system-wide configuration file.
|
---|
258 | This file is used to specify defaults for different
|
---|
259 | <command>svn</command> commands.</para>
|
---|
260 |
|
---|
261 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
262 | configuration file. It is used to override the system-wide defaults
|
---|
263 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
264 |
|
---|
265 | </sect3>
|
---|
266 |
|
---|
267 | </sect2>
|
---|
268 |
|
---|
269 | <sect2 role="content">
|
---|
270 | <title>Contents</title>
|
---|
271 |
|
---|
272 | <segmentedlist>
|
---|
273 | <segtitle>Installed Programs</segtitle>
|
---|
274 | <segtitle>Installed Libraries</segtitle>
|
---|
275 | <segtitle>Installed Directories</segtitle>
|
---|
276 |
|
---|
277 | <seglistitem>
|
---|
278 | <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
|
---|
279 | optionally, neon-config</seg>
|
---|
280 | <seg>libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so,
|
---|
281 | and mod_authz_svn.so <application>Apache HTTP</application>
|
---|
282 | DSO modules</seg>
|
---|
283 | <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
|
---|
284 | /usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/SVN (optional),
|
---|
285 | /usr/lib/perl5/site_perl/5.8.6/i686-linux/SVN (optional),
|
---|
286 | /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional),
|
---|
287 | /usr/share/doc/neon-&svn-neon-version; (optional), and
|
---|
288 | /usr/share/doc/subversion-&subversion-version;</seg>
|
---|
289 | </seglistitem>
|
---|
290 | </segmentedlist>
|
---|
291 |
|
---|
292 | <variablelist>
|
---|
293 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
294 | <?dbfo list-presentation="list"?>
|
---|
295 | <?dbhtml list-presentation="table"?>
|
---|
296 |
|
---|
297 | <varlistentry id="svn">
|
---|
298 | <term><command>svn</command></term>
|
---|
299 | <listitem>
|
---|
300 | <para>is a command-line client program used to access
|
---|
301 | <application>Subversion</application> repositories.</para>
|
---|
302 | <indexterm zone="subversion svn">
|
---|
303 | <primary sortas="b-svn">svn</primary>
|
---|
304 | </indexterm>
|
---|
305 | </listitem>
|
---|
306 | </varlistentry>
|
---|
307 |
|
---|
308 | <varlistentry id="svnadmin">
|
---|
309 | <term><command>svnadmin</command></term>
|
---|
310 | <listitem>
|
---|
311 | <para>is a tool for creating, tweaking or repairing a
|
---|
312 | <application>Subversion</application> repository.</para>
|
---|
313 | <indexterm zone="subversion svnadmin">
|
---|
314 | <primary sortas="b-svnadmin">svnadmin</primary>
|
---|
315 | </indexterm>
|
---|
316 | </listitem>
|
---|
317 | </varlistentry>
|
---|
318 |
|
---|
319 | <varlistentry id="svndumpfilter">
|
---|
320 | <term><command>svndumpfilter</command></term>
|
---|
321 | <listitem>
|
---|
322 | <para>is a program for filtering <application>Subversion</application>
|
---|
323 | repository dumpfile format streams.</para>
|
---|
324 | <indexterm zone="subversion svndumpfilter">
|
---|
325 | <primary sortas="b-svndumpfilter">svndumpfilter</primary>
|
---|
326 | </indexterm>
|
---|
327 | </listitem>
|
---|
328 | </varlistentry>
|
---|
329 |
|
---|
330 | <varlistentry id="svnlook">
|
---|
331 | <term><command>svnlook</command></term>
|
---|
332 | <listitem>
|
---|
333 | <para>is a tool for inspecting a
|
---|
334 | <application>Subversion</application> repository.</para>
|
---|
335 | <indexterm zone="subversion svnlook">
|
---|
336 | <primary sortas="b-svnlook">svnlook</primary>
|
---|
337 | </indexterm>
|
---|
338 | </listitem>
|
---|
339 | </varlistentry>
|
---|
340 |
|
---|
341 | <varlistentry id="svnserve">
|
---|
342 | <term><command>svnserve</command></term>
|
---|
343 | <listitem>
|
---|
344 | <para>is a custom standalone server program, able to run as a
|
---|
345 | daemon process or invoked by SSH.</para>
|
---|
346 | <indexterm zone="subversion svnserve">
|
---|
347 | <primary sortas="b-svnserve">svnserve</primary>
|
---|
348 | </indexterm>
|
---|
349 | </listitem>
|
---|
350 | </varlistentry>
|
---|
351 |
|
---|
352 | <varlistentry id="svnversion">
|
---|
353 | <term><command>svnversion</command></term>
|
---|
354 | <listitem>
|
---|
355 | <para>is used to report the version number and state of a
|
---|
356 | working <application>Subversion</application> repository copy.</para>
|
---|
357 | <indexterm zone="subversion svnversion">
|
---|
358 | <primary sortas="b-svnversion">svnversion</primary>
|
---|
359 | </indexterm>
|
---|
360 | </listitem>
|
---|
361 | </varlistentry>
|
---|
362 |
|
---|
363 | <varlistentry id="neon-config">
|
---|
364 | <term><command>neon-config</command></term>
|
---|
365 | <listitem>
|
---|
366 | <para>is a script which provides information about an installed
|
---|
367 | copy of the <application>neon</application> library.</para>
|
---|
368 | <indexterm zone="subversion neon-config">
|
---|
369 | <primary sortas="b-neon-config">neon-config</primary>
|
---|
370 | </indexterm>
|
---|
371 | </listitem>
|
---|
372 | </varlistentry>
|
---|
373 |
|
---|
374 | <varlistentry id="libsvn_star">
|
---|
375 | <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
|
---|
376 | <listitem>
|
---|
377 | <para>are the support libraries used by the
|
---|
378 | <application>Subversion</application> programs.</para>
|
---|
379 | <indexterm zone="subversion libsvn_star">
|
---|
380 | <primary sortas="c-libsvn_star">libsvn_*.[so,a]</primary>
|
---|
381 | </indexterm>
|
---|
382 | </listitem>
|
---|
383 | </varlistentry>
|
---|
384 |
|
---|
385 | <varlistentry id="libneon">
|
---|
386 | <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
|
---|
387 | <listitem>
|
---|
388 | <para>is used as a high-level interface to common
|
---|
389 | HTTP and WebDAV methods.</para>
|
---|
390 | <indexterm zone="subversion libneon">
|
---|
391 | <primary sortas="c-libneon">libneon.[so,a]</primary>
|
---|
392 | </indexterm>
|
---|
393 | </listitem>
|
---|
394 | </varlistentry>
|
---|
395 |
|
---|
396 | <varlistentry id="mod_authz_svn">
|
---|
397 | <term><filename class='libraryfile'>mod_authz_svn.so</filename></term>
|
---|
398 | <listitem>
|
---|
399 | <para>is a plug-in module for the <application>Apache</application>
|
---|
400 | HTTP server, used to authenticate users to a
|
---|
401 | <application>Subversion</application> repository over the Internet or an
|
---|
402 | intranet.</para>
|
---|
403 | <indexterm zone="subversion mod_authz_svn">
|
---|
404 | <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
|
---|
405 | </indexterm>
|
---|
406 | </listitem>
|
---|
407 | </varlistentry>
|
---|
408 |
|
---|
409 | <varlistentry id="mod_dav_svn">
|
---|
410 | <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
|
---|
411 | <listitem>
|
---|
412 | <para>is a plug-in module for the <application>Apache</application>
|
---|
413 | HTTP server, used to make a
|
---|
414 | <application>Subversion</application> repository available to others over the
|
---|
415 | Internet or an intranet.</para>
|
---|
416 | <indexterm zone="subversion mod_dav_svn">
|
---|
417 | <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
|
---|
418 | </indexterm>
|
---|
419 | </listitem>
|
---|
420 | </varlistentry>
|
---|
421 |
|
---|
422 | </variablelist>
|
---|
423 |
|
---|
424 | </sect2>
|
---|
425 |
|
---|
426 | </sect1>
|
---|