source: general/prog/subversion.xml@ 4b33d7d5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 4b33d7d5 was 4b33d7d5, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Reformat Subversion-1.8.5.

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

  • Property mode set to 100644
File size: 17.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY subversion-download-http
8 "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
9 <!ENTITY subversion-download-ftp " ">
10 <!ENTITY subversion-md5sum "77349caf0ef5a612c9718c53516a9934">
11 <!ENTITY subversion-size "6.6 MB">
12 <!ENTITY subversion-buildsize "150 MB (additional 968 MB for tests)">
13 <!ENTITY subversion-time "0.9 SBU (additional 12.6 SBU for tests)">
14]>
15
16<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
17 <?dbhtml filename="subversion.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Subversion-&subversion-version;</title>
25
26 <indexterm zone="subversion">
27 <primary sortas="a-Subversion">Subversion</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Subversion</title>
32
33 <para>
34 <application>Subversion</application> is a version control system that is
35 designed to be a compelling replacement for <application>CVS</application>
36 in the open source community. It extends and enhances
37 <application>CVS</application>' feature set, while maintaining a similar
38 interface for those already familiar with <application>CVS</application>.
39 These instructions install the client and server software used to
40 manipulate a <application>Subversion</application> repository. Creation of
41 a repository is covered at <xref linkend="svnserver"/>.
42 </para>
43
44 &lfs74_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&subversion-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&subversion-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &subversion-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &subversion-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &subversion-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &subversion-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="apr-util"/> and
85 <xref linkend="sqlite"/>
86 </para>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
90 <xref linkend="openssl"/> and
91 <xref linkend="serf"/> (for handling http:// and https:// URLs)
92 </para>
93
94<!-- support for berkeley db is deprecated since 1.8
95 <note>
96 <para>
97 If you require the <application>Berkeley DB</application> back-end hooks
98 in <application>Subversion</application> to build or support BDB based
99 repositories, you must have <application>APR-util</application> linked to
100 the <application>Berkeley DB</application> library.
101 </para>
102 </note>
103-->
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="apache"/>,
108<!-- support for berkeley db is deprecated since 1.8
109 <xref linkend="db"/>,
110-->
111 <xref linkend="cyrus-sasl"/>,
112 <xref linkend="dbus"/>,
113 <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
114 <xref linkend="python2"/> (with sqlite support for the tests),
115 <xref linkend="ruby"/>, and
116 <xref linkend="swig"/> (for building Perl, Python and Ruby bindings)
117 </para>
118
119 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
120 <para role="optional">
121 One of <xref linkend="openjdk"/>,
122 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
123 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
124 and <xref linkend="junit"/> (to test the Java bindings)
125 </para>
126
127 <para condition="html" role="usernotes">
128 User Notes: <ulink url="&blfs-wiki;/subversion"/>
129 </para>
130 </sect2>
131
132 <sect2 role="installation">
133 <title>Installation of Subversion</title>
134
135 <para>
136 Install <application>Subversion</application> by running the following
137 commands:
138 </para>
139
140<screen><userinput>./configure --prefix=/usr \
141 --disable-static \
142 --with-apache-libexecdir &amp;&amp;
143make</userinput></screen>
144
145 <para>
146 If you have <xref linkend="doxygen"/> installed and you wish to build the
147 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
148 </para>
149
150 <para>
151 If you passed the <option>--enable-javahl</option> parameter to
152 <command>configure</command> and wish to build the Java bindings, issue
153 the following command:
154 </para>
155 <para>
156 <screen><command>make javahl</command></screen>
157 </para>
158
159 <para>
160 If you have a multi core CPU and normally run <command>make</command> with
161 multiple jobs (eg <command>make -j4</command>) then a bug in the
162 <filename>Makefile</filename> will prevent the
163 <application>Perl</application> bindings compiling correctly. Fix the
164 <filename>Makefile</filename> with:
165 </para>
166 <para>
167 <screen><command>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</command></screen>
168 </para>
169
170 <para>
171 If you want to compile <application>Perl</application>,
172 <application>Python2</application>, or <application>Ruby</application>
173 bindings, issue any of the following command:
174 </para>
175 <para>
176 <screen><command>make swig-pl</command> # for <application>Perl</application>
177<command>make swig-py \
178 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
179 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
180<command>make swig-rb</command> # for <application>Ruby</application></screen>
181 </para>
182
183 <para>
184 To test the results, issue: <command>make -k check</command>. One test
185 (wc-queries-test) is known to fail with recent versions of SQLite.
186 </para>
187
188 <para>
189 To test the results of the Java bindings build, issue
190 <command>make check-javahl</command>. Note you must have the
191 <application>JUnit</application> testing framework installed.
192 </para>
193
194 <para>
195 To test the results of any of the <application>SWIG</application>
196 bindings, you can use any of the following commands:
197 <command>make check-swig-pl</command>,
198 <command> make check-swig-py</command>, or
199 <command>make check-swig-rb</command>.
200 </para>
201
202
203 <para>
204 Now, as the <systemitem class="username">root</systemitem> user:
205 </para>
206
207<screen role="root"><userinput>make install &amp;&amp;
208install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
209cp -v -R doc/* \
210 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
211
212 <para>
213 If you built the Java bindings, issue the following command as the
214 <systemitem class="username">root</systemitem> user to install them:
215 </para>
216 <para>
217 <screen> <command>make install-javahl</command></screen>
218 </para>
219
220 <para>
221 If you built the <application>Perl</application>,
222 <application>Python2</application>, or
223 <application>Ruby</application> bindings, issue any of the following
224 commands as the <systemitem class="username">root</systemitem> user
225 to install them:
226 </para>
227 <para>
228 <screen><command>make install-swig-pl</command>
229<command>make install-swig-py \
230 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
231 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
232<command>make install-swig-rb</command></screen>
233 </para>
234
235 </sect2>
236
237 <sect2 role="commands">
238 <title>Command Explanations</title>
239
240 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
241 href="../../xincludes/static-libraries.xml"/>
242
243 <para>
244 <parameter>--with-apache-libexecdir</parameter>:
245 If <xref linkend="apache"/> is installed, the shared
246 <application>Apache</application> modules are
247 built. This switch allows to have those modules installed to
248 <application>Apache</application>'s configured module dir instead
249 of <filename class="directory">/usr/libexec</filename>. It has no effect
250 if <application>Apache</application> is not installed.
251 </para>
252
253 </sect2>
254
255 <sect2 role="configuration">
256 <title>Configuring Subversion</title>
257
258 <sect3 id="subversion-config">
259 <title>Config Files</title>
260
261 <para>
262 <filename>~/.subversion/config</filename> and
263 <filename>/etc/subversion/config</filename>
264 </para>
265
266 <indexterm zone="subversion subversion-config">
267 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
268 </indexterm>
269
270 <indexterm zone="subversion subversion-config">
271 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
272 </indexterm>
273 </sect3>
274
275 <sect3>
276 <title>Configuration Information</title>
277
278 <para>
279 <filename>/etc/subversion/config</filename> is the
280 <application>Subversion</application> system-wide configuration file.
281 This file is used to specify defaults for different
282 <command>svn</command> commands.
283 </para>
284
285 <para>
286 <filename>~/.subversion/config</filename> is the user's personal
287 configuration file. It is used to override the system-wide defaults set
288 in <filename>/etc/subversion/config</filename>.
289 </para>
290 </sect3>
291
292 </sect2>
293
294 <sect2 role="content">
295 <title>Contents</title>
296
297 <segmentedlist>
298 <segtitle>Installed Programs</segtitle>
299 <segtitle>Installed Libraries</segtitle>
300 <segtitle>Installed Directories</segtitle>
301
302 <seglistitem>
303 <seg>
304 svn, svnadmin, svndumpfilter, svnlook, svnmucc, svnrdump, svnserve,
305 svnsync, and svnversion
306 </seg>
307 <seg>
308 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
309 and mod_authz_svn.so <application>Apache HTTP</application> DSO
310 modules and various <application>Perl</application>,
311 <application>Python</application> and
312 <application>Ruby</application> modules.
313 </seg>
314 <seg>
315 /usr/include/subversion-1,
316 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional),
317 /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional),
318 /usr/lib/python&python2-majorver;/site-packages/libsvn (optional),
319 /usr/lib/python&python2-majorver;/site-packages/svn (optional),
320 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/i686-linux/svn (optional),
321 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/svn (optional),
322<!-- /usr/lib/svn-python/libsvn (optional),
323 /usr/lib/svn-python/svn (optional),
324-->
325 /usr/lib/svn-javahl (optional), and
326 /usr/share/doc/subversion-&subversion-version;
327 </seg>
328 </seglistitem>
329 </segmentedlist>
330
331 <variablelist>
332 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
333 <?dbfo list-presentation="list"?>
334 <?dbhtml list-presentation="table"?>
335
336 <varlistentry id="svn">
337 <term><command>svn</command></term>
338 <listitem>
339 <para>
340 is a command-line client program used to access
341 <application>Subversion</application> repositories.
342 </para>
343 <indexterm zone="subversion svn">
344 <primary sortas="b-svn">svn</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="svnadmin">
350 <term><command>svnadmin</command></term>
351 <listitem>
352 <para>
353 is a tool for creating, tweaking or repairing a
354 <application>Subversion</application> repository.
355 </para>
356 <indexterm zone="subversion svnadmin">
357 <primary sortas="b-svnadmin">svnadmin</primary>
358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="svndumpfilter">
363 <term><command>svndumpfilter</command></term>
364 <listitem>
365 <para>
366 is a program for filtering <application>Subversion</application>
367 repository dumpfile format streams.
368 </para>
369 <indexterm zone="subversion svndumpfilter">
370 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="svnlook">
376 <term><command>svnlook</command></term>
377 <listitem>
378 <para>
379 is a tool for inspecting a <application>Subversion</application>
380 repository.
381 </para>
382 <indexterm zone="subversion svnlook">
383 <primary sortas="b-svnlook">svnlook</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="svnmucc">
389 <term><command>svnmucc</command></term>
390 <listitem>
391 <para>
392 is a Multiple URL Command Client for <application>Subversion</application>.
393 </para>
394 <indexterm zone="subversion svnmucc">
395 <primary sortas="b-svnmucc">svnmucc</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
400 <varlistentry id="svnrdump">
401 <term><command>svnrdump</command></term>
402 <listitem>
403 <para>
404 is a tool for dumping or loading a remote
405 <application>Subversion</application> repository.
406 </para>
407 <indexterm zone="subversion svnrdump">
408 <primary sortas="b-svnrdump">svnrdump</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="svnserve">
414 <term><command>svnserve</command></term>
415 <listitem>
416 <para>
417 is a custom standalone server program, able to run as a daemon
418 process or invoked by SSH.
419 </para>
420 <indexterm zone="subversion svnserve">
421 <primary sortas="b-svnserve">svnserve</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry id="svnsync">
427 <term><command>svnsync</command></term>
428 <listitem>
429 <para>
430 is a <application>Subversion</application> repository
431 synchronisation tool.
432 </para>
433 <indexterm zone="subversion svnsync">
434 <primary sortas="b-svnsync">svnsync</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="svnversion">
440 <term><command>svnversion</command></term>
441 <listitem>
442 <para>
443 is used to report the version number and state of a working
444 <application>Subversion</application> repository copy.
445 </para>
446 <indexterm zone="subversion svnversion">
447 <primary sortas="b-svnversion">svnversion</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
451
452 <varlistentry id="libsvn_star-1">
453 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
454 <listitem>
455 <para>
456 are the support libraries used by the
457 <application>Subversion</application> programs.
458 </para>
459 <indexterm zone="subversion libsvn_star-1">
460 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="mod_authz_svn">
466 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
467 <listitem>
468 <para>
469 is a plug-in module for the <application>Apache</application> HTTP
470 server, used to authenticate users to a
471 <application>Subversion</application> repository over the Internet
472 or an intranet.
473 </para>
474 <indexterm zone="subversion mod_authz_svn">
475 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="mod_dav_svn">
481 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
482 <listitem>
483 <para>
484 is a plug-in module for the <application>Apache</application> HTTP
485 server, used to make a <application>Subversion</application>
486 repository available to others over the Internet or an intranet.
487 </para>
488 <indexterm zone="subversion mod_dav_svn">
489 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
490 </indexterm>
491 </listitem>
492 </varlistentry>
493
494 </variablelist>
495
496 </sect2>
497
498</sect1>
Note: See TracBrowser for help on using the repository browser.