source: general/prog/subversion.xml@ 31d2934

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

More lfs74 tags

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

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