source: general/prog/subversion.xml@ 432f6a2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 432f6a2 was 432f6a2, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix subversion md5

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

  • Property mode set to 100644
File size: 20.5 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 "https://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
8 <!ENTITY subversion-download-ftp " ">
9 <!ENTITY subversion-md5sum "8f6c50632355ae08445c2ed63ba9689e">
10 <!ENTITY subversion-size "8.1 MB">
11 <!-- for 1.12.0 1.12.2 1.13.0
12 make javahl: 0.5 SBU 28 MB; not avail
13 swig-pl: 0.8 42 MB; 0.7 SBU 43 MB; 0.6 SBU 44 MB
14 swig-py: 0.6 26 MB; 0.5 28 MB; 0.5 28 MB
15 swig-rb: 0.4 22 MB; 0.4 21 MB; 0.3 21 MB
16 docs: 2 secs 26 MB; 2 sec 27 MB; 2 sec 26 MB
17 tests 46 min 1104 MB 46:52 1103 MB 47 min -->
18 <!ENTITY subversion-buildsize "176 MB (add 93 MB for bindings, 26 MB for docs, 1.1 GB for tests)">
19 <!ENTITY subversion-time "0.5 SBU (Using parallelism=4; add 1.4 SBU for bindings, 29 SBU for tests)">
20]>
21
22<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
23 <?dbhtml filename="subversion.html"?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
29
30 <title>Subversion-&subversion-version;</title>
31
32 <indexterm zone="subversion">
33 <primary sortas="a-Subversion">Subversion</primary>
34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to Subversion</title>
38
39 <para>
40 <application>Subversion</application> is a version control system that is
41 designed to be a compelling replacement for <application>CVS</application>
42 in the open source community. It extends and enhances
43 <application>CVS</application>' feature set, while maintaining a similar
44 interface for those already familiar with <application>CVS</application>.
45 These instructions install the client and server software used to
46 manipulate a <application>Subversion</application> repository. Creation of
47 a repository is covered at <xref linkend="svnserver"/>.
48 </para>
49
50 &lfs91_checked;
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>
56 Download (HTTP): <ulink url="&subversion-download-http;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download (FTP): <ulink url="&subversion-download-ftp;"/>
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download MD5 sum: &subversion-md5sum;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Download size: &subversion-size;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated disk space required: &subversion-buildsize;
77 </para>
78 </listitem>
79 <listitem>
80 <para>
81 Estimated build time: &subversion-time;
82 </para>
83 </listitem>
84 </itemizedlist>
85<!--
86 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
87 <itemizedlist spacing="compact">
88 <listitem>
89 <para>
90 Required patch for building with <xref linkend="apr"/>:
91 <ulink url="&patch-root;/subversion-&subversion-version;-apr_1.7.0_fix-1.patch"/>
92 </para>
93 </listitem>
94 </itemizedlist>
95-->
96 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
97
98 <bridgehead renderas="sect4">Required</bridgehead>
99 <para role="required">
100 <xref linkend="apr-util"/> and
101 <xref linkend="sqlite"/>
102 </para>
103
104 <bridgehead renderas="sect4">Recommended</bridgehead>
105 <para role="recommended">
106 <xref linkend="serf"/> (for handling http:// and https:// URLs)
107 </para>
108
109<!-- support for berkeley db is deprecated since 1.8
110 <note>
111 <para>
112 If you require the <application>Berkeley DB</application> back-end hooks
113 in <application>Subversion</application> to build or support BDB based
114 repositories, you must have <application>APR-util</application> linked to
115 the <application>Berkeley DB</application> library.
116 </para>
117 </note>
118-->
119
120 <bridgehead renderas="sect4">Optional</bridgehead>
121 <para role="optional">
122 <xref linkend="apache"/>,
123<!-- support for berkeley db is deprecated since 1.8
124 <xref linkend="db"/>,
125-->
126 <xref linkend="cyrus-sasl"/>,
127 <xref linkend="dbus"/>,
128 <xref linkend="gnome-keyring"/>,
129 <xref linkend="libsecret"/>,
130<!-- <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support), -->
131 <xref linkend="py3c"/> (for tests)
132 <xref linkend="python2"/> (with sqlite support for the tests),
133 <xref linkend="ruby"/>,
134 <xref linkend="swig"/> (for building Perl, Python and Ruby bindings),
135 <ulink url="https://github.com/lz4/lz4/releases">LZ4</ulink>, and
136 <ulink url="http://git.netsurf-browser.org/libutf8proc.git/">UTF8proc</ulink>
137 </para>
138
139 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
140 <para role="optional">
141 One of <xref linkend="openjdk"/>,
142 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
143 <ulink url="http://jikes.sourceforge.net/">Jikes</ulink>,
144 <ulink url="https://junit.org/junit4/">JUnit 4</ulink> (to test the Java bindings) and
145 <xref linkend="apache-ant"/>.
146 </para>
147
148 <para condition="html" role="usernotes">
149 User Notes: <ulink url="&blfs-wiki;/subversion"/>
150 </para>
151
152 </sect2>
153
154 <sect2 role="installation">
155 <title>Installation of Subversion</title>
156<!--
157 <note>
158 <para>
159 This package may fail during the make phase when using multiple
160 processors. If this occurs try continuing with
161 <emphasis>make -j1</emphasis> or redo the entire build process with
162 fresh sources using <emphasis>-j1</emphasis>.
163 </para>
164 </note>
165-->
166<!--
167 <para>
168 First, apply a patch to fix building against <xref linkend="apr"/>:
169 </para>
170
171<screen><userinput>patch -Np1 -i ../subversion-&subversion-version;-apr_1.7.0_fix-1.patch</userinput></screen> -->
172<!--
173 <para>
174 First, apply a fix to adapt subversion to <xref linkend="swig"/>:
175 </para>
176
177<screen><userinput remap="pre">sed -i 's/classic/nofastunpack/' build.conf</userinput></screen>
178-->
179 <para>
180 Install <application>Subversion</application> by running the following
181 commands:
182 </para>
183
184<screen><userinput>./configure --prefix=/usr \
185 --disable-static \
186 --with-apache-libexecdir \
187 --with-lz4=internal \
188 --with-utf8proc=internal &amp;&amp;
189make</userinput></screen>
190
191 <para>
192 If you have <xref linkend="doxygen"/> installed and you wish to build the
193 API documentation, issue:
194 </para>
195
196<screen remap="doc"><userinput>doxygen doc/doxygen.conf</userinput></screen>
197
198 <para>
199 If you wish to build the Java bindings pass the <option>--enable-javahl</option>
200 parameter to the <command>configure</command> command. In addition, if
201 you want to run the Java test suite, you have to specify the location
202 of the <application>JUnit</application> file by adding
203 <option>--with-junit=&lt;path to junit jar&gt;</option> (for
204 instance <option>--with-junit=/usr/local/java/lib/junit-4.13.jar</option>)
205 to <command>configure</command>. The JUnit jar file is no longer
206 included in <xref linkend="apache-ant"/> and must be downloaded seperatly.
207 To build the Java bindings, issue the following command:
208 </para>
209 <para>
210 <screen><command>make javahl</command></screen>
211 </para>
212
213 <para>
214 If you want to compile <application>Perl</application>,
215 <application>Python</application>, or <application>Ruby</application>
216 bindings, issue any of the following command:
217 </para>
218 <para>
219 <screen><command>make swig-pl</command> # for <application>Perl</application>
220<command>make swig-py \
221 swig_pydir=/usr/lib/python&python3-majorver;/site-packages/libsvn \
222 swig_pydir_extra=/usr/lib/python&python3-majorver;/site-packages/svn</command> # for <application>Python</application>
223<command>make swig-rb</command> # for <application>Ruby</application></screen>
224 </para>
225
226 <para>
227 To test the results, issue: <command>make check</command>. The upgrade_tests.py
228 test is known to fail.
229 </para>
230
231 <para>
232 To test the results of the Java bindings build,
233 issue <command>LANG=C make check-javahl</command>.
234 <!-- ~~ This explanation is added to the configure above ~~
235 The <application>JUnit</application> testing framework must be installed,
236 and the location of the JUnit jar has to be specified by passing the
237 <option>- -with-junit=&lt;path to junit jar&gt;</option> parameter to
238 <command>configure</command>. Note that <application>JUnit</application>
239 is included in <xref linkend="apache-ant"/>, and can be accessed by
240 passing <option>- -with-junit=/opt/ant/lib/junit-4.12.jar</option>
241 to <command>configure</command>.
242 -->
243 </para>
244
245 <para>
246 To test the results of any of the <application>SWIG</application>
247 bindings, you can use any of the following commands:
248 <command>make check-swig-pl</command>,
249 <command>make check-swig-py</command>, or
250 <command>make check-swig-rb</command>.
251 </para>
252
253 <para>
254 Now, as the <systemitem class="username">root</systemitem> user:
255 </para>
256
257<screen role="root"><userinput>make install &amp;&amp;
258
259install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
260cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</userinput></screen>
261
262 <para>
263 If you built the Java bindings, issue the following command as the
264 <systemitem class="username">root</systemitem> user to install them:
265 </para>
266 <para>
267<screen><command>make install-javahl</command></screen>
268 </para>
269
270 <para>
271 If you built the <application>Perl</application>,
272 <application>Python</application>, or
273 <application>Ruby</application> bindings, issue any of the following
274 commands as the <systemitem class="username">root</systemitem> user
275 to install them:
276 </para>
277 <para>
278<screen><command>make install-swig-pl</command>
279<command>make install-swig-py \
280 swig_pydir=/usr/lib/python&python3-majorver;/site-packages/libsvn \
281 swig_pydir_extra=/usr/lib/python&python3-majorver;/site-packages/svn</command>
282<command>make install-swig-rb</command></screen>
283 </para>
284
285 </sect2>
286
287 <sect2 role="commands">
288 <title>Command Explanations</title>
289
290 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
291 href="../../xincludes/static-libraries.xml"/>
292
293 <para>
294 <parameter>--with-apache-libexecdir</parameter>:
295 If <xref linkend="apache"/> is installed, the shared
296 <application>Apache</application> modules are
297 built. This switch allows to have those modules installed to
298 <application>Apache</application>'s configured module dir instead
299 of <filename class="directory">/usr/libexec</filename>. It has no effect
300 if <application>Apache</application> is not installed.
301 </para>
302
303 <para>
304 <parameter>--with-lz4=internal, --with-utf8proc=internal</parameter>:
305 Remove them if you have installed the optional dependencies.
306 </para>
307
308 <para>
309 <option>--enable-javahl</option>: enables compilation of Java high level
310 bindings. Running <command>make javahl</command> is necessary to do
311 the compilation.
312 </para>
313
314 <para>
315 <option>--with-junit=&lt;location of the junit jar file&gt;</option>:
316 gives the location of the junit jar, otherwise the javahl tests cannot
317 be run.
318 </para>
319
320 <para>
321 <option>--disable-gmock</option>: Do not use the Googlemock testing
322 framework.
323 </para>
324
325 </sect2>
326
327 <sect2 role="configuration">
328 <title>Configuring Subversion</title>
329
330 <sect3 id="subversion-config">
331 <title>Config Files</title>
332
333 <para>
334 <filename>~/.subversion/config</filename> and
335 <filename>/etc/subversion/config</filename>
336 </para>
337
338 <indexterm zone="subversion subversion-config">
339 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
340 </indexterm>
341
342 <indexterm zone="subversion subversion-config">
343 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
344 </indexterm>
345 </sect3>
346
347 <sect3>
348 <title>Configuration Information</title>
349
350 <para>
351 <filename>/etc/subversion/config</filename> is the
352 <application>Subversion</application> system-wide configuration file.
353 This file is used to specify defaults for different
354 <command>svn</command> commands.
355 </para>
356
357 <para>
358 <filename>~/.subversion/config</filename> is the user's personal
359 configuration file. It is used to override the system-wide defaults set
360 in <filename>/etc/subversion/config</filename>.
361 </para>
362 </sect3>
363
364 </sect2>
365
366 <sect2 role="content">
367 <title>Contents</title>
368
369 <segmentedlist>
370 <segtitle>Installed Programs</segtitle>
371 <segtitle>Installed Libraries</segtitle>
372 <segtitle>Installed Directories</segtitle>
373
374 <seglistitem>
375 <seg>
376 svn, svnadmin, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
377 svnrdump, svnserve, svnsync, and svnversion
378 </seg>
379 <seg>
380 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
381 and mod_authz_svn.so <application>Apache HTTP</application> DSO
382 modules and various <application>Perl</application>,
383 <application>Python</application> and
384 <application>Ruby</application> modules.
385 </seg>
386 <seg>
387 /usr/include/subversion-1,
388 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
389 /usr/lib/python&python3-majorver;/site-packages/{libsvn,svn},
390 /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
391 /usr/lib/svn-javahl, and
392 /usr/share/doc/subversion-&subversion-version;
393 </seg>
394 </seglistitem>
395 </segmentedlist>
396
397 <variablelist>
398 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
399 <?dbfo list-presentation="list"?>
400 <?dbhtml list-presentation="table"?>
401
402 <varlistentry id="svn">
403 <term><command>svn</command></term>
404 <listitem>
405 <para>
406 is a command-line client program used to access
407 <application>Subversion</application> repositories.
408 </para>
409 <indexterm zone="subversion svn">
410 <primary sortas="b-svn">svn</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="svnadmin">
416 <term><command>svnadmin</command></term>
417 <listitem>
418 <para>
419 is a tool for creating, tweaking or repairing a
420 <application>Subversion</application> repository.
421 </para>
422 <indexterm zone="subversion svnadmin">
423 <primary sortas="b-svnadmin">svnadmin</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="svnbench">
429 <term><command>svnbench</command></term>
430 <listitem>
431 <para>
432 is a benchmarking tool.
433 </para>
434 <indexterm zone="subversion svnbench">
435 <primary sortas="b-svnbench">svnbench</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="svndumpfilter">
441 <term><command>svndumpfilter</command></term>
442 <listitem>
443 <para>
444 is a program for filtering <application>Subversion</application>
445 repository dumpfile format streams.
446 </para>
447 <indexterm zone="subversion svndumpfilter">
448 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="svnfsfs">
454 <term><command>svnfsfs</command></term>
455 <listitem>
456 <para>
457 is the FSFS (FileSystem atop of the FileSystem -
458 <application>Subversion</application> filesystem implementation)
459 repository manipulation tool.
460 </para>
461 <indexterm zone="subversion svnfsfs">
462 <primary sortas="b-svnfsfs">svnfsfs</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="svnlook">
468 <term><command>svnlook</command></term>
469 <listitem>
470 <para>
471 is a tool for inspecting a <application>Subversion</application>
472 repository.
473 </para>
474 <indexterm zone="subversion svnlook">
475 <primary sortas="b-svnlook">svnlook</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="svnmucc">
481 <term><command>svnmucc</command></term>
482 <listitem>
483 <para>
484 is a Multiple URL Command Client for <application>Subversion</application>.
485 </para>
486 <indexterm zone="subversion svnmucc">
487 <primary sortas="b-svnmucc">svnmucc</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="svnrdump">
493 <term><command>svnrdump</command></term>
494 <listitem>
495 <para>
496 is a tool for dumping or loading a remote
497 <application>Subversion</application> repository.
498 </para>
499 <indexterm zone="subversion svnrdump">
500 <primary sortas="b-svnrdump">svnrdump</primary>
501 </indexterm>
502 </listitem>
503 </varlistentry>
504
505 <varlistentry id="svnserve">
506 <term><command>svnserve</command></term>
507 <listitem>
508 <para>
509 is a custom standalone server program, able to run as a daemon
510 process or invoked by SSH.
511 </para>
512 <indexterm zone="subversion svnserve">
513 <primary sortas="b-svnserve">svnserve</primary>
514 </indexterm>
515 </listitem>
516 </varlistentry>
517
518 <varlistentry id="svnsync">
519 <term><command>svnsync</command></term>
520 <listitem>
521 <para>
522 is a <application>Subversion</application> repository
523 synchronisation tool.
524 </para>
525 <indexterm zone="subversion svnsync">
526 <primary sortas="b-svnsync">svnsync</primary>
527 </indexterm>
528 </listitem>
529 </varlistentry>
530
531 <varlistentry id="svnversion">
532 <term><command>svnversion</command></term>
533 <listitem>
534 <para>
535 is used to report the version number and state of a working
536 <application>Subversion</application> repository copy.
537 </para>
538 <indexterm zone="subversion svnversion">
539 <primary sortas="b-svnversion">svnversion</primary>
540 </indexterm>
541 </listitem>
542 </varlistentry>
543
544 <varlistentry id="libsvn_star-1">
545 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
546 <listitem>
547 <para>
548 are the support libraries used by the
549 <application>Subversion</application> programs.
550 </para>
551 <indexterm zone="subversion libsvn_star-1">
552 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
553 </indexterm>
554 </listitem>
555 </varlistentry>
556
557 <varlistentry id="mod_authz_svn">
558 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
559 <listitem>
560 <para>
561 is a plug-in module for the <application>Apache</application> HTTP
562 server, used to authenticate users to a
563 <application>Subversion</application> repository over the Internet
564 or an intranet.
565 </para>
566 <indexterm zone="subversion mod_authz_svn">
567 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
568 </indexterm>
569 </listitem>
570 </varlistentry>
571
572 <varlistentry id="mod_dav_svn">
573 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
574 <listitem>
575 <para>
576 is a plug-in module for the <application>Apache</application> HTTP
577 server, used to make a <application>Subversion</application>
578 repository available to others over the Internet or an intranet.
579 </para>
580 <indexterm zone="subversion mod_dav_svn">
581 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
582 </indexterm>
583 </listitem>
584 </varlistentry>
585
586 </variablelist>
587
588 </sect2>
589
590</sect1>
Note: See TracBrowser for help on using the repository browser.