source: general/prog/subversion.xml@ 514797f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 514797f was 1b3fa5a, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Update to LVM2.2.02.138.
  • Update to subversion-1.9.3.
  • bind-9.10.3-P2 (bind9.10.3-P2) and BIND Utilities-9.10.3.

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

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