source: general/prog/subversion.xml@ 7f5413b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 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 7f5413b was 7f5413b, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to subversion-1.8.11.

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

  • Property mode set to 100644
File size: 17.0 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 "766a89bbbb388f8eb76166672d3b9e49">
13 <!ENTITY subversion-size "6.6 MB">
14 <!ENTITY subversion-buildsize "123 MB (272 MB with all bindings and API documentation built; additional 694 MB for tests)">
15 <!ENTITY subversion-time "1.9 SBU (3.6 SBU with all bindings and API documentation built; additional 11 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 &lfs76_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="openssl"/> and
93 <xref linkend="serf"/> (for handling http:// and https:// URLs)
94 </para>
95
96<!-- support for berkeley db is deprecated since 1.8
97 <note>
98 <para>
99 If you require the <application>Berkeley DB</application> back-end hooks
100 in <application>Subversion</application> to build or support BDB based
101 repositories, you must have <application>APR-util</application> linked to
102 the <application>Berkeley DB</application> library.
103 </para>
104 </note>
105-->
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional">
109 <xref linkend="apache"/>,
110<!-- support for berkeley db is deprecated since 1.8
111 <xref linkend="db"/>,
112-->
113 <xref linkend="cyrus-sasl"/>,
114 <xref linkend="dbus"/>,
115 <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
116 <xref linkend="python2"/> (with sqlite support for the tests),
117 <xref linkend="ruby"/>, and
118 <xref linkend="swig"/> (for building Perl, Python and Ruby bindings)
119 </para>
120
121 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
122 <para role="optional">
123 One of <xref linkend="openjdk"/>,
124 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
125 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
126 and <xref linkend="junit"/> (to test the Java bindings)
127 </para>
128
129 <para condition="html" role="usernotes">
130 User Notes: <ulink url="&blfs-wiki;/subversion"/>
131 </para>
132 </sect2>
133
134 <sect2 role="installation">
135 <title>Installation of Subversion</title>
136
137 <para>
138 Install <application>Subversion</application> by running the following
139 commands:
140 </para>
141
142<screen><userinput>./configure --prefix=/usr \
143 --disable-static \
144 --with-apache-libexecdir &amp;&amp;
145make</userinput></screen>
146
147 <para>
148 If you have <xref linkend="doxygen"/> installed and you wish to build the
149 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
150 </para>
151
152 <para>
153 If you passed the <option>--enable-javahl</option> parameter to
154 <command>configure</command> and wish to build the Java bindings, issue
155 the following command:
156 </para>
157 <para>
158 <screen><command>make javahl</command></screen>
159 </para>
160
161 <para>
162 If you have a multi core CPU and normally run <command>make</command> with
163 multiple jobs (eg <command>make -j4</command>) then a bug in the
164 <filename>Makefile</filename> will prevent the
165 <application>Perl</application> bindings compiling correctly. Fix the
166 <filename>Makefile</filename> with:
167 </para>
168 <para>
169 <screen><command>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</command></screen>
170 </para>
171
172 <para>
173 If you want to compile <application>Perl</application>,
174 <application>Python2</application>, or <application>Ruby</application>
175 bindings, issue any of the following command:
176 </para>
177 <para>
178 <screen><command>make swig-pl</command> # for <application>Perl</application>
179<command>make swig-py \
180 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
181 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
182<command>make swig-rb</command> # for <application>Ruby</application></screen>
183 </para>
184
185 <para>
186 To test the results, issue: <command>make -k check</command>. One test
187 (wc-queries-test) is known to fail with recent versions of SQLite.
188 </para>
189
190 <para>
191 To test the results of the Java bindings build, issue
192 <command>make check-javahl</command>. Note you must have the
193 <application>JUnit</application> testing framework installed.
194 </para>
195
196 <para>
197 To test the results of any of the <application>SWIG</application>
198 bindings, you can use any of the following commands:
199 <command>make check-swig-pl</command>,
200 <command> make check-swig-py</command>, or
201 <command>make check-swig-rb</command>.
202 </para>
203
204
205 <para>
206 Now, as the <systemitem class="username">root</systemitem> user:
207 </para>
208
209<screen role="root"><userinput>make -j1 install &amp;&amp;
210install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
211cp -v -R doc/* \
212 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
213
214 <para>
215 If you built the Java bindings, issue the following command as the
216 <systemitem class="username">root</systemitem> user to install them:
217 </para>
218 <para>
219 <screen> <command>make install-javahl</command></screen>
220 </para>
221
222 <para>
223 If you built the <application>Perl</application>,
224 <application>Python2</application>, or
225 <application>Ruby</application> bindings, issue any of the following
226 commands as the <systemitem class="username">root</systemitem> user
227 to install them:
228 </para>
229 <para>
230 <screen><command>make install-swig-pl</command>
231<command>make install-swig-py \
232 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
233 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
234<command>make install-swig-rb</command></screen>
235 </para>
236
237 </sect2>
238
239 <sect2 role="commands">
240 <title>Command Explanations</title>
241
242 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
243 href="../../xincludes/static-libraries.xml"/>
244
245 <para>
246 <parameter>--with-apache-libexecdir</parameter>:
247 If <xref linkend="apache"/> is installed, the shared
248 <application>Apache</application> modules are
249 built. This switch allows to have those modules installed to
250 <application>Apache</application>'s configured module dir instead
251 of <filename class="directory">/usr/libexec</filename>. It has no effect
252 if <application>Apache</application> is not installed.
253 </para>
254
255 </sect2>
256
257 <sect2 role="configuration">
258 <title>Configuring Subversion</title>
259
260 <sect3 id="subversion-config">
261 <title>Config Files</title>
262
263 <para>
264 <filename>~/.subversion/config</filename> and
265 <filename>/etc/subversion/config</filename>
266 </para>
267
268 <indexterm zone="subversion subversion-config">
269 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
270 </indexterm>
271
272 <indexterm zone="subversion subversion-config">
273 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
274 </indexterm>
275 </sect3>
276
277 <sect3>
278 <title>Configuration Information</title>
279
280 <para>
281 <filename>/etc/subversion/config</filename> is the
282 <application>Subversion</application> system-wide configuration file.
283 This file is used to specify defaults for different
284 <command>svn</command> commands.
285 </para>
286
287 <para>
288 <filename>~/.subversion/config</filename> is the user's personal
289 configuration file. It is used to override the system-wide defaults set
290 in <filename>/etc/subversion/config</filename>.
291 </para>
292 </sect3>
293
294 </sect2>
295
296 <sect2 role="content">
297 <title>Contents</title>
298
299 <segmentedlist>
300 <segtitle>Installed Programs</segtitle>
301 <segtitle>Installed Libraries</segtitle>
302 <segtitle>Installed Directories</segtitle>
303
304 <seglistitem>
305 <seg>
306 svn, svnadmin, svndumpfilter, svnlook, svnmucc, svnrdump, svnserve,
307 svnsync, and svnversion
308 </seg>
309 <seg>
310 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
311 and mod_authz_svn.so <application>Apache HTTP</application> DSO
312 modules and various <application>Perl</application>,
313 <application>Python</application> and
314 <application>Ruby</application> modules.
315 </seg>
316 <seg>
317 /usr/include/subversion-1,
318 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
319 /usr/lib/python2.7/site-packages/{libsvn,svn},
320 /usr/lib/ruby/site_ruby//&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
321 /usr/lib/svn-javahl, and
322 /usr/share/doc/subversion-&subversion-version;
323<!-- /usr/lib/svn-python/libsvn (optional),
324 /usr/lib/svn-python/svn (optional),
325-->
326 </seg>
327 </seglistitem>
328 </segmentedlist>
329
330 <variablelist>
331 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
332 <?dbfo list-presentation="list"?>
333 <?dbhtml list-presentation="table"?>
334
335 <varlistentry id="svn">
336 <term><command>svn</command></term>
337 <listitem>
338 <para>
339 is a command-line client program used to access
340 <application>Subversion</application> repositories.
341 </para>
342 <indexterm zone="subversion svn">
343 <primary sortas="b-svn">svn</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="svnadmin">
349 <term><command>svnadmin</command></term>
350 <listitem>
351 <para>
352 is a tool for creating, tweaking or repairing a
353 <application>Subversion</application> repository.
354 </para>
355 <indexterm zone="subversion svnadmin">
356 <primary sortas="b-svnadmin">svnadmin</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="svndumpfilter">
362 <term><command>svndumpfilter</command></term>
363 <listitem>
364 <para>
365 is a program for filtering <application>Subversion</application>
366 repository dumpfile format streams.
367 </para>
368 <indexterm zone="subversion svndumpfilter">
369 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="svnlook">
375 <term><command>svnlook</command></term>
376 <listitem>
377 <para>
378 is a tool for inspecting a <application>Subversion</application>
379 repository.
380 </para>
381 <indexterm zone="subversion svnlook">
382 <primary sortas="b-svnlook">svnlook</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="svnmucc">
388 <term><command>svnmucc</command></term>
389 <listitem>
390 <para>
391 is a Multiple URL Command Client for <application>Subversion</application>.
392 </para>
393 <indexterm zone="subversion svnmucc">
394 <primary sortas="b-svnmucc">svnmucc</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="svnrdump">
400 <term><command>svnrdump</command></term>
401 <listitem>
402 <para>
403 is a tool for dumping or loading a remote
404 <application>Subversion</application> repository.
405 </para>
406 <indexterm zone="subversion svnrdump">
407 <primary sortas="b-svnrdump">svnrdump</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="svnserve">
413 <term><command>svnserve</command></term>
414 <listitem>
415 <para>
416 is a custom standalone server program, able to run as a daemon
417 process or invoked by SSH.
418 </para>
419 <indexterm zone="subversion svnserve">
420 <primary sortas="b-svnserve">svnserve</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="svnsync">
426 <term><command>svnsync</command></term>
427 <listitem>
428 <para>
429 is a <application>Subversion</application> repository
430 synchronisation tool.
431 </para>
432 <indexterm zone="subversion svnsync">
433 <primary sortas="b-svnsync">svnsync</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="svnversion">
439 <term><command>svnversion</command></term>
440 <listitem>
441 <para>
442 is used to report the version number and state of a working
443 <application>Subversion</application> repository copy.
444 </para>
445 <indexterm zone="subversion svnversion">
446 <primary sortas="b-svnversion">svnversion</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
451 <varlistentry id="libsvn_star-1">
452 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
453 <listitem>
454 <para>
455 are the support libraries used by the
456 <application>Subversion</application> programs.
457 </para>
458 <indexterm zone="subversion libsvn_star-1">
459 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
460 </indexterm>
461 </listitem>
462 </varlistentry>
463
464 <varlistentry id="mod_authz_svn">
465 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
466 <listitem>
467 <para>
468 is a plug-in module for the <application>Apache</application> HTTP
469 server, used to authenticate users to a
470 <application>Subversion</application> repository over the Internet
471 or an intranet.
472 </para>
473 <indexterm zone="subversion mod_authz_svn">
474 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="mod_dav_svn">
480 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
481 <listitem>
482 <para>
483 is a plug-in module for the <application>Apache</application> HTTP
484 server, used to make a <application>Subversion</application>
485 repository available to others over the Internet or an intranet.
486 </para>
487 <indexterm zone="subversion mod_dav_svn">
488 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
489 </indexterm>
490 </listitem>
491 </varlistentry>
492
493 </variablelist>
494
495 </sect2>
496
497</sect1>
Note: See TracBrowser for help on using the repository browser.