source: basicnet/netprogs/subversion.xml@ 794936b

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 794936b was 794936b, checked in by Randy McMurchy <randy@…>, 18 years ago

Commented out the Python and Perl bindings build notes from the Subversion instructions as there is a build failure using current versions of SWIG and (B)LFS packages

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

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