source: general/prog/subversion.xml@ 68d3020

10.0 10.1 11.0 11.1 11.2 7.10 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 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 68d3020 was 68d3020, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Archive accountsservice-0.6.34 and libgnome-keyring-3.10.0.

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