source: basicnet/netprogs/subversion.xml@ 7f5c97e

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 7f5c97e was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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