source: basicnet/netprogs/subversion.xml@ 9084c2eb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9084c2eb was 25475f5, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Typo fix. Basicnet.

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

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