source: general/prog/subversion.xml@ 69d2a66

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 69d2a66 was 69d2a66, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to xf86-input-evdev-2.10.2.
Update to poppler-0.43.0.
Update to nautilus-3.20.1.
Update to webkitgtk-2.12.2.
Update to subversion-1.9.4.

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

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