source: basicnet/netprogs/subversion.xml@ f47baef

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 f47baef was 3f87e4a, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed the Berkeley DB dependency from packages utilizing it as BDB is now built in LFS

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

  • Property mode set to 100644
File size: 17.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY subversion-download-http "http://subversion.tigris.org/tarballs/subversion-&subversion-version;.tar.bz2">
8 <!ENTITY subversion-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/subversion-&subversion-version;.tar.bz2">
9 <!ENTITY subversion-md5sum "a14bc6590241b6e5c2ff2b354cc184a1">
10 <!ENTITY subversion-size "7.2 MB">
11
12 <!-- Commenting out the stuff about bindings for now
13 <!ENTITY subversion-buildsize "90 MB (additional 45 MB for all bindings and 443 MB to run all test suites)">
14 <!ENTITY subversion-time "1.6 SBU (add 1.1 SBU for bindings and 22.5 SBU to run test suites)">
15 -->
16
17 <!ENTITY subversion-buildsize "93 MB (additional 466 MB to run the test suite)">
18 <!ENTITY subversion-time "1.7 SBU (add 7.1 SBU to run the test suite)">
19 <!ENTITY svn-neon-version "0.24.7">
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 <keywordset>
29 <keyword role="package">subversion-&subversion-version;.tar</keyword>
30 <keyword role="ftpdir">subversion</keyword>
31 </keywordset>
32 </sect1info>
33
34 <title>Subversion-&subversion-version;</title>
35
36 <indexterm zone="subversion">
37 <primary sortas="a-Subversion">Subversion</primary>
38 </indexterm>
39
40 <sect2 role="package">
41 <title>Introduction to Subversion</title>
42
43 <para><application>Subversion</application> is a version control
44 system that is designed to be a compelling replacement for
45 <application>CVS</application> in the open source community. It
46 extends and enhances <application>CVS</application>' feature set,
47 while maintaining a similar interface for those already familiar with
48 <application>CVS</application>. These instructions install the client
49 and server software used to manipulate a
50 <application>Subversion</application> repository. Creation of a repository
51 is covered at <xref linkend="svnserver"/>.</para>
52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>Download (HTTP): <ulink url="&subversion-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download MD5 sum: &subversion-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>Download size: &subversion-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &subversion-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &subversion-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <!--
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>Required patch if using
80 <application>Swig</application>-1.3.25 and you wish
81 to build the <application>Perl</application> bindings: <ulink
82 url="&patch-root;/patches/subversion-&subversion-version;-swig_1.3.25-1.patch"/></para>
83 </listitem>
84 </itemizedlist>
85 -->
86
87 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
88
89 <bridgehead renderas="sect4">Required</bridgehead>
90 <para role="required"><xref linkend="libxml2"/> (only if using the bundled
91 version of <application>neon</application>)</para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional"><xref linkend="python"/> (required to run the test
95 suite),
96 <!-- <xref linkend="db"/>, -->
97 <xref linkend="apache"/>,
98 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
99
100 <xref linkend="jdk"/> (to build the <application>Java</application>
101 bindings),
102
103 <ulink url="http://www.junit.org/">JUnit</ulink> (required for running the
104 <application>Java</application> bindings test suite and requires
105 <xref linkend="unzip"/>),
106
107 <ulink url="http://www.inet.no/dante/">Dante</ulink> (alternate
108 <application>Java</application> compiler), and
109
110 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
111 Jikes</ulink> (another alternate
112 <application>Java</application> compiler)</para>
113 <!-- inetd or <xref linkend="xinetd"/> (server only) -->
114
115 <bridgehead renderas="sect4">Optional for the Bundled Version of
116 <application>Neon</application></bridgehead>
117 <para role="optional"><xref linkend="pkgconfig"/>,
118 <xref linkend="openssl"/>,
119 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
120
121 <bridgehead renderas="sect4">Optional for the Bundled Version of
122 <application>Apache Portable Runtime</application></bridgehead>
123 <para role="optional"><xref linkend="expat"/> and
124 <xref linkend="gdbm"/></para>
125
126 <bridgehead renderas="sect4">Optional to Build the
127 <application>SWIG</application> Bindings</bridgehead>
128 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
129 <xref linkend="python"/>, and
130 <xref linkend="ruby"/> (<application>Ruby</application> bindings require
131 <application>Swig-1.3.24</application>)</para>
132
133 <!-- Added a note that the bindings may not work correctly. This may have
134 to be commented out in future versions where all the bindings build
135 and work properly-->
136 <para>Note that the <application>Python</application> and
137 <application>Perl</application> bindings may not compile properly with
138 the current versions of <application>SWIG</application> and the
139 (B)LFS packages.</para>
140
141 </sect2>
142
143 <sect2 role="installation">
144 <title>Installation of Subversion</title>
145
146 <para>Install <application>Subversion</application> by running the following
147 commands:</para>
148
149<screen><userinput>./configure --prefix=/usr &amp;&amp;
150make</userinput></screen>
151
152 <note>
153 <para>If you have <application>Apache</application> installed, pass
154 the <option>--with-apr=/usr</option> and <option>--with-apr-util=/usr</option>
155 switches to the <command>configure</command> script. Otherwise,
156 <application>Subversion</application> will overwrite APR and APR-utils
157 from the <application>Apache</application> installation with its own
158 files. You may also need to pass <option>--with-apxs=/usr/sbin/apxs</option>
159 as <command>apxs</command> might not be in an unprivileged user's
160 <envar>PATH</envar> and won't be properly discovered.</para>
161 </note>
162
163 <para>If you passed the <option>--enable-javahl</option> parameter to
164 <command>configure</command> and wish to build the
165 <application>Java</application> <application>Subversion</application>
166 bindings, issue the following command:</para>
167
168<screen><userinput>make javahl</userinput></screen>
169
170 <!-- Perl and Python bindings appear broken right now so
171 commenting them out
172 <para>If you passed the <option>-with-swig</option> parameter to
173 <command>configure</command> and wish to build the
174 <application>SWIG</application> <application>Perl</application> and
175 <application>Python</application> <application>Subversion</application>
176 bindings, issue the following commands:</para>
177
178<screen><userinput>make swig-pl &amp;&amp;
179make swig-py</userinput></screen>
180 -->
181
182 <para>The <application>Ruby</application> bindings are a recent
183 development, and are only partially implemented. The
184 <application>Ruby</application> bindings API may change incompatibly as
185 development proceeds. They currently require
186 <application>SWIG</application> 1.3.24 exactly &ndash; neither later nor
187 earlier will work.</para>
188
189 <para>To test the results of the <application>Subversion</application>
190 build, issue: <command>make check</command>. This will take quite a long
191 time.</para>
192
193 <!-- Revising the command to exclude the Perl bindings check
194 <para>To test the results of the bindings builds, issue either or both
195 of: <command>make check-javahl</command> and
196 <command>make check-swig-pl</command>.</para>
197 -->
198
199 <para>To test the results of the <application>Java</application> bindings
200 build, issue <command>make check-javahl</command>.</para>
201
202 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
203
204<screen role='root'><userinput>make install &amp;&amp;
205install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &amp;&amp;
206cp -v -R doc/* /usr/share/doc/subversion-&subversion-version; &amp;&amp;
207rm -v /usr/share/doc/subversion-&subversion-version;/{Makefile,doxygen.conf}</userinput></screen>
208
209 <para>If you built the <application>Java</application>
210 <application>Subversion</application> bindings, issue the following command
211 as the <systemitem class="username">root</systemitem> user to install
212 them:</para>
213
214<screen role='root'><userinput>make install-javahl</userinput></screen>
215
216 <!-- Commenting out Perl and Python bindings install
217 <para>If you built the <application>SWIG</application>
218 <application>Perl</application> and <application>Python</application>
219 <application>Subversion</application> bindings, issue the following commands
220 as the <systemitem class="username">root</systemitem> user to install
221 them:</para>
222
223<screen role='root'><userinput>make install-swig-pl &amp;&amp;
224make install-swig-py &amp;&amp;
225echo /usr/lib/svn-python \
226 &gt; /usr/lib/python2.4/site-packages/subversion.pth</userinput></screen>
227 -->
228
229 </sect2>
230
231 <sect2 role="commands">
232 <title>Command Explanations</title>
233
234 <para><option>--with-ssl</option>: This switch enables
235 <application>OpenSSL</application> support in
236 <application>neon</application> (only required if you use the bundled
237 version of <application>neon</application>).</para>
238
239 </sect2>
240
241 <sect2 role="configuration">
242 <title>Configuring Subversion</title>
243
244 <sect3 id="subversion-config">
245 <title>Config Files</title>
246
247 <para><filename>~/.subversion/config</filename> and
248 <filename>/etc/subversion/config</filename></para>
249
250 <indexterm zone="subversion subversion-config">
251 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
252 </indexterm>
253
254 <indexterm zone="subversion subversion-config">
255 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
256 </indexterm>
257
258 </sect3>
259
260 <sect3>
261 <title>Configuration Information</title>
262
263 <para><filename>/etc/subversion/config</filename> is the
264 <application>Subversion</application> system-wide configuration file.
265 This file is used to specify defaults for different
266 <command>svn</command> commands.</para>
267
268 <para><filename>~/.subversion/config</filename> is the user's personal
269 configuration file. It is used to override the system-wide defaults
270 set in <filename>/etc/subversion/config</filename>.</para>
271
272 </sect3>
273
274 </sect2>
275
276 <sect2 role="content">
277 <title>Contents</title>
278
279 <segmentedlist>
280 <segtitle>Installed Programs</segtitle>
281 <segtitle>Installed Libraries</segtitle>
282 <segtitle>Installed Directories</segtitle>
283
284 <seglistitem>
285 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
286 optionally, neon-config</seg>
287 <seg>libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so,
288 and mod_authz_svn.so <application>Apache HTTP</application>
289 DSO modules</seg>
290 <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
291 /usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/SVN (optional),
292 /usr/lib/perl5/site_perl/5.8.6/i686-linux/SVN (optional),
293 /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional),
294 /usr/share/doc/neon-&svn-neon-version; (optional), and
295 /usr/share/doc/subversion-&subversion-version;</seg>
296 </seglistitem>
297 </segmentedlist>
298
299 <variablelist>
300 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
301 <?dbfo list-presentation="list"?>
302 <?dbhtml list-presentation="table"?>
303
304 <varlistentry id="svn">
305 <term><command>svn</command></term>
306 <listitem>
307 <para>is a command-line client program used to access
308 <application>Subversion</application> repositories.</para>
309 <indexterm zone="subversion svn">
310 <primary sortas="b-svn">svn</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="svnadmin">
316 <term><command>svnadmin</command></term>
317 <listitem>
318 <para>is a tool for creating, tweaking or repairing a
319 <application>Subversion</application> repository.</para>
320 <indexterm zone="subversion svnadmin">
321 <primary sortas="b-svnadmin">svnadmin</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="svndumpfilter">
327 <term><command>svndumpfilter</command></term>
328 <listitem>
329 <para>is a program for filtering <application>Subversion</application>
330 repository dumpfile format streams.</para>
331 <indexterm zone="subversion svndumpfilter">
332 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="svnlook">
338 <term><command>svnlook</command></term>
339 <listitem>
340 <para>is a tool for inspecting a
341 <application>Subversion</application> repository.</para>
342 <indexterm zone="subversion svnlook">
343 <primary sortas="b-svnlook">svnlook</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="svnserve">
349 <term><command>svnserve</command></term>
350 <listitem>
351 <para>is a custom standalone server program, able to run as a
352 daemon process or invoked by SSH.</para>
353 <indexterm zone="subversion svnserve">
354 <primary sortas="b-svnserve">svnserve</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 <varlistentry id="svnversion">
360 <term><command>svnversion</command></term>
361 <listitem>
362 <para>is used to report the version number and state of a
363 working <application>Subversion</application> repository copy.</para>
364 <indexterm zone="subversion svnversion">
365 <primary sortas="b-svnversion">svnversion</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="neon-config">
371 <term><command>neon-config</command></term>
372 <listitem>
373 <para>is a script which provides information about an installed
374 copy of the <application>neon</application> library.</para>
375 <indexterm zone="subversion neon-config">
376 <primary sortas="b-neon-config">neon-config</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="libsvn_star">
382 <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
383 <listitem>
384 <para>are the support libraries used by the
385 <application>Subversion</application> programs.</para>
386 <indexterm zone="subversion libsvn_star">
387 <primary sortas="c-libsvn_star">libsvn_*.[so,a]</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="libneon">
393 <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
394 <listitem>
395 <para>is used as a high-level interface to common
396 HTTP and WebDAV methods.</para>
397 <indexterm zone="subversion libneon">
398 <primary sortas="c-libneon">libneon.[so,a]</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="mod_authz_svn">
404 <term><filename class='libraryfile'>mod_authz_svn.so</filename></term>
405 <listitem>
406 <para>is a plug-in module for the <application>Apache</application>
407 HTTP server, used to authenticate users to a
408 <application>Subversion</application> repository over the Internet or an
409 intranet.</para>
410 <indexterm zone="subversion mod_authz_svn">
411 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="mod_dav_svn">
417 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
418 <listitem>
419 <para>is a plug-in module for the <application>Apache</application>
420 HTTP server, used to make a
421 <application>Subversion</application> repository available to others over the
422 Internet or an intranet.</para>
423 <indexterm zone="subversion mod_dav_svn">
424 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 </variablelist>
430
431 </sect2>
432
433</sect1>
Note: See TracBrowser for help on using the repository browser.