source: general/prog/subversion.xml@ 0c927ec

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 0c927ec was 7c1b53e, checked in by Igor Živković <igor@…>, 11 years ago

update to subversion-1.8.3

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

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