source: basicnet/netprogs/subversion.xml@ a0e439d

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 a0e439d was 37c1117, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated to Subversion-1.3.1

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

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