source: basicnet/netprogs/subversion.xml@ 0aeb696

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 0aeb696 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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
19 <!ENTITY subversion-download-http "http://subversion.tigris.org/tarballs/subversion-&subversion-version;.tar.bz2">
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">
28]>
29
30<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
31 <?dbhtml filename="subversion.html"?>
32
33 <sect1info>
34 <othername>$LastChangedBy$</othername>
35 <date>$Date$</date>
36 <keywordset>
37 <keyword role="package">subversion-&subversion-version;.tar</keyword>
38 <keyword role="ftpdir">subversion</keyword>
39 </keywordset>
40 </sect1info>
41
42 <title>Subversion-&subversion-version;</title>
43
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
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
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>
60
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>
79 <para>Estimated build time: &subversion-time;</para>
80 </listitem>
81 </itemizedlist>
82
83 <!--
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>
93 -->
94
95 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
96
97 <bridgehead renderas="sect4">Optional</bridgehead>
98 <para role="optional"><xref linkend="python"/>
99 (required to run the test suite),
100 <!-- <xref linkend="db"/>, -->
101 <xref linkend="apache"/> or
102 <ulink url="http://apr.apache.org/">Apache Portable Runtime</ulink>,
103 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
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
107 <xref linkend="unzip"/>),
108 <ulink url="http://www.inet.no/dante/">Dante</ulink>
109 (alternate Java compiler), and
110 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
111 Jikes</ulink> (another alternate Java compiler)</para>
112
113 <bridgehead renderas="sect4">Optional for the Bundled Version of
114 <application>Neon</application></bridgehead>
115 <para role="optional"><xref linkend="pkgconfig"/>,
116 <xref linkend="libxml2"/> or <xref linkend="expat"/>,
117 <xref linkend="openssl"/>,
118 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
119
120 <bridgehead renderas="sect4">Optional for the Bundled Version of
121 <application>Apache Portable Runtime</application></bridgehead>
122 <para role="optional"><xref linkend="expat"/> and
123 <xref linkend="gdbm"/></para>
124 <!-- <xref linkend="db"/>, -->
125
126 <bridgehead renderas="sect4">Optional to Build the
127 <application>SWIG</application> Bindings</bridgehead>
128 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
129 <xref linkend="python"/>, and
130 <xref linkend="ruby"/></para>
131
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>
140
141 <para condition="html" role="usernotes">User Notes:
142 <ulink url="&blfs-wiki;/subversion"/></para>
143
144 </sect2>
145
146 <sect2 role="installation">
147 <title>Installation of Subversion</title>
148
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
171 <para>Install <application>Subversion</application> by running the
172 following commands:</para>
173
174<screen><userinput>./configure --prefix=/usr \
175 --without-berkeley-db \
176 --with-installbuilddir=/usr/lib/apr-0 &amp;&amp;
177make</userinput></screen>
178
179 <note>
180 <para>If you have <application>Apache</application> installed, pass
181 the <option>--with-apr=/usr</option> and
182 <option>--with-apr-util=/usr</option> switches to the
183 <command>configure</command> script. Otherwise,
184 <application>Subversion</application> will overwrite APR and APR-utils
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>
193 </note>
194
195 <para>If you passed the <option>--enable-javahl</option> parameter to
196 <command>configure</command> and wish to build the Java bindings, issue
197 the following command:</para>
198
199<screen><userinput>make javahl</userinput></screen>
200
201 <para>If you passed the <option>-with-swig</option> parameter to
202 <command>configure</command> and wish to build the
203 <application>Perl</application>, <application>Python</application> and/or
204 <application>Ruby</application> bindings, issue any or all of the following
205 commands:</para>
206
207<screen><userinput>make swig-pl &amp;&amp;
208make swig-py &amp;&amp;
209make swig-rb</userinput></screen>
210
211 <para>To test the results of the <application>Subversion</application>
212 build, issue: <command>make check</command>. This will take quite a long
213 time.</para>
214
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>
220
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>
233
234 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
235
236<screen role='root'><userinput>make install &amp;&amp;
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;
240install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
241cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</userinput></screen>
242
243 <para>If you built the Java bindings, issue the following command
244 as the <systemitem class="username">root</systemitem> user to install
245 them:</para>
246
247<screen role='root'><userinput>make install-javahl</userinput></screen>
248
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>
252
253<screen role='root'><userinput>make install-swig-pl &amp;&amp;
254
255make install-swig-py &amp;&amp;
256echo /usr/lib/svn-python \
257 &gt; /usr/lib/python2.4/site-packages/subversion.pth &amp;&amp;
258
259make install-swig-rb</userinput></screen>
260
261 </sect2>
262
263 <sect2 role="commands">
264 <title>Command Explanations</title>
265
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
273 <para><option>--with-neon=<replaceable>&lt;prefix&gt;</replaceable></option>:
274 This option should be used if you wish to use a system-installed version
275 of <application>neon</application>.</para>
276
277 <para><option>--with-ssl</option>: This switch enables
278 <application>OpenSSL</application> support in
279 <application>neon</application> (only required if you use the bundled
280 version of <application>neon</application>).</para>
281
282 </sect2>
283
284 <sect2 role="configuration">
285 <title>Configuring Subversion</title>
286
287 <sect3 id="subversion-config">
288 <title>Config Files</title>
289
290 <para><filename>~/.subversion/config</filename> and
291 <filename>/etc/subversion/config</filename></para>
292
293 <indexterm zone="subversion subversion-config">
294 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
295 </indexterm>
296
297 <indexterm zone="subversion subversion-config">
298 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
299 </indexterm>
300
301 </sect3>
302
303 <sect3>
304 <title>Configuration Information</title>
305
306 <para><filename>/etc/subversion/config</filename> is the
307 <application>Subversion</application> system-wide configuration file.
308 This file is used to specify defaults for different
309 <command>svn</command> commands.</para>
310
311 <para><filename>~/.subversion/config</filename> is the user's personal
312 configuration file. It is used to override the system-wide defaults
313 set in <filename>/etc/subversion/config</filename>.</para>
314
315 </sect3>
316
317 </sect2>
318
319 <sect2 role="content">
320 <title>Contents</title>
321
322 <segmentedlist>
323 <segtitle>Installed Programs</segtitle>
324 <segtitle>Installed Libraries</segtitle>
325 <segtitle>Installed Directories</segtitle>
326
327 <seglistitem>
328 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
329 optionally, neon-config and apr-config</seg>
330 <seg>libsvn*.{so,a} and optionally, libneon.{so,a} and the mod_dav_svn.so,
331 and mod_authz_svn.so <application>Apache HTTP</application>
332 DSO modules</seg>
333 <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
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),
336 /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional),
337 /usr/share/doc/neon-&svn-neon-version; (optional), and
338 /usr/share/doc/subversion-&subversion-version;</seg>
339 </seglistitem>
340 </segmentedlist>
341
342 <variablelist>
343 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
344 <?dbfo list-presentation="list"?>
345 <?dbhtml list-presentation="table"?>
346
347 <varlistentry id="svn">
348 <term><command>svn</command></term>
349 <listitem>
350 <para>is a command-line client program used to access
351 <application>Subversion</application> repositories.</para>
352 <indexterm zone="subversion svn">
353 <primary sortas="b-svn">svn</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
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>
368
369 <varlistentry id="svndumpfilter">
370 <term><command>svndumpfilter</command></term>
371 <listitem>
372 <para>is a program for filtering <application>Subversion</application>
373 repository dumpfile format streams.</para>
374 <indexterm zone="subversion svndumpfilter">
375 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="svnlook">
381 <term><command>svnlook</command></term>
382 <listitem>
383 <para>is a tool for inspecting a
384 <application>Subversion</application> repository.</para>
385 <indexterm zone="subversion svnlook">
386 <primary sortas="b-svnlook">svnlook</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="svnserve">
392 <term><command>svnserve</command></term>
393 <listitem>
394 <para>is a custom standalone server program, able to run as a
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>
401
402 <varlistentry id="svnversion">
403 <term><command>svnversion</command></term>
404 <listitem>
405 <para>is used to report the version number and state of a
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>
412
413 <varlistentry id="neon-config">
414 <term><command>neon-config</command></term>
415 <listitem>
416 <para>is a script which provides information about an installed
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>
423
424 <varlistentry id="libsvn_star">
425 <term><filename class='libraryfile'>libsvn_*.{so,a}</filename></term>
426 <listitem>
427 <para>are the support libraries used by the
428 <application>Subversion</application> programs.</para>
429 <indexterm zone="subversion libsvn_star">
430 <primary sortas="c-libsvn_star">libsvn_*.{so,a}</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="libneon">
436 <term><filename class='libraryfile'>libneon.{so,a}</filename></term>
437 <listitem>
438 <para>is used as a high-level interface to common
439 HTTP and WebDAV methods.</para>
440 <indexterm zone="subversion libneon">
441 <primary sortas="c-libneon">libneon.{so,a}</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
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>
450 HTTP server, used to authenticate users to a
451 <application>Subversion</application> repository over the Internet or an
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>
458
459 <varlistentry id="mod_dav_svn">
460 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
461 <listitem>
462 <para>is a plug-in module for the <application>Apache</application>
463 HTTP server, used to make a
464 <application>Subversion</application> repository available to others over the
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>
471
472 </variablelist>
473
474 </sect2>
475
476</sect1>
Note: See TracBrowser for help on using the repository browser.