source: general/prog/subversion.xml@ 2d7f6e67

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 2d7f6e67 was 2d7f6e67, checked in by Igor Živković <igor@…>, 11 years ago

extra whitespace

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

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