source: general/prog/subversion-systemd.xml@ cf193634

systemd-13485
Last change on this file since cf193634 was cf193634, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to libxcb-1.11.1
Update to dhcpcd-6.9.3
Update to wpa_supplicant-2.5
Update to SQLite-3.9.2
Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16650 af4574ff-66df-0310-9fd7-8a98e5e911e0

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