source: general/prog/subversion.xml@ 7d68b92

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 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 7d68b92 was 7d68b92, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Tags for programs needed to build LFS/BLFS books

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

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