source: basicnet/netprogs/subversion.xml@ 8f11f09

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 8f11f09 was 707406b, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to Subversion-1.2.1

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

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