source: basicnet/netprogs/subversion.xml@ b02921f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 b02921f was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

  • Property mode set to 100644
File size: 19.0 KB
RevLine 
[a91dd56]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[a91dd56]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0aeb696]7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
[a91dd56]19 <!ENTITY subversion-download-http "http://subversion.tigris.org/tarballs/subversion-&subversion-version;.tar.bz2">
[37c1117]20 <!ENTITY subversion-download-ftp " ">
21 <!ENTITY subversion-md5sum "07b95963968ae345541ca99d0e7bf082">
22 <!ENTITY subversion-size "6.7 MB">
23
24 <!ENTITY subversion-buildsize "100 MB (additional 57 MB to install all bindings and 465 MB to run all test suites)">
25 <!ENTITY subversion-time "1.7 SBU (add 1.1 SBU for bindings and 20-60 minutes to run test suites)">
26
27 <!ENTITY svn-neon-version "0.25.5">
[a91dd56]28]>
29
30<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
[11a05ad]31 <?dbhtml filename="subversion.html"?>
[8d0d2eb]32
[11a05ad]33 <sect1info>
34 <othername>$LastChangedBy$</othername>
35 <date>$Date$</date>
36 </sect1info>
[8d0d2eb]37
[11a05ad]38 <title>Subversion-&subversion-version;</title>
[8d0d2eb]39
[11a05ad]40 <indexterm zone="subversion">
41 <primary sortas="a-Subversion">Subversion</primary>
42 </indexterm>
43
44 <sect2 role="package">
45 <title>Introduction to Subversion</title>
46
[5d5ced00]47 <para><application>Subversion</application> is a version control
48 system that is designed to be a compelling replacement for
49 <application>CVS</application> in the open source community. It
50 extends and enhances <application>CVS</application>' feature set,
51 while maintaining a similar interface for those already familiar with
52 <application>CVS</application>. These instructions install the client
[707406b]53 and server software used to manipulate a
54 <application>Subversion</application> repository. Creation of a repository
55 is covered at <xref linkend="svnserver"/>.</para>
[8d0d2eb]56
[11a05ad]57 <bridgehead renderas="sect3">Package Information</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Download (HTTP): <ulink url="&subversion-download-http;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para>
64 </listitem>
65 <listitem>
66 <para>Download MD5 sum: &subversion-md5sum;</para>
67 </listitem>
68 <listitem>
69 <para>Download size: &subversion-size;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated disk space required: &subversion-buildsize;</para>
73 </listitem>
74 <listitem>
[2174baa]75 <para>Estimated build time: &subversion-time;</para>
76 </listitem>
[11a05ad]77 </itemizedlist>
[8d0d2eb]78
[cb91861]79 <!--
[707406b]80 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
81 <itemizedlist spacing="compact">
82 <listitem>
83 <para>Required patch if using
84 <application>Swig</application>-1.3.25 and you wish
85 to build the <application>Perl</application> bindings: <ulink
86 url="&patch-root;/patches/subversion-&subversion-version;-swig_1.3.25-1.patch"/></para>
87 </listitem>
88 </itemizedlist>
[cb91861]89 -->
[707406b]90
[db0eb6a]91 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
[8d0d2eb]92
[11a05ad]93 <bridgehead renderas="sect4">Optional</bridgehead>
[37c1117]94 <para role="optional"><xref linkend="python"/>
95 (required to run the test suite),
[3f87e4a]96 <!-- <xref linkend="db"/>, -->
[37c1117]97 <xref linkend="apache"/> or
98 <ulink url="http://apr.apache.org/">Apache Portable Runtime</ulink>,
[5d5ced00]99 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
[37c1117]100 <xref linkend="jdk"/> (to build the Java bindings),
101 <ulink url="http://www.junit.org/">JUnit</ulink>
102 (required for running the Java bindings test suite and requires
[5d5ced00]103 <xref linkend="unzip"/>),
[37c1117]104 <ulink url="http://www.inet.no/dante/">Dante</ulink>
105 (alternate Java compiler), and
[11a05ad]106 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
[37c1117]107 Jikes</ulink> (another alternate Java compiler)</para>
[8d0d2eb]108
[5d5ced00]109 <bridgehead renderas="sect4">Optional for the Bundled Version of
[e3353b3]110 <application>Neon</application></bridgehead>
[4dbbf634]111 <para role="optional"><xref linkend="pkgconfig"/>,
[37c1117]112 <xref linkend="libxml2"/> or <xref linkend="expat"/>,
[5d5ced00]113 <xref linkend="openssl"/>,
[11a05ad]114 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
[8d0d2eb]115
[5d5ced00]116 <bridgehead renderas="sect4">Optional for the Bundled Version of
[9a1ce8b7]117 <application>Apache Portable Runtime</application></bridgehead>
118 <para role="optional"><xref linkend="expat"/> and
[11a05ad]119 <xref linkend="gdbm"/></para>
[37c1117]120 <!-- <xref linkend="db"/>, -->
[8d0d2eb]121
[5d5ced00]122 <bridgehead renderas="sect4">Optional to Build the
[e3353b3]123 <application>SWIG</application> Bindings</bridgehead>
[4dbbf634]124 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
[3f87e4a]125 <xref linkend="python"/>, and
[37c1117]126 <xref linkend="ruby"/></para>
[8d0d2eb]127
[37c1117]128 <para>Note that the <application>Python</application>,
129 <application>Perl</application> and <application>Ruby</application>
130 bindings will not compile properly with the current version of
131 <application>SWIG</application>. To build the bindings, you must have
132 <application>SWIG</application>-1.3.{24,25} installed. Complete
133 instructions for building the <application>SWIG</application> bindings
134 can be found in the <application>Subversion</application> source tree
135 file <filename>./subversion/bindings/swig/INSTALL</filename>.</para>
[794936b]136
[ef04308d]137 <para condition="html" role="usernotes">User Notes:
138 <ulink url="&blfs-wiki;/subversion"/></para>
139
[11a05ad]140 </sect2>
[8d0d2eb]141
[11a05ad]142 <sect2 role="installation">
143 <title>Installation of Subversion</title>
144
[cf5c43f3]145 <caution>
146 <para>For reasons that are not yet fully understood,
147 <application>Subversion</application> repositories based on some versions
148 of <application>Berkeley DB</application> (notably 4.4.x) may not perform
149 reliably. Though there have been no reports of corrupted databases caused
150 by this issue, the <application>Subversion</application> test suite may
151 report a failure in one of the tests due to problems opening a repository
152 based on <application>Berkeley DB</application>. This issue only affects
153 BDB-based repositories on a local installation and does not affect access
154 to a BDB-based repository on a remote system built with older versions of
155 <application>Subversion</application> or
156 <application>Berkeley DB</application>.</para>
157
158 <para>For these reasons, the <application>Berkeley DB</application>
159 back-end is disabled, and any local BDB-based repositories you may have
160 will be unavailable after installing <application>Subversion</application>
161 using the following instructions. Please reference the information at
162 <ulink
163 url="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5"/>
164 if you need to migrate your repositores.</para>
165 </caution>
166
[37c1117]167 <para>Install <application>Subversion</application> by running the
168 following commands:</para>
[11a05ad]169
[37c1117]170<screen><userinput>./configure --prefix=/usr \
[cf5c43f3]171 --without-berkeley-db \
[37c1117]172 --with-installbuilddir=/usr/lib/apr-0 &amp;&amp;
[11a05ad]173make</userinput></screen>
174
175 <note>
176 <para>If you have <application>Apache</application> installed, pass
[37c1117]177 the <option>--with-apr=/usr</option> and
178 <option>--with-apr-util=/usr</option> switches to the
179 <command>configure</command> script. Otherwise,
[5d5ced00]180 <application>Subversion</application> will overwrite APR and APR-utils
[37c1117]181 from the <application>Apache</application> installation with the source
182 distribution files. You may also need to pass
183 <option>--with-apxs=/usr/sbin/apxs</option> as <command>apxs</command>
184 might not be in an unprivileged user's <envar>PATH</envar> and won't be
185 properly discovered. Additionally if you have
186 <application>Apache</application> installed, you may safely remove the
187 <parameter>--with-installbuilddir=/usr/lib/apr-0</parameter> parameter
188 as it will have no effect.</para>
[11a05ad]189 </note>
[8d0d2eb]190
[5d5ced00]191 <para>If you passed the <option>--enable-javahl</option> parameter to
[37c1117]192 <command>configure</command> and wish to build the Java bindings, issue
193 the following command:</para>
[11a05ad]194
195<screen><userinput>make javahl</userinput></screen>
196
[794936b]197 <para>If you passed the <option>-with-swig</option> parameter to
[5d5ced00]198 <command>configure</command> and wish to build the
[37c1117]199 <application>Perl</application>, <application>Python</application> and/or
200 <application>Ruby</application> bindings, issue any or all of the following
201 commands:</para>
[11a05ad]202
203<screen><userinput>make swig-pl &amp;&amp;
[37c1117]204make swig-py &amp;&amp;
205make swig-rb</userinput></screen>
[707406b]206
207 <para>To test the results of the <application>Subversion</application>
[cb91861]208 build, issue: <command>make check</command>. This will take quite a long
209 time.</para>
[707406b]210
[37c1117]211 <note>
212 <para>The <computeroutput>fs-base-test</computeroutput> is known to fail
213 with issues surrounding the Berkely database installation. As mentioned
214 earlier, it is not yet fully understood why this test fails.</para>
215 </note>
[794936b]216
[37c1117]217 <para>To test the results of the Java bindings build, issue
218 <command>make check-javahl</command>. Note you must have the
219 <application>JUnit</application> (version 3.8.x) testing framework
220 installed.</para>
221
222 <para>To test the results of any or all of the
223 <application>SWIG</application> bindings, you can use the following
224 commands:</para>
225
226<screen><userinput>make check-swig-pl &amp;&amp;
227make check-swig-py &amp;&amp;
228make check-swig-rb</userinput></screen>
[8d0d2eb]229
[11a05ad]230 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
231
232<screen role='root'><userinput>make install &amp;&amp;
[cf5c43f3]233rm doc/{Makefile,doxygen.conf} &amp;&amp;
234find doc -type d -exec chmod 755 {} \; &amp;&amp;
235find doc -type f -exec chmod 644 {} \; &amp;&amp;
[37c1117]236install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
[cf5c43f3]237cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</userinput></screen>
[a91dd56]238
[37c1117]239 <para>If you built the Java bindings, issue the following command
[794936b]240 as the <systemitem class="username">root</systemitem> user to install
241 them:</para>
[4d6e546]242
[11a05ad]243<screen role='root'><userinput>make install-javahl</userinput></screen>
[4d6e546]244
[37c1117]245 <para>If you built any of the <application>SWIG</application> bindings,
246 issue any or all of the following commands as the
247 <systemitem class="username">root</systemitem> user to install them:</para>
[4d6e546]248
[11a05ad]249<screen role='root'><userinput>make install-swig-pl &amp;&amp;
[37c1117]250
[4d6e546]251make install-swig-py &amp;&amp;
252echo /usr/lib/svn-python \
[37c1117]253 &gt; /usr/lib/python2.4/site-packages/subversion.pth &amp;&amp;
254
255make install-swig-rb</userinput></screen>
[8d0d2eb]256
[11a05ad]257 </sect2>
[8d0d2eb]258
[11a05ad]259 <sect2 role="commands">
260 <title>Command Explanations</title>
[8d0d2eb]261
[37c1117]262 <para><parameter>--with-installbuilddir=/usr/lib/apr-0</parameter>:
263 This parameter is used (and only has an effect if you used the source
264 provided version of Apache Portable Runtime) to force the installation
265 of some APR-related support programs to
266 <filename class="directory">/usr/lib/apr-0</filename> instead of
267 <filename class="directory">/usr/build</filename>.</para>
268
[061ec9d]269 <para><option>--with-neon=<replaceable>&lt;prefix&gt;</replaceable></option>:
[37c1117]270 This option should be used if you wish to use a system-installed version
271 of <application>neon</application>.</para>
272
[5d5ced00]273 <para><option>--with-ssl</option>: This switch enables
274 <application>OpenSSL</application> support in
[794936b]275 <application>neon</application> (only required if you use the bundled
276 version of <application>neon</application>).</para>
[8d0d2eb]277
[11a05ad]278 </sect2>
[8d0d2eb]279
[11a05ad]280 <sect2 role="configuration">
281 <title>Configuring Subversion</title>
282
283 <sect3 id="subversion-config">
284 <title>Config Files</title>
[8d0d2eb]285
[5d5ced00]286 <para><filename>~/.subversion/config</filename> and
[11a05ad]287 <filename>/etc/subversion/config</filename></para>
[8d0d2eb]288
[11a05ad]289 <indexterm zone="subversion subversion-config">
290 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
291 </indexterm>
[8d0d2eb]292
[11a05ad]293 <indexterm zone="subversion subversion-config">
294 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
295 </indexterm>
[8d0d2eb]296
[11a05ad]297 </sect3>
[8d0d2eb]298
[11a05ad]299 <sect3>
300 <title>Configuration Information</title>
[8d0d2eb]301
[5d5ced00]302 <para><filename>/etc/subversion/config</filename> is the
[11a05ad]303 <application>Subversion</application> system-wide configuration file.
[5d5ced00]304 This file is used to specify defaults for different
[11a05ad]305 <command>svn</command> commands.</para>
[8d0d2eb]306
[5d5ced00]307 <para><filename>~/.subversion/config</filename> is the user's personal
308 configuration file. It is used to override the system-wide defaults
[11a05ad]309 set in <filename>/etc/subversion/config</filename>.</para>
[8d0d2eb]310
[11a05ad]311 </sect3>
[8d0d2eb]312
[11a05ad]313 </sect2>
[8d0d2eb]314
[11a05ad]315 <sect2 role="content">
316 <title>Contents</title>
[8d0d2eb]317
[11a05ad]318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
[8d0d2eb]322
[11a05ad]323 <seglistitem>
[5d5ced00]324 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
[37c1117]325 optionally, neon-config and apr-config</seg>
[ef04308d]326 <seg>libsvn*.{so,a} and optionally, libneon.{so,a} and the mod_dav_svn.so,
[8d0d2eb]327 and mod_authz_svn.so <application>Apache HTTP</application>
[11a05ad]328 DSO modules</seg>
[5d5ced00]329 <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
[ef04308d]330 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/auto/SVN (optional),
331 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/SVN (optional),
[5d5ced00]332 /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional),
333 /usr/share/doc/neon-&svn-neon-version; (optional), and
[11a05ad]334 /usr/share/doc/subversion-&subversion-version;</seg>
335 </seglistitem>
336 </segmentedlist>
[8d0d2eb]337
[11a05ad]338 <variablelist>
339 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
340 <?dbfo list-presentation="list"?>
341 <?dbhtml list-presentation="table"?>
[8d0d2eb]342
[11a05ad]343 <varlistentry id="svn">
344 <term><command>svn</command></term>
345 <listitem>
[5d5ced00]346 <para>is a command-line client program used to access
[11a05ad]347 <application>Subversion</application> repositories.</para>
348 <indexterm zone="subversion svn">
349 <primary sortas="b-svn">svn</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
[8d0d2eb]353
[11a05ad]354 <varlistentry id="svnadmin">
355 <term><command>svnadmin</command></term>
356 <listitem>
357 <para>is a tool for creating, tweaking or repairing a
358 <application>Subversion</application> repository.</para>
359 <indexterm zone="subversion svnadmin">
360 <primary sortas="b-svnadmin">svnadmin</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
[8d0d2eb]364
[11a05ad]365 <varlistentry id="svndumpfilter">
366 <term><command>svndumpfilter</command></term>
367 <listitem>
[8d0d2eb]368 <para>is a program for filtering <application>Subversion</application>
[11a05ad]369 repository dumpfile format streams.</para>
370 <indexterm zone="subversion svndumpfilter">
371 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
[8d0d2eb]375
[11a05ad]376 <varlistentry id="svnlook">
377 <term><command>svnlook</command></term>
378 <listitem>
[5d5ced00]379 <para>is a tool for inspecting a
[11a05ad]380 <application>Subversion</application> repository.</para>
381 <indexterm zone="subversion svnlook">
382 <primary sortas="b-svnlook">svnlook</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
[8d0d2eb]386
[11a05ad]387 <varlistentry id="svnserve">
388 <term><command>svnserve</command></term>
389 <listitem>
[5d5ced00]390 <para>is a custom standalone server program, able to run as a
[11a05ad]391 daemon process or invoked by SSH.</para>
392 <indexterm zone="subversion svnserve">
393 <primary sortas="b-svnserve">svnserve</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
[8d0d2eb]397
[11a05ad]398 <varlistentry id="svnversion">
399 <term><command>svnversion</command></term>
400 <listitem>
[5d5ced00]401 <para>is used to report the version number and state of a
[11a05ad]402 working <application>Subversion</application> repository copy.</para>
403 <indexterm zone="subversion svnversion">
404 <primary sortas="b-svnversion">svnversion</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
[8d0d2eb]408
[11a05ad]409 <varlistentry id="neon-config">
410 <term><command>neon-config</command></term>
411 <listitem>
[5d5ced00]412 <para>is a script which provides information about an installed
[11a05ad]413 copy of the <application>neon</application> library.</para>
414 <indexterm zone="subversion neon-config">
415 <primary sortas="b-neon-config">neon-config</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
[8d0d2eb]419
[11a05ad]420 <varlistentry id="libsvn_star">
[061ec9d]421 <term><filename class='libraryfile'>libsvn_*.{so,a}</filename></term>
[11a05ad]422 <listitem>
[5d5ced00]423 <para>are the support libraries used by the
[11a05ad]424 <application>Subversion</application> programs.</para>
425 <indexterm zone="subversion libsvn_star">
[061ec9d]426 <primary sortas="c-libsvn_star">libsvn_*.{so,a}</primary>
[11a05ad]427 </indexterm>
428 </listitem>
429 </varlistentry>
[8d0d2eb]430
[11a05ad]431 <varlistentry id="libneon">
[061ec9d]432 <term><filename class='libraryfile'>libneon.{so,a}</filename></term>
[11a05ad]433 <listitem>
[5d5ced00]434 <para>is used as a high-level interface to common
[11a05ad]435 HTTP and WebDAV methods.</para>
436 <indexterm zone="subversion libneon">
[061ec9d]437 <primary sortas="c-libneon">libneon.{so,a}</primary>
[11a05ad]438 </indexterm>
439 </listitem>
440 </varlistentry>
[8d0d2eb]441
[11a05ad]442 <varlistentry id="mod_authz_svn">
443 <term><filename class='libraryfile'>mod_authz_svn.so</filename></term>
444 <listitem>
445 <para>is a plug-in module for the <application>Apache</application>
[5d5ced00]446 HTTP server, used to authenticate users to a
447 <application>Subversion</application> repository over the Internet or an
[11a05ad]448 intranet.</para>
449 <indexterm zone="subversion mod_authz_svn">
450 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
[8d0d2eb]454
[11a05ad]455 <varlistentry id="mod_dav_svn">
456 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
457 <listitem>
[8d0d2eb]458 <para>is a plug-in module for the <application>Apache</application>
[5d5ced00]459 HTTP server, used to make a
460 <application>Subversion</application> repository available to others over the
[11a05ad]461 Internet or an intranet.</para>
462 <indexterm zone="subversion mod_dav_svn">
463 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
[8d0d2eb]467
[11a05ad]468 </variablelist>
469
470 </sect2>
[a91dd56]471
472</sect1>
Note: See TracBrowser for help on using the repository browser.