source: general/prog/subversion.xml@ e9079cd2

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

Subversion-1.8.8: typo.

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

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