source: basicnet/netprogs/subversion.xml@ 9f12e36

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 9f12e36 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
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 </sect1info>
37
38 <title>Subversion-&subversion-version;</title>
39
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
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
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>
56
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>
75 <para>Estimated build time: &subversion-time;</para>
76 </listitem>
77 </itemizedlist>
78
79 <!--
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>
89 -->
90
91 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional"><xref linkend="python"/>
95 (required to run the test suite),
96 <!-- <xref linkend="db"/>, -->
97 <xref linkend="apache"/> or
98 <ulink url="http://apr.apache.org/">Apache Portable Runtime</ulink>,
99 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
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
103 <xref linkend="unzip"/>),
104 <ulink url="http://www.inet.no/dante/">Dante</ulink>
105 (alternate Java compiler), and
106 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
107 Jikes</ulink> (another alternate Java compiler)</para>
108
109 <bridgehead renderas="sect4">Optional for the Bundled Version of
110 <application>Neon</application></bridgehead>
111 <para role="optional"><xref linkend="pkgconfig"/>,
112 <xref linkend="libxml2"/> or <xref linkend="expat"/>,
113 <xref linkend="openssl"/>,
114 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
115
116 <bridgehead renderas="sect4">Optional for the Bundled Version of
117 <application>Apache Portable Runtime</application></bridgehead>
118 <para role="optional"><xref linkend="expat"/> and
119 <xref linkend="gdbm"/></para>
120 <!-- <xref linkend="db"/>, -->
121
122 <bridgehead renderas="sect4">Optional to Build the
123 <application>SWIG</application> Bindings</bridgehead>
124 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
125 <xref linkend="python"/>, and
126 <xref linkend="ruby"/></para>
127
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>
136
137 <para condition="html" role="usernotes">User Notes:
138 <ulink url="&blfs-wiki;/subversion"/></para>
139
140 </sect2>
141
142 <sect2 role="installation">
143 <title>Installation of Subversion</title>
144
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
167 <para>Install <application>Subversion</application> by running the
168 following commands:</para>
169
170<screen><userinput>./configure --prefix=/usr \
171 --without-berkeley-db \
172 --with-installbuilddir=/usr/lib/apr-0 &amp;&amp;
173make</userinput></screen>
174
175 <note>
176 <para>If you have <application>Apache</application> installed, pass
177 the <option>--with-apr=/usr</option> and
178 <option>--with-apr-util=/usr</option> switches to the
179 <command>configure</command> script. Otherwise,
180 <application>Subversion</application> will overwrite APR and APR-utils
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>
189 </note>
190
191 <para>If you passed the <option>--enable-javahl</option> parameter to
192 <command>configure</command> and wish to build the Java bindings, issue
193 the following command:</para>
194
195<screen><userinput>make javahl</userinput></screen>
196
197 <para>If you passed the <option>-with-swig</option> parameter to
198 <command>configure</command> and wish to build the
199 <application>Perl</application>, <application>Python</application> and/or
200 <application>Ruby</application> bindings, issue any or all of the following
201 commands:</para>
202
203<screen><userinput>make swig-pl &amp;&amp;
204make swig-py &amp;&amp;
205make swig-rb</userinput></screen>
206
207 <para>To test the results of the <application>Subversion</application>
208 build, issue: <command>make check</command>. This will take quite a long
209 time.</para>
210
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>
216
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>
229
230 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
231
232<screen role='root'><userinput>make install &amp;&amp;
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;
236install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
237cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</userinput></screen>
238
239 <para>If you built the Java bindings, issue the following command
240 as the <systemitem class="username">root</systemitem> user to install
241 them:</para>
242
243<screen role='root'><userinput>make install-javahl</userinput></screen>
244
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>
248
249<screen role='root'><userinput>make install-swig-pl &amp;&amp;
250
251make install-swig-py &amp;&amp;
252echo /usr/lib/svn-python \
253 &gt; /usr/lib/python2.4/site-packages/subversion.pth &amp;&amp;
254
255make install-swig-rb</userinput></screen>
256
257 </sect2>
258
259 <sect2 role="commands">
260 <title>Command Explanations</title>
261
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
269 <para><option>--with-neon=<replaceable>&lt;prefix&gt;</replaceable></option>:
270 This option should be used if you wish to use a system-installed version
271 of <application>neon</application>.</para>
272
273 <para><option>--with-ssl</option>: This switch enables
274 <application>OpenSSL</application> support in
275 <application>neon</application> (only required if you use the bundled
276 version of <application>neon</application>).</para>
277
278 </sect2>
279
280 <sect2 role="configuration">
281 <title>Configuring Subversion</title>
282
283 <sect3 id="subversion-config">
284 <title>Config Files</title>
285
286 <para><filename>~/.subversion/config</filename> and
287 <filename>/etc/subversion/config</filename></para>
288
289 <indexterm zone="subversion subversion-config">
290 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
291 </indexterm>
292
293 <indexterm zone="subversion subversion-config">
294 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
295 </indexterm>
296
297 </sect3>
298
299 <sect3>
300 <title>Configuration Information</title>
301
302 <para><filename>/etc/subversion/config</filename> is the
303 <application>Subversion</application> system-wide configuration file.
304 This file is used to specify defaults for different
305 <command>svn</command> commands.</para>
306
307 <para><filename>~/.subversion/config</filename> is the user's personal
308 configuration file. It is used to override the system-wide defaults
309 set in <filename>/etc/subversion/config</filename>.</para>
310
311 </sect3>
312
313 </sect2>
314
315 <sect2 role="content">
316 <title>Contents</title>
317
318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
322
323 <seglistitem>
324 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
325 optionally, neon-config and apr-config</seg>
326 <seg>libsvn*.{so,a} and optionally, libneon.{so,a} and the mod_dav_svn.so,
327 and mod_authz_svn.so <application>Apache HTTP</application>
328 DSO modules</seg>
329 <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
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),
332 /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional),
333 /usr/share/doc/neon-&svn-neon-version; (optional), and
334 /usr/share/doc/subversion-&subversion-version;</seg>
335 </seglistitem>
336 </segmentedlist>
337
338 <variablelist>
339 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
340 <?dbfo list-presentation="list"?>
341 <?dbhtml list-presentation="table"?>
342
343 <varlistentry id="svn">
344 <term><command>svn</command></term>
345 <listitem>
346 <para>is a command-line client program used to access
347 <application>Subversion</application> repositories.</para>
348 <indexterm zone="subversion svn">
349 <primary sortas="b-svn">svn</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
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>
364
365 <varlistentry id="svndumpfilter">
366 <term><command>svndumpfilter</command></term>
367 <listitem>
368 <para>is a program for filtering <application>Subversion</application>
369 repository dumpfile format streams.</para>
370 <indexterm zone="subversion svndumpfilter">
371 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="svnlook">
377 <term><command>svnlook</command></term>
378 <listitem>
379 <para>is a tool for inspecting a
380 <application>Subversion</application> repository.</para>
381 <indexterm zone="subversion svnlook">
382 <primary sortas="b-svnlook">svnlook</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="svnserve">
388 <term><command>svnserve</command></term>
389 <listitem>
390 <para>is a custom standalone server program, able to run as a
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>
397
398 <varlistentry id="svnversion">
399 <term><command>svnversion</command></term>
400 <listitem>
401 <para>is used to report the version number and state of a
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>
408
409 <varlistentry id="neon-config">
410 <term><command>neon-config</command></term>
411 <listitem>
412 <para>is a script which provides information about an installed
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>
419
420 <varlistentry id="libsvn_star">
421 <term><filename class='libraryfile'>libsvn_*.{so,a}</filename></term>
422 <listitem>
423 <para>are the support libraries used by the
424 <application>Subversion</application> programs.</para>
425 <indexterm zone="subversion libsvn_star">
426 <primary sortas="c-libsvn_star">libsvn_*.{so,a}</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 <varlistentry id="libneon">
432 <term><filename class='libraryfile'>libneon.{so,a}</filename></term>
433 <listitem>
434 <para>is used as a high-level interface to common
435 HTTP and WebDAV methods.</para>
436 <indexterm zone="subversion libneon">
437 <primary sortas="c-libneon">libneon.{so,a}</primary>
438 </indexterm>
439 </listitem>
440 </varlistentry>
441
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>
446 HTTP server, used to authenticate users to a
447 <application>Subversion</application> repository over the Internet or an
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>
454
455 <varlistentry id="mod_dav_svn">
456 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
457 <listitem>
458 <para>is a plug-in module for the <application>Apache</application>
459 HTTP server, used to make a
460 <application>Subversion</application> repository available to others over the
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>
467
468 </variablelist>
469
470 </sect2>
471
472</sect1>
Note: See TracBrowser for help on using the repository browser.