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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 7c1b53e was 7c1b53e, checked in by Igor Živković <igor@…>, 11 years ago

update to subversion-1.8.3

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

  • Property mode set to 100644
File size: 16.1 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-ftp " ">
10 <!ENTITY subversion-md5sum "7d7bd97347a4491e1ffb529563ce2e9e">
11 <!ENTITY subversion-size "6.5 MB">
12 <!ENTITY subversion-buildsize "150 MB (additional 780 MB for tests)">
13 <!ENTITY subversion-time "0.9 SBU (additional 7 SBU for tests)">
14]>
15
16<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
17 <?dbhtml filename="subversion.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Subversion-&subversion-version;</title>
25
26 <indexterm zone="subversion">
27 <primary sortas="a-Subversion">Subversion</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Subversion</title>
32
33 <para>
34 <application>Subversion</application> is a version control system that is
35 designed to be a compelling replacement for <application>CVS</application>
36 in the open source community. It extends and enhances
37 <application>CVS</application>' feature set, while maintaining a similar
38 interface for those already familiar with <application>CVS</application>.
39 These instructions install the client and server software used to
40 manipulate a <application>Subversion</application> repository. Creation of
41 a repository is covered at <xref linkend="svnserver"/>.
42 </para>
43
44 &lfs74_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&subversion-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&subversion-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &subversion-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &subversion-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &subversion-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &subversion-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="apr-util"/> and
85 <xref linkend="sqlite"/>
86 </para>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
90 <xref linkend="openssl"/> and
91 <xref linkend="serf"/> (for handling http:// and https:// URLs)
92 </para>
93
94<!-- support for berkeley db is deprecated since 1.8
95 <note>
96 <para>
97 If you require the <application>Berkeley DB</application> back-end hooks
98 in <application>Subversion</application> to build or support BDB based
99 repositories, you must have <application>APR-util</application> linked to
100 the <application>Berkeley DB</application> library.
101 </para>
102 </note>
103-->
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="apache"/>,
108<!-- support for berkeley db is deprecated since 1.8
109 <xref linkend="db"/>,
110-->
111 <xref linkend="cyrus-sasl"/>,
112 <xref linkend="dbus"/>,
113 <xref linkend="libgnome-keyring"/>,
114 <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
115 <xref linkend="python2"/> (required to run the test suite) and
116 <xref linkend="ruby"/>
117 </para>
118
119 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
120 <para role="optional">
121 One of <xref linkend="openjdk"/>,
122 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
123 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
124 and <xref linkend="junit"/> (to test the Java bindings)
125 </para>
126
127 <bridgehead renderas="sect4">Optional (for the SWIG Bindings)</bridgehead>
128 <para role="optional">
129 <ulink url="http://www.swig.org/">SWIG</ulink>
130 </para>
131
132 <para condition="html" role="usernotes">
133 User Notes: <ulink url="&blfs-wiki;/subversion"/>
134 </para>
135 </sect2>
136
137 <sect2 role="installation">
138 <title>Installation of Subversion</title>
139
140 <para>
141 Install <application>Subversion</application> by running the following
142 commands:
143 </para>
144
145<screen><userinput>./configure --prefix=/usr \
146 --disable-static \
147 --with-apache-libexecdir=$(/usr/bin/apxs -q libexecdir) &amp;&amp;
148make</userinput></screen>
149
150 <para>
151 If you have <xref linkend="doxygen"/> installed and you wish to build the
152 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
153 </para>
154
155 <para>
156 If you passed the <option>--enable-javahl</option> parameter to
157 <command>configure</command> and wish to build the Java bindings, issue
158 the following command:
159 </para>
160
161<screen><userinput>make javahl</userinput></screen>
162
163 <para>
164 If you have a multi core CPU and normally run <command>make</command> with
165 multiple jobs (eg <command>make -j4</command>) then a bug in the
166 <filename>Makefile</filename> will prevent the
167 <application>Perl</application> bindings compiling correctly. Fix the
168 <filename>Makefile</filename> with this sed:
169 </para>
170
171<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
172
173 <para>
174 To compile the <application>Perl</application>,
175 <application>Python</application> or <application>Ruby</application>
176 bindings issue any of the following commands:
177 </para>
178<screen><userinput>make swig-pl &amp;&amp;
179make swig-py &amp;&amp;
180make swig-rb</userinput></screen>
181
182 <para>
183 To test the results, issue: <command>make check</command>.
184 </para>
185
186 <para>
187 To test the results of the Java bindings build, issue
188 <command>make check-javahl</command>. Note you must have the
189 <application>JUnit</application> testing framework installed.
190 </para>
191
192 <para>
193 To test the results of any of the <application>SWIG</application>
194 bindings, you can use any of the following commands:
195 </para>
196
197<screen><userinput>make check-swig-pl &amp;&amp;
198make check-swig-py &amp;&amp;
199make check-swig-rb </userinput></screen>
200
201 <para>
202 Now, as the <systemitem class="username">root</systemitem> user:
203 </para>
204
205<screen role="root"><userinput>make install &amp;&amp;
206install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
207cp -v -R doc/* \
208 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
209
210 <para>
211 If you built the Java bindings, issue the following command as the
212 <systemitem class="username">root</systemitem> user to install them:
213 </para>
214
215<screen role="root"><userinput>make install-javahl</userinput></screen>
216
217 <para>
218 If you built any of the <application>SWIG</application> bindings, issue
219 any of the following commands as the
220 <systemitem class="username">root</systemitem> user to install them:
221 </para>
222
223<screen role="root"><userinput>make install-swig-pl &amp;&amp;
224make install-swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
225 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn &amp;&amp;
226make install-swig-rb</userinput></screen>
227
228 </sect2>
229
230 <sect2 role="commands">
231 <title>Command Explanations</title>
232
233 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
234 href="../../xincludes/static-libraries.xml"/>
235
236 <para>
237 <parameter>--with-apache-libexecdir=...</parameter>:
238 This switch sets <application>Apache HTTPD</application>
239 module install dir.
240 </para>
241
242 </sect2>
243
244 <sect2 role="configuration">
245 <title>Configuring Subversion</title>
246
247 <sect3 id="subversion-config">
248 <title>Config Files</title>
249
250 <para>
251 <filename>~/.subversion/config</filename> and
252 <filename>/etc/subversion/config</filename>
253 </para>
254
255 <indexterm zone="subversion subversion-config">
256 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
257 </indexterm>
258
259 <indexterm zone="subversion subversion-config">
260 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
261 </indexterm>
262 </sect3>
263
264 <sect3>
265 <title>Configuration Information</title>
266
267 <para>
268 <filename>/etc/subversion/config</filename> is the
269 <application>Subversion</application> system-wide configuration file.
270 This file is used to specify defaults for different
271 <command>svn</command> commands.
272 </para>
273
274 <para>
275 <filename>~/.subversion/config</filename> is the user's personal
276 configuration file. It is used to override the system-wide defaults set
277 in <filename>/etc/subversion/config</filename>.
278 </para>
279 </sect3>
280
281 </sect2>
282
283 <sect2 role="content">
284 <title>Contents</title>
285
286 <segmentedlist>
287 <segtitle>Installed Programs</segtitle>
288 <segtitle>Installed Libraries</segtitle>
289 <segtitle>Installed Directories</segtitle>
290
291 <seglistitem>
292 <seg>
293 svn, svnadmin, svndumpfilter, svnlook, svnmucc, svnrdump, svnserve,
294 svnsync, and svnversion
295 </seg>
296 <seg>
297 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
298 and mod_authz_svn.so <application>Apache HTTP</application> DSO
299 modules and various <application>Perl</application>,
300 <application>Python</application> and
301 <application>Ruby</application> modules.
302 </seg>
303 <seg>
304 /usr/include/subversion-1,
305 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional),
306 /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional),
307 /usr/lib/python&python2-majorver;/site-packages/libsvn (optional),
308 /usr/lib/python&python2-majorver;/site-packages/svn (optional),
309 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/i686-linux/svn (optional),
310 /usr/lib/svn-javahl (optional), and
311 /usr/share/doc/subversion-&subversion-version;
312 </seg>
313 </seglistitem>
314 </segmentedlist>
315
316 <variablelist>
317 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
318 <?dbfo list-presentation="list"?>
319 <?dbhtml list-presentation="table"?>
320
321 <varlistentry id="svn">
322 <term><command>svn</command></term>
323 <listitem>
324 <para>
325 is a command-line client program used to access
326 <application>Subversion</application> repositories.
327 </para>
328 <indexterm zone="subversion svn">
329 <primary sortas="b-svn">svn</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="svnadmin">
335 <term><command>svnadmin</command></term>
336 <listitem>
337 <para>
338 is a tool for creating, tweaking or repairing a
339 <application>Subversion</application> repository.
340 </para>
341 <indexterm zone="subversion svnadmin">
342 <primary sortas="b-svnadmin">svnadmin</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="svndumpfilter">
348 <term><command>svndumpfilter</command></term>
349 <listitem>
350 <para>
351 is a program for filtering <application>Subversion</application>
352 repository dumpfile format streams.
353 </para>
354 <indexterm zone="subversion svndumpfilter">
355 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="svnlook">
361 <term><command>svnlook</command></term>
362 <listitem>
363 <para>
364 is a tool for inspecting a <application>Subversion</application>
365 repository.
366 </para>
367 <indexterm zone="subversion svnlook">
368 <primary sortas="b-svnlook">svnlook</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="svnmucc">
374 <term><command>svnmucc</command></term>
375 <listitem>
376 <para>
377 is a Multiple URL Command Client for <application>Subversion</application>.
378 </para>
379 <indexterm zone="subversion svnmucc">
380 <primary sortas="b-svnmucc">svnmucc</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="svnrdump">
386 <term><command>svnrdump</command></term>
387 <listitem>
388 <para>
389 is a tool for dumping or loading a remote
390 <application>Subversion</application> repository.
391 </para>
392 <indexterm zone="subversion svnrdump">
393 <primary sortas="b-svnrdump">svnrdump</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="svnserve">
399 <term><command>svnserve</command></term>
400 <listitem>
401 <para>
402 is a custom standalone server program, able to run as a daemon
403 process or invoked by SSH.
404 </para>
405 <indexterm zone="subversion svnserve">
406 <primary sortas="b-svnserve">svnserve</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="svnsync">
412 <term><command>svnsync</command></term>
413 <listitem>
414 <para>
415 is a <application>Subversion</application> repository
416 synchronisation tool.
417 </para>
418 <indexterm zone="subversion svnsync">
419 <primary sortas="b-svnsync">svnsync</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="svnversion">
425 <term><command>svnversion</command></term>
426 <listitem>
427 <para>
428 is used to report the version number and state of a working
429 <application>Subversion</application> repository copy.
430 </para>
431 <indexterm zone="subversion svnversion">
432 <primary sortas="b-svnversion">svnversion</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="libsvn_star-1">
438 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
439 <listitem>
440 <para>
441 are the support libraries used by the
442 <application>Subversion</application> programs.
443 </para>
444 <indexterm zone="subversion libsvn_star-1">
445 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="mod_authz_svn">
451 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
452 <listitem>
453 <para>
454 is a plug-in module for the <application>Apache</application> HTTP
455 server, used to authenticate users to a
456 <application>Subversion</application> repository over the Internet
457 or an intranet.
458 </para>
459 <indexterm zone="subversion mod_authz_svn">
460 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="mod_dav_svn">
466 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
467 <listitem>
468 <para>
469 is a plug-in module for the <application>Apache</application> HTTP
470 server, used to make a <application>Subversion</application>
471 repository available to others over the Internet or an intranet.
472 </para>
473 <indexterm zone="subversion mod_dav_svn">
474 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 </variablelist>
480
481 </sect2>
482
483</sect1>
Note: See TracBrowser for help on using the repository browser.