source: general/prog/subversion.xml@ cb7ef13

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 cb7ef13 was cb7ef13, checked in by Andrew Benton <andy@…>, 12 years ago

subversion tweaks

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

  • Property mode set to 100644
File size: 14.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 "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
8 <!ENTITY subversion-download-ftp " ">
9 <!ENTITY subversion-md5sum "8a4fa74385df85a9702141b6b68b8307">
10 <!ENTITY subversion-size "5.7 MB">
11
12 <!ENTITY subversion-buildsize "153 MB (additional 119 MB to install all bindings and 750 MB to run all test suites)">
13 <!ENTITY subversion-time "1.6 SBU (add 2.7 SBU for bindings and 7.1 SBU to run test suites)">
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><application>Subversion</application> is a version control
34 system that is designed to be a compelling replacement for
35 <application>CVS</application> in the open source community. It
36 extends and enhances <application>CVS</application>' feature set,
37 while maintaining a similar interface for those already familiar with
38 <application>CVS</application>. These instructions install the client
39 and server software used to manipulate a
40 <application>Subversion</application> repository. Creation of a repository
41 is covered at <xref linkend="svnserver"/>.</para>
42
43 &lfs70_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>Download (HTTP): <ulink url="&subversion-download-http;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download MD5 sum: &subversion-md5sum;</para>
55 </listitem>
56 <listitem>
57 <para>Download size: &subversion-size;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated disk space required: &subversion-buildsize;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated build time: &subversion-time;</para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Required</bridgehead>
70 <para role="required"><xref linkend="sqlite"/> and
71 <xref linkend="apr-util"/></para>
72
73 <para>If you require the <application>Berkeley DB</application> back-end
74 hooks in <application>Subversion</application> to build or support BDB
75 based repositories, you must have <application>Berkeley DB</application>
76 linked into the <application>APR-util</application> library.</para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional"><xref linkend="python2"/> (required to run the test suite),
80 <xref linkend="db"/>,
81 <xref linkend="sqlite"/>,
82 <xref linkend="cyrus-sasl"/>,
83 <xref linkend="openssl"/>,
84 <xref linkend="dbus-glib"/>,
85 <xref linkend="gnome-keyring"/>,
86 KWallet from KDE4,
87 <xref linkend="apache"/> and
88 <xref linkend="neon"/> or
89 <ulink url="http://code.google.com/p/serf/">serf</ulink></para>
90
91 <bridgehead renderas="sect4">Optional to Build the Java Bindings</bridgehead>
92 <para role="optional">One of <xref linkend="icedtea6"/>,
93 <xref linkend="jdk"/>,
94 <ulink url="http://www.inet.no/dante/">Dante</ulink>, or
95 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
96 and <xref linkend="junit"/> (to test the Java bindings)</para>
97
98 <bridgehead renderas="sect4">Optional to Build the SWIG Bindings</bridgehead>
99 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>**,
100 <xref linkend="python2"/>, and
101 <xref linkend="ruby"/></para>
102
103 <para condition="html" role="usernotes">User Notes:
104 <ulink url="&blfs-wiki;/subversion"/></para>
105
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of Subversion</title>
110
111 <para>Install <application>Subversion</application> by running the
112 following commands:</para>
113
114<screen><userinput>./configure --prefix=/usr &amp;&amp;
115make</userinput></screen>
116
117 <para>If you have <xref linkend="doxygen"/> installed and you wish to
118 build the API documentation, issue:
119 <command>doxygen doc/doxygen.conf</command>.</para>
120
121 <para>If you passed the <option>--enable-javahl</option> parameter to
122 <command>configure</command> and wish to build the Java bindings, issue
123 the following command:</para>
124
125<screen><userinput>make javahl</userinput></screen>
126
127 <para>If you have the necessary dependencies installed and you wish to
128 build the <application>Perl</application>,
129 <application>Python</application> and/or
130 <application>Ruby</application> bindings, issue any or all of the following
131 commands:</para>
132
133<screen><userinput>make swig-pl &amp;&amp;
134make swig-py &amp;&amp;
135make swig-rb</userinput></screen>
136
137 <para>To test the results, issue: <command>make check</command>.</para>
138
139 <para>To test the results of the Java bindings build, issue
140 <command>make check-javahl</command>. Note you must have the
141 <application>JUnit</application> testing framework installed.</para>
142
143 <para>To test the results of any or all of the
144 <application>SWIG</application> bindings, you can use the following
145 commands:</para>
146
147<screen><userinput>make check-swig-pl &amp;&amp;
148make check-swig-py &amp;&amp;
149make check-swig-rb</userinput></screen>
150
151 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
152
153<screen role='root'><userinput>make install &amp;&amp;
154install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
155cp -v -R doc/* \
156 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
157
158 <para>If you built the Java bindings, issue the following command
159 as the <systemitem class="username">root</systemitem> user to install
160 them:</para>
161
162<screen role='root'><userinput>make install-javahl</userinput></screen>
163
164 <para>If you built any of the <application>SWIG</application> bindings,
165 issue any or all of the following commands as the
166 <systemitem class="username">root</systemitem> user to install them:</para>
167
168<screen role='root'><userinput>make install-swig-pl &amp;&amp;
169make install-swig-py &amp;&amp;
170make install-swig-rb</userinput></screen>
171
172 <para>In order for <application>Python</application> to automatically
173 discover the bindings, add
174 <filename class='directory'>/usr/lib/svn-python</filename> to the
175 <envar>PYTHONPATH</envar> environment variable to the system or
176 personal profiles.</para>
177 </sect2>
178
179 <sect2 role="configuration">
180 <title>Configuring Subversion</title>
181
182 <sect3 id="subversion-config">
183 <title>Config Files</title>
184
185 <para><filename>~/.subversion/config</filename> and
186 <filename>/etc/subversion/config</filename></para>
187
188 <indexterm zone="subversion subversion-config">
189 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
190 </indexterm>
191
192 <indexterm zone="subversion subversion-config">
193 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
194 </indexterm>
195 </sect3>
196
197 <sect3>
198 <title>Configuration Information</title>
199
200 <para><filename>/etc/subversion/config</filename> is the
201 <application>Subversion</application> system-wide configuration file.
202 This file is used to specify defaults for different
203 <command>svn</command> commands.</para>
204
205 <para><filename>~/.subversion/config</filename> is the user's personal
206 configuration file. It is used to override the system-wide defaults
207 set in <filename>/etc/subversion/config</filename>.</para>
208
209 </sect3>
210
211 </sect2>
212
213 <sect2 role="content">
214 <title>Contents</title>
215
216 <segmentedlist>
217 <segtitle>Installed Programs</segtitle>
218 <segtitle>Installed Libraries</segtitle>
219 <segtitle>Installed Directories</segtitle>
220
221 <seglistitem>
222 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnsync and
223 svnversion</seg>
224 <seg>libsvn*.{so,a} and optionally, a Java library, the mod_dav_svn.so,
225 and mod_authz_svn.so <application>Apache HTTP</application>
226 DSO modules and various <application>Perl</application>,
227 <application>Python</application> and <application>Ruby</application>
228 modules</seg>
229 <seg>/usr/include/subversion-1,
230 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/auto/SVN (optional),
231 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/SVN (optional),
232 /usr/lib/ruby/site_ruby/x.x/i686-linux/svn (optional),
233 /usr/lib/svn-javahl (optional),
234 /usr/lib/svn-python (optional) and
235 /usr/share/doc/subversion-&subversion-version;</seg>
236 </seglistitem>
237 </segmentedlist>
238
239 <variablelist>
240 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
241 <?dbfo list-presentation="list"?>
242 <?dbhtml list-presentation="table"?>
243
244 <varlistentry id="svn">
245 <term><command>svn</command></term>
246 <listitem>
247 <para>is a command-line client program used to access
248 <application>Subversion</application> repositories.</para>
249 <indexterm zone="subversion svn">
250 <primary sortas="b-svn">svn</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="svnadmin">
256 <term><command>svnadmin</command></term>
257 <listitem>
258 <para>is a tool for creating, tweaking or repairing a
259 <application>Subversion</application> repository.</para>
260 <indexterm zone="subversion svnadmin">
261 <primary sortas="b-svnadmin">svnadmin</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="svndumpfilter">
267 <term><command>svndumpfilter</command></term>
268 <listitem>
269 <para>is a program for filtering <application>Subversion</application>
270 repository dumpfile format streams.</para>
271 <indexterm zone="subversion svndumpfilter">
272 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="svnlook">
278 <term><command>svnlook</command></term>
279 <listitem>
280 <para>is a tool for inspecting a
281 <application>Subversion</application> repository.</para>
282 <indexterm zone="subversion svnlook">
283 <primary sortas="b-svnlook">svnlook</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="svnserve">
289 <term><command>svnserve</command></term>
290 <listitem>
291 <para>is a custom standalone server program, able to run as a
292 daemon process or invoked by SSH.</para>
293 <indexterm zone="subversion svnserve">
294 <primary sortas="b-svnserve">svnserve</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="svnversion">
300 <term><command>svnversion</command></term>
301 <listitem>
302 <para>is used to report the version number and state of a
303 working <application>Subversion</application> repository copy.</para>
304 <indexterm zone="subversion svnversion">
305 <primary sortas="b-svnversion">svnversion</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="neon-config-svn">
311 <term><command>neon-config</command></term>
312 <listitem>
313 <para>is a script which provides information about an installed
314 copy of the <application>neon</application> library.</para>
315 <indexterm zone="subversion neon-config">
316 <primary sortas="b-neon-config">neon-config</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="libsvn_star">
322 <term><filename class='libraryfile'>libsvn_*.{so,a}</filename></term>
323 <listitem>
324 <para>are the support libraries used by the
325 <application>Subversion</application> programs.</para>
326 <indexterm zone="subversion libsvn_star">
327 <primary sortas="c-libsvn_star">libsvn_*.{so,a}</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="libneon-svn">
333 <term><filename class='libraryfile'>libneon.{so,a}</filename></term>
334 <listitem>
335 <para>is used as a high-level interface to common
336 HTTP and WebDAV methods.</para>
337 <indexterm zone="subversion libneon">
338 <primary sortas="c-libneon">libneon.{so,a}</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="mod_authz_svn">
344 <term><filename class='libraryfile'>mod_authz_svn.so</filename></term>
345 <listitem>
346 <para>is a plug-in module for the <application>Apache</application>
347 HTTP server, used to authenticate users to a
348 <application>Subversion</application> repository over the Internet or an
349 intranet.</para>
350 <indexterm zone="subversion mod_authz_svn">
351 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="mod_dav_svn">
357 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
358 <listitem>
359 <para>is a plug-in module for the <application>Apache</application>
360 HTTP server, used to make a
361 <application>Subversion</application> repository available to others over the
362 Internet or an intranet.</para>
363 <indexterm zone="subversion mod_dav_svn">
364 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
369 </variablelist>
370
371 </sect2>
372
373</sect1>
Note: See TracBrowser for help on using the repository browser.