source: general/prog/subversion.xml@ c18b8f23

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 c18b8f23 was c18b8f23, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • MesaLib-10.6.6: add optional dependency Bellagio OpenMAX Integration Layer.
  • Update to stunnel-5.23.
  • Update to harfbuzz-1.0.3.
  • Update to bluez-5.34.
  • Update to subversion-1.9.1.
  • Update to bind9.10.2-P4 and BIND Utilities-9.10.2-P4.
  • Short descriptions from Denis Mugnier.

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

  • Property mode set to 100644
File size: 17.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!--<!ENTITY subversion-download-http
8 "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">-->
9 <!ENTITY subversion-download-http
10 "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
11 <!ENTITY subversion-download-ftp " ">
12 <!ENTITY subversion-md5sum "8e879b61fffe3ac0cf16aeae1e8eda32">
13 <!ENTITY subversion-size "7.4 MB">
14 <!ENTITY subversion-buildsize "192 MB (436 MB with all bindings and API documentation built; additional 779 MB for tests)">
15 <!ENTITY subversion-time "1.4 SBU (2.9 SBU with all bindings and API documentation built; additional 67 SBU for tests)">
16]>
17
18<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
19 <?dbhtml filename="subversion.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Subversion-&subversion-version;</title>
27
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
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>
45
46 &lfs77_checked; &gcc5_checked;
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&subversion-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&subversion-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &subversion-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &subversion-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &subversion-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &subversion-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
86 <xref linkend="apr-util"/> and
87 <xref linkend="sqlite"/>
88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 <xref linkend="serf"/> (for handling http:// and https:// URLs)
93 </para>
94
95<!-- support for berkeley db is deprecated since 1.8
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>
104-->
105
106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
108 <xref linkend="apache"/>,
109<!-- support for berkeley db is deprecated since 1.8
110 <xref linkend="db"/>,
111-->
112 <xref linkend="cyrus-sasl"/>,
113 <xref linkend="dbus"/>,
114 <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
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)
118 </para>
119
120 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
121 <para role="optional">
122 One of <xref linkend="openjdk"/>,
123 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
124 <ulink url="http://jikes.sourceforge.net/">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>
131
132 </sect2>
133
134 <sect2 role="installation">
135 <title>Installation of Subversion</title>
136
137 <note>
138 <para>
139 This package may fail during the make phase when using multiple
140 processors. If this occurs try continuing with
141 <emphasis>make -j1</emphasis> or redo the entire build process with
142 fresh sources using <emphasis>-j1</emphasis>.
143 </para>
144 </note>
145
146 <para>
147 Install <application>Subversion</application> by running the following
148 commands:
149 </para>
150
151<screen><userinput>./configure --prefix=/usr \
152 --disable-static \
153 --with-apache-libexecdir &amp;&amp;
154make</userinput></screen>
155
156 <para>
157 If you have <xref linkend="doxygen"/> installed and you wish to build the
158 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
159 </para>
160
161 <para>
162 If you passed the <option>--enable-javahl</option> parameter to
163 <command>configure</command> and wish to build the Java bindings, issue
164 the following command:
165 </para>
166 <para>
167 <screen><command>make javahl</command></screen>
168 </para>
169
170 <para>
171 If you want to compile <application>Perl</application>,
172 <application>Python2</application>, or <application>Ruby</application>
173 bindings, issue any of the following command:
174 </para>
175 <para>
176 <screen><command>make swig-pl</command> # for <application>Perl</application>
177<command>make swig-py \
178 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
179 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
180<command>make swig-rb</command> # for <application>Ruby</application></screen>
181 </para>
182
183 <para>
184 To test the results, issue: <command>make check</command>.
185 </para>
186
187 <para>
188 The Java bindings test, <command>make check-javahl</command>, fails due to
189 errors in the test suite. <!--To test the results of the Java bindings build,
190 issue <command>make check-javahl</command>. Note you must have the
191 <application>JUnit</application> testing framework installed.-->
192 </para>
193
194 <para>
195 To test the results of any of the <application>SWIG</application>
196 bindings, you can use any of the following commands:
197 <command>make check-swig-pl</command>,
198 <command> make check-swig-py</command>, or
199 <command>make check-swig-rb</command>.
200 </para>
201
202 <para>
203 The Ruby bindings test, <command>make check-swig-rb</command>, fails due
204 to errors in the test suite.
205 </para>
206
207 <para>
208 Now, as the <systemitem class="username">root</systemitem> user:
209 </para>
210
211<screen role="root"><userinput>make install &amp;&amp;
212
213install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
214cp -v -R doc/* \
215 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
216
217 <para>
218 If you built the Java bindings, issue the following command as the
219 <systemitem class="username">root</systemitem> user to install them:
220 </para>
221 <para>
222 <screen> <command>make install-javahl</command></screen>
223 </para>
224
225 <para>
226 If you built the <application>Perl</application>,
227 <application>Python2</application>, or
228 <application>Ruby</application> bindings, issue any of the following
229 commands as the <systemitem class="username">root</systemitem> user
230 to install them:
231 </para>
232 <para>
233 <screen><command>make install-swig-pl</command>
234<command>make install-swig-py \
235 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
236 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
237<command>make install-swig-rb</command></screen>
238 </para>
239
240 </sect2>
241
242 <sect2 role="commands">
243 <title>Command Explanations</title>
244
245 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
246 href="../../xincludes/static-libraries.xml"/>
247
248 <para>
249 <parameter>--with-apache-libexecdir</parameter>:
250 If <xref linkend="apache"/> is installed, the shared
251 <application>Apache</application> modules are
252 built. This switch allows to have those modules installed to
253 <application>Apache</application>'s configured module dir instead
254 of <filename class="directory">/usr/libexec</filename>. It has no effect
255 if <application>Apache</application> is not installed.
256 </para>
257
258 <para>
259 <option>---disable-gmock</option>: Do not use the Googlemock testing
260 framework.
261 </para>
262
263 </sect2>
264
265 <sect2 role="configuration">
266 <title>Configuring Subversion</title>
267
268 <sect3 id="subversion-config">
269 <title>Config Files</title>
270
271 <para>
272 <filename>~/.subversion/config</filename> and
273 <filename>/etc/subversion/config</filename>
274 </para>
275
276 <indexterm zone="subversion subversion-config">
277 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
278 </indexterm>
279
280 <indexterm zone="subversion subversion-config">
281 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
282 </indexterm>
283 </sect3>
284
285 <sect3>
286 <title>Configuration Information</title>
287
288 <para>
289 <filename>/etc/subversion/config</filename> is the
290 <application>Subversion</application> system-wide configuration file.
291 This file is used to specify defaults for different
292 <command>svn</command> commands.
293 </para>
294
295 <para>
296 <filename>~/.subversion/config</filename> is the user's personal
297 configuration file. It is used to override the system-wide defaults set
298 in <filename>/etc/subversion/config</filename>.
299 </para>
300 </sect3>
301
302 </sect2>
303
304 <sect2 role="content">
305 <title>Contents</title>
306
307 <segmentedlist>
308 <segtitle>Installed Programs</segtitle>
309 <segtitle>Installed Libraries</segtitle>
310 <segtitle>Installed Directories</segtitle>
311
312 <seglistitem>
313 <seg>
314 svn, svnadmin, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
315 svnrdump, svnserve, svnsync, and svnversion
316 </seg>
317 <seg>
318 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
319 and mod_authz_svn.so <application>Apache HTTP</application> DSO
320 modules and various <application>Perl</application>,
321 <application>Python</application> and
322 <application>Ruby</application> modules.
323 </seg>
324 <seg>
325 /usr/include/subversion-1,
326 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
327 /usr/lib/python2.7/site-packages/{libsvn,svn},
328 /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
329 /usr/lib/svn-javahl, and
330 /usr/share/doc/subversion-&subversion-version;
331<!-- /usr/lib/svn-python/libsvn (optional),
332 /usr/lib/svn-python/svn (optional),
333-->
334 </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>
347 is a command-line client program used to access
348 <application>Subversion</application> repositories.
349 </para>
350 <indexterm zone="subversion svn">
351 <primary sortas="b-svn">svn</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="svnadmin">
357 <term><command>svnadmin</command></term>
358 <listitem>
359 <para>
360 is a tool for creating, tweaking or repairing a
361 <application>Subversion</application> repository.
362 </para>
363 <indexterm zone="subversion svnadmin">
364 <primary sortas="b-svnadmin">svnadmin</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
369 <varlistentry id="svnbench">
370 <term><command>svnbench</command></term>
371 <listitem>
372 <para>
373 is a benchmarking tool.
374 </para>
375 <indexterm zone="subversion svnbench">
376 <primary sortas="b-svnbench">svnbench</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="svndumpfilter">
382 <term><command>svndumpfilter</command></term>
383 <listitem>
384 <para>
385 is a program for filtering <application>Subversion</application>
386 repository dumpfile format streams.
387 </para>
388 <indexterm zone="subversion svndumpfilter">
389 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="svnfsfs">
395 <term><command>svnfsfs</command></term>
396 <listitem>
397 <para>
398 is the FSFS (FileSystem atop of the FileSystem -
399 <application>Subversion</application> filesystem implementation)
400 repository manipulation tool.
401 </para>
402 <indexterm zone="subversion svnfsfs">
403 <primary sortas="b-svnfsfs">svnfsfs</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="svnlook">
409 <term><command>svnlook</command></term>
410 <listitem>
411 <para>
412 is a tool for inspecting a <application>Subversion</application>
413 repository.
414 </para>
415 <indexterm zone="subversion svnlook">
416 <primary sortas="b-svnlook">svnlook</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
421 <varlistentry id="svnmucc">
422 <term><command>svnmucc</command></term>
423 <listitem>
424 <para>
425 is a Multiple URL Command Client for <application>Subversion</application>.
426 </para>
427 <indexterm zone="subversion svnmucc">
428 <primary sortas="b-svnmucc">svnmucc</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry id="svnrdump">
434 <term><command>svnrdump</command></term>
435 <listitem>
436 <para>
437 is a tool for dumping or loading a remote
438 <application>Subversion</application> repository.
439 </para>
440 <indexterm zone="subversion svnrdump">
441 <primary sortas="b-svnrdump">svnrdump</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="svnserve">
447 <term><command>svnserve</command></term>
448 <listitem>
449 <para>
450 is a custom standalone server program, able to run as a daemon
451 process or invoked by SSH.
452 </para>
453 <indexterm zone="subversion svnserve">
454 <primary sortas="b-svnserve">svnserve</primary>
455 </indexterm>
456 </listitem>
457 </varlistentry>
458
459 <varlistentry id="svnsync">
460 <term><command>svnsync</command></term>
461 <listitem>
462 <para>
463 is a <application>Subversion</application> repository
464 synchronisation tool.
465 </para>
466 <indexterm zone="subversion svnsync">
467 <primary sortas="b-svnsync">svnsync</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
471
472 <varlistentry id="svnversion">
473 <term><command>svnversion</command></term>
474 <listitem>
475 <para>
476 is used to report the version number and state of a working
477 <application>Subversion</application> repository copy.
478 </para>
479 <indexterm zone="subversion svnversion">
480 <primary sortas="b-svnversion">svnversion</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="libsvn_star-1">
486 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
487 <listitem>
488 <para>
489 are the support libraries used by the
490 <application>Subversion</application> programs.
491 </para>
492 <indexterm zone="subversion libsvn_star-1">
493 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="mod_authz_svn">
499 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
500 <listitem>
501 <para>
502 is a plug-in module for the <application>Apache</application> HTTP
503 server, used to authenticate users to a
504 <application>Subversion</application> repository over the Internet
505 or an intranet.
506 </para>
507 <indexterm zone="subversion mod_authz_svn">
508 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="mod_dav_svn">
514 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
515 <listitem>
516 <para>
517 is a plug-in module for the <application>Apache</application> HTTP
518 server, used to make a <application>Subversion</application>
519 repository available to others over the Internet or an intranet.
520 </para>
521 <indexterm zone="subversion mod_dav_svn">
522 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
523 </indexterm>
524 </listitem>
525 </varlistentry>
526
527 </variablelist>
528
529 </sect2>
530
531</sect1>
Note: See TracBrowser for help on using the repository browser.