source: general/prog/subversion.xml@ baa6857

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 baa6857 was baa6857, checked in by Thomas Trepl <thomas@…>, 6 years ago

lfs82: apr-util, apr, subversion, wget, cyrus-sasl, db, sqlite

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

  • Property mode set to 100644
File size: 18.1 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
[8dfc5c3]7 <!ENTITY subversion-download-http "https://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
[37c1117]8 <!ENTITY subversion-download-ftp " ">
[f60ecce]9 <!ENTITY subversion-md5sum "05b0c677681073920f938c1f322e0be2">
10 <!ENTITY subversion-size "7.6 MB">
11 <!-- for 1.9.7 with only perl and python, tests are less than 6 SBU -->
12 <!ENTITY subversion-buildsize "198 MB (add 173 MB for bindings, 24 MB for docs, 1 GB for tests)">
13 <!ENTITY subversion-time "1.2 SBU (add 1.4 SBU for bindings, 6.0 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
[baa6857]44 &lfs82_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
[92245989]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>
[464f030]186 To test the results of the Java bindings build,
187 issue <command>make check-javahl</command>. The
188 <application>JUnit</application> testing framework must be installed,
189 and the location of the JUnit jar has to be specified by passing the
190 <option>--with-junit=&lt;path to junit jar&gt;</option> parameter to
191 <command>configure</command>.
[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
[464f030]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>
[464f030]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
[464f030]258 <para>
259 <option>--enable-javahl</option>: enables compilation of Java high level
260 bindings. Running <command>make javahl</command> is necessary to do
261 the compilation.
262 </para>
263
264 <para>
265 <option>--with-junit=&lt;location of the junit jar file&gt;</option>:
266 gives the location of the junit jar, otherwise the javahl tests cannot
267 be run.
268 </para>
269
[59a6b63]270 <para>
[f4cbce35]271 <option>--disable-gmock</option>: Do not use the Googlemock testing
[59a6b63]272 framework.
273 </para>
274
[11a05ad]275 </sect2>
[8d0d2eb]276
[11a05ad]277 <sect2 role="configuration">
278 <title>Configuring Subversion</title>
279
280 <sect3 id="subversion-config">
281 <title>Config Files</title>
[8d0d2eb]282
[cd51da4]283 <para>
284 <filename>~/.subversion/config</filename> and
285 <filename>/etc/subversion/config</filename>
286 </para>
[8d0d2eb]287
[11a05ad]288 <indexterm zone="subversion subversion-config">
289 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
290 </indexterm>
[8d0d2eb]291
[11a05ad]292 <indexterm zone="subversion subversion-config">
293 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
294 </indexterm>
295 </sect3>
[8d0d2eb]296
[11a05ad]297 <sect3>
298 <title>Configuration Information</title>
[8d0d2eb]299
[cd51da4]300 <para>
301 <filename>/etc/subversion/config</filename> is the
302 <application>Subversion</application> system-wide configuration file.
303 This file is used to specify defaults for different
304 <command>svn</command> commands.
305 </para>
306
307 <para>
308 <filename>~/.subversion/config</filename> is the user's personal
309 configuration file. It is used to override the system-wide defaults set
310 in <filename>/etc/subversion/config</filename>.
311 </para>
[11a05ad]312 </sect3>
[b279414]313
[11a05ad]314 </sect2>
[8d0d2eb]315
[11a05ad]316 <sect2 role="content">
317 <title>Contents</title>
[8d0d2eb]318
[11a05ad]319 <segmentedlist>
320 <segtitle>Installed Programs</segtitle>
321 <segtitle>Installed Libraries</segtitle>
322 <segtitle>Installed Directories</segtitle>
[8d0d2eb]323
[11a05ad]324 <seglistitem>
[cd51da4]325 <seg>
[59a6b63]326 svn, svnadmin, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
327 svnrdump, svnserve, svnsync, and svnversion
[cd51da4]328 </seg>
329 <seg>
[1476aabf]330 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
[cd51da4]331 and mod_authz_svn.so <application>Apache HTTP</application> DSO
[66c47415]332 modules and various <application>Perl</application>,
333 <application>Python</application> and
334 <application>Ruby</application> modules.
[cd51da4]335 </seg>
336 <seg>
337 /usr/include/subversion-1,
[7f5413b]338 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
339 /usr/lib/python2.7/site-packages/{libsvn,svn},
[7374e16]340 /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
[7f5413b]341 /usr/lib/svn-javahl, and
342 /usr/share/doc/subversion-&subversion-version;
[cd51da4]343 </seg>
[11a05ad]344 </seglistitem>
345 </segmentedlist>
[8d0d2eb]346
[11a05ad]347 <variablelist>
348 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
349 <?dbfo list-presentation="list"?>
350 <?dbhtml list-presentation="table"?>
[8d0d2eb]351
[11a05ad]352 <varlistentry id="svn">
353 <term><command>svn</command></term>
354 <listitem>
[cd51da4]355 <para>
356 is a command-line client program used to access
357 <application>Subversion</application> repositories.
358 </para>
[11a05ad]359 <indexterm zone="subversion svn">
360 <primary sortas="b-svn">svn</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
[8d0d2eb]364
[11a05ad]365 <varlistentry id="svnadmin">
366 <term><command>svnadmin</command></term>
367 <listitem>
[cd51da4]368 <para>
369 is a tool for creating, tweaking or repairing a
370 <application>Subversion</application> repository.
371 </para>
[11a05ad]372 <indexterm zone="subversion svnadmin">
373 <primary sortas="b-svnadmin">svnadmin</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
[8d0d2eb]377
[59a6b63]378 <varlistentry id="svnbench">
379 <term><command>svnbench</command></term>
380 <listitem>
381 <para>
382 is a benchmarking tool.
383 </para>
384 <indexterm zone="subversion svnbench">
385 <primary sortas="b-svnbench">svnbench</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
[11a05ad]390 <varlistentry id="svndumpfilter">
391 <term><command>svndumpfilter</command></term>
392 <listitem>
[cd51da4]393 <para>
394 is a program for filtering <application>Subversion</application>
395 repository dumpfile format streams.
396 </para>
[11a05ad]397 <indexterm zone="subversion svndumpfilter">
398 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
[8d0d2eb]402
[59a6b63]403 <varlistentry id="svnfsfs">
404 <term><command>svnfsfs</command></term>
405 <listitem>
406 <para>
407 is the FSFS (FileSystem atop of the FileSystem -
408 <application>Subversion</application> filesystem implementation)
409 repository manipulation tool.
410 </para>
411 <indexterm zone="subversion svnfsfs">
412 <primary sortas="b-svnfsfs">svnfsfs</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
[11a05ad]417 <varlistentry id="svnlook">
418 <term><command>svnlook</command></term>
419 <listitem>
[cd51da4]420 <para>
421 is a tool for inspecting a <application>Subversion</application>
422 repository.
423 </para>
[11a05ad]424 <indexterm zone="subversion svnlook">
425 <primary sortas="b-svnlook">svnlook</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
[8d0d2eb]429
[66c47415]430 <varlistentry id="svnmucc">
431 <term><command>svnmucc</command></term>
432 <listitem>
433 <para>
434 is a Multiple URL Command Client for <application>Subversion</application>.
435 </para>
436 <indexterm zone="subversion svnmucc">
437 <primary sortas="b-svnmucc">svnmucc</primary>
438 </indexterm>
439 </listitem>
440 </varlistentry>
441
[cd51da4]442 <varlistentry id="svnrdump">
443 <term><command>svnrdump</command></term>
444 <listitem>
445 <para>
446 is a tool for dumping or loading a remote
447 <application>Subversion</application> repository.
448 </para>
449 <indexterm zone="subversion svnrdump">
450 <primary sortas="b-svnrdump">svnrdump</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
[11a05ad]455 <varlistentry id="svnserve">
456 <term><command>svnserve</command></term>
457 <listitem>
[cd51da4]458 <para>
459 is a custom standalone server program, able to run as a daemon
460 process or invoked by SSH.
461 </para>
[11a05ad]462 <indexterm zone="subversion svnserve">
463 <primary sortas="b-svnserve">svnserve</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
[8d0d2eb]467
[cd51da4]468 <varlistentry id="svnsync">
469 <term><command>svnsync</command></term>
[11a05ad]470 <listitem>
[cd51da4]471 <para>
472 is a <application>Subversion</application> repository
473 synchronisation tool.
474 </para>
475 <indexterm zone="subversion svnsync">
476 <primary sortas="b-svnsync">svnsync</primary>
[11a05ad]477 </indexterm>
478 </listitem>
479 </varlistentry>
[8d0d2eb]480
[cd51da4]481 <varlistentry id="svnversion">
482 <term><command>svnversion</command></term>
[11a05ad]483 <listitem>
[cd51da4]484 <para>
485 is used to report the version number and state of a working
486 <application>Subversion</application> repository copy.
487 </para>
488 <indexterm zone="subversion svnversion">
489 <primary sortas="b-svnversion">svnversion</primary>
[11a05ad]490 </indexterm>
491 </listitem>
492 </varlistentry>
[8d0d2eb]493
[1476aabf]494 <varlistentry id="libsvn_star-1">
495 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
[11a05ad]496 <listitem>
[cd51da4]497 <para>
498 are the support libraries used by the
499 <application>Subversion</application> programs.
500 </para>
[1476aabf]501 <indexterm zone="subversion libsvn_star-1">
502 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
[11a05ad]503 </indexterm>
504 </listitem>
505 </varlistentry>
[8d0d2eb]506
[11a05ad]507 <varlistentry id="mod_authz_svn">
[cd51da4]508 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
[11a05ad]509 <listitem>
[cd51da4]510 <para>
511 is a plug-in module for the <application>Apache</application> HTTP
512 server, used to authenticate users to a
513 <application>Subversion</application> repository over the Internet
514 or an intranet.
515 </para>
[11a05ad]516 <indexterm zone="subversion mod_authz_svn">
517 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
[8d0d2eb]521
[11a05ad]522 <varlistentry id="mod_dav_svn">
[cd51da4]523 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
[11a05ad]524 <listitem>
[cd51da4]525 <para>
526 is a plug-in module for the <application>Apache</application> HTTP
527 server, used to make a <application>Subversion</application>
528 repository available to others over the Internet or an intranet.
529 </para>
[11a05ad]530 <indexterm zone="subversion mod_dav_svn">
531 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
532 </indexterm>
533 </listitem>
534 </varlistentry>
[b279414]535
[11a05ad]536 </variablelist>
[b279414]537
[11a05ad]538 </sect2>
[b279414]539
[a91dd56]540</sect1>
Note: See TracBrowser for help on using the repository browser.