source: basicnet/netprogs/subversion.xml@ e2b0dfc0

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 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 e2b0dfc0 was 3f87e4a, checked in by Randy McMurchy <randy@…>, 19 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
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>
[3f87e4a]90 <para role="required"><xref linkend="libxml2"/> (only if using the bundled
91 version of <application>neon</application>)</para>
[8d0d2eb]92
[11a05ad]93 <bridgehead renderas="sect4">Optional</bridgehead>
[3f87e4a]94 <para role="optional"><xref linkend="python"/> (required to run the test
95 suite),
96 <!-- <xref linkend="db"/>, -->
[5d5ced00]97 <xref linkend="apache"/>,
98 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
[3f87e4a]99
[794936b]100 <xref linkend="jdk"/> (to build the <application>Java</application>
[5d5ced00]101 bindings),
[3f87e4a]102
[707406b]103 <ulink url="http://www.junit.org/">JUnit</ulink> (required for running the
[794936b]104 <application>Java</application> bindings test suite and requires
[5d5ced00]105 <xref linkend="unzip"/>),
[3f87e4a]106
[5d5ced00]107 <ulink url="http://www.inet.no/dante/">Dante</ulink> (alternate
[3f87e4a]108 <application>Java</application> compiler), and
109
[11a05ad]110 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
[5d5ced00]111 Jikes</ulink> (another alternate
[3f87e4a]112 <application>Java</application> compiler)</para>
113 <!-- inetd or <xref linkend="xinetd"/> (server only) -->
[8d0d2eb]114
[5d5ced00]115 <bridgehead renderas="sect4">Optional for the Bundled Version of
[e3353b3]116 <application>Neon</application></bridgehead>
[4dbbf634]117 <para role="optional"><xref linkend="pkgconfig"/>,
[5d5ced00]118 <xref linkend="openssl"/>,
[11a05ad]119 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
[8d0d2eb]120
[5d5ced00]121 <bridgehead renderas="sect4">Optional for the Bundled Version of
[9a1ce8b7]122 <application>Apache Portable Runtime</application></bridgehead>
123 <para role="optional"><xref linkend="expat"/> and
[11a05ad]124 <xref linkend="gdbm"/></para>
[8d0d2eb]125
[5d5ced00]126 <bridgehead renderas="sect4">Optional to Build the
[e3353b3]127 <application>SWIG</application> Bindings</bridgehead>
[4dbbf634]128 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
[3f87e4a]129 <xref linkend="python"/>, and
[707406b]130 <xref linkend="ruby"/> (<application>Ruby</application> bindings require
131 <application>Swig-1.3.24</application>)</para>
[8d0d2eb]132
[3f87e4a]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-->
[794936b]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
[11a05ad]141 </sect2>
[8d0d2eb]142
[11a05ad]143 <sect2 role="installation">
144 <title>Installation of Subversion</title>
145
[5d5ced00]146 <para>Install <application>Subversion</application> by running the following
[11a05ad]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
[8d0d2eb]154 the <option>--with-apr=/usr</option> and <option>--with-apr-util=/usr</option>
[5d5ced00]155 switches to the <command>configure</command> script. Otherwise,
156 <application>Subversion</application> will overwrite APR and APR-utils
[11a05ad]157 from the <application>Apache</application> installation with its own
[8d0d2eb]158 files. You may also need to pass <option>--with-apxs=/usr/sbin/apxs</option>
[5d5ced00]159 as <command>apxs</command> might not be in an unprivileged user's
[11a05ad]160 <envar>PATH</envar> and won't be properly discovered.</para>
161 </note>
[8d0d2eb]162
[5d5ced00]163 <para>If you passed the <option>--enable-javahl</option> parameter to
164 <command>configure</command> and wish to build the
[794936b]165 <application>Java</application> <application>Subversion</application>
[11a05ad]166 bindings, issue the following command:</para>
167
168<screen><userinput>make javahl</userinput></screen>
169
[794936b]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
[5d5ced00]173 <command>configure</command> and wish to build the
174 <application>SWIG</application> <application>Perl</application> and
[8d0d2eb]175 <application>Python</application> <application>Subversion</application>
[11a05ad]176 bindings, issue the following commands:</para>
177
178<screen><userinput>make swig-pl &amp;&amp;
179make swig-py</userinput></screen>
[794936b]180 -->
[8d0d2eb]181
[707406b]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>
[cb91861]190 build, issue: <command>make check</command>. This will take quite a long
191 time.</para>
[707406b]192
[794936b]193 <!-- Revising the command to exclude the Perl bindings check
[707406b]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>
[794936b]197 -->
198
199 <para>To test the results of the <application>Java</application> bindings
200 build, issue <command>make check-javahl</command>.</para>
[8d0d2eb]201
[11a05ad]202 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
203
204<screen role='root'><userinput>make install &amp;&amp;
[b8e2fb7]205install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &amp;&amp;
[707406b]206cp -v -R doc/* /usr/share/doc/subversion-&subversion-version; &amp;&amp;
[cb91861]207rm -v /usr/share/doc/subversion-&subversion-version;/{Makefile,doxygen.conf}</userinput></screen>
[a91dd56]208
[794936b]209 <para>If you built the <application>Java</application>
[5d5ced00]210 <application>Subversion</application> bindings, issue the following command
[794936b]211 as the <systemitem class="username">root</systemitem> user to install
212 them:</para>
[4d6e546]213
[11a05ad]214<screen role='root'><userinput>make install-javahl</userinput></screen>
[4d6e546]215
[794936b]216 <!-- Commenting out Perl and Python bindings install
[8d0d2eb]217 <para>If you built the <application>SWIG</application>
218 <application>Perl</application> and <application>Python</application>
[5d5ced00]219 <application>Subversion</application> bindings, issue the following commands
[cb91861]220 as the <systemitem class="username">root</systemitem> user to install
221 them:</para>
[4d6e546]222
[11a05ad]223<screen role='root'><userinput>make install-swig-pl &amp;&amp;
[4d6e546]224make install-swig-py &amp;&amp;
225echo /usr/lib/svn-python \
[11a05ad]226 &gt; /usr/lib/python2.4/site-packages/subversion.pth</userinput></screen>
[794936b]227 -->
[8d0d2eb]228
[11a05ad]229 </sect2>
[8d0d2eb]230
[11a05ad]231 <sect2 role="commands">
232 <title>Command Explanations</title>
[8d0d2eb]233
[5d5ced00]234 <para><option>--with-ssl</option>: This switch enables
235 <application>OpenSSL</application> support in
[794936b]236 <application>neon</application> (only required if you use the bundled
237 version of <application>neon</application>).</para>
[8d0d2eb]238
[11a05ad]239 </sect2>
[8d0d2eb]240
[11a05ad]241 <sect2 role="configuration">
242 <title>Configuring Subversion</title>
243
244 <sect3 id="subversion-config">
245 <title>Config Files</title>
[8d0d2eb]246
[5d5ced00]247 <para><filename>~/.subversion/config</filename> and
[11a05ad]248 <filename>/etc/subversion/config</filename></para>
[8d0d2eb]249
[11a05ad]250 <indexterm zone="subversion subversion-config">
251 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
252 </indexterm>
[8d0d2eb]253
[11a05ad]254 <indexterm zone="subversion subversion-config">
255 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
256 </indexterm>
[8d0d2eb]257
[11a05ad]258 </sect3>
[8d0d2eb]259
[11a05ad]260 <sect3>
261 <title>Configuration Information</title>
[8d0d2eb]262
[5d5ced00]263 <para><filename>/etc/subversion/config</filename> is the
[11a05ad]264 <application>Subversion</application> system-wide configuration file.
[5d5ced00]265 This file is used to specify defaults for different
[11a05ad]266 <command>svn</command> commands.</para>
[8d0d2eb]267
[5d5ced00]268 <para><filename>~/.subversion/config</filename> is the user's personal
269 configuration file. It is used to override the system-wide defaults
[11a05ad]270 set in <filename>/etc/subversion/config</filename>.</para>
[8d0d2eb]271
[11a05ad]272 </sect3>
[8d0d2eb]273
[11a05ad]274 </sect2>
[8d0d2eb]275
[11a05ad]276 <sect2 role="content">
277 <title>Contents</title>
[8d0d2eb]278
[11a05ad]279 <segmentedlist>
280 <segtitle>Installed Programs</segtitle>
281 <segtitle>Installed Libraries</segtitle>
282 <segtitle>Installed Directories</segtitle>
[8d0d2eb]283
[11a05ad]284 <seglistitem>
[5d5ced00]285 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
[11a05ad]286 optionally, neon-config</seg>
[5d5ced00]287 <seg>libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so,
[8d0d2eb]288 and mod_authz_svn.so <application>Apache HTTP</application>
[11a05ad]289 DSO modules</seg>
[5d5ced00]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
[11a05ad]295 /usr/share/doc/subversion-&subversion-version;</seg>
296 </seglistitem>
297 </segmentedlist>
[8d0d2eb]298
[11a05ad]299 <variablelist>
300 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
301 <?dbfo list-presentation="list"?>
302 <?dbhtml list-presentation="table"?>
[8d0d2eb]303
[11a05ad]304 <varlistentry id="svn">
305 <term><command>svn</command></term>
306 <listitem>
[5d5ced00]307 <para>is a command-line client program used to access
[11a05ad]308 <application>Subversion</application> repositories.</para>
309 <indexterm zone="subversion svn">
310 <primary sortas="b-svn">svn</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
[8d0d2eb]314
[11a05ad]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>
[8d0d2eb]325
[11a05ad]326 <varlistentry id="svndumpfilter">
327 <term><command>svndumpfilter</command></term>
328 <listitem>
[8d0d2eb]329 <para>is a program for filtering <application>Subversion</application>
[11a05ad]330 repository dumpfile format streams.</para>
331 <indexterm zone="subversion svndumpfilter">
332 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
[8d0d2eb]336
[11a05ad]337 <varlistentry id="svnlook">
338 <term><command>svnlook</command></term>
339 <listitem>
[5d5ced00]340 <para>is a tool for inspecting a
[11a05ad]341 <application>Subversion</application> repository.</para>
342 <indexterm zone="subversion svnlook">
343 <primary sortas="b-svnlook">svnlook</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
[8d0d2eb]347
[11a05ad]348 <varlistentry id="svnserve">
349 <term><command>svnserve</command></term>
350 <listitem>
[5d5ced00]351 <para>is a custom standalone server program, able to run as a
[11a05ad]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>
[8d0d2eb]358
[11a05ad]359 <varlistentry id="svnversion">
360 <term><command>svnversion</command></term>
361 <listitem>
[5d5ced00]362 <para>is used to report the version number and state of a
[11a05ad]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>
[8d0d2eb]369
[11a05ad]370 <varlistentry id="neon-config">
371 <term><command>neon-config</command></term>
372 <listitem>
[5d5ced00]373 <para>is a script which provides information about an installed
[11a05ad]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>
[8d0d2eb]380
[11a05ad]381 <varlistentry id="libsvn_star">
382 <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
383 <listitem>
[5d5ced00]384 <para>are the support libraries used by the
[11a05ad]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>
[8d0d2eb]391
[11a05ad]392 <varlistentry id="libneon">
393 <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
394 <listitem>
[5d5ced00]395 <para>is used as a high-level interface to common
[11a05ad]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>
[8d0d2eb]402
[11a05ad]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>
[5d5ced00]407 HTTP server, used to authenticate users to a
408 <application>Subversion</application> repository over the Internet or an
[11a05ad]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>
[8d0d2eb]415
[11a05ad]416 <varlistentry id="mod_dav_svn">
417 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
418 <listitem>
[8d0d2eb]419 <para>is a plug-in module for the <application>Apache</application>
[5d5ced00]420 HTTP server, used to make a
421 <application>Subversion</application> repository available to others over the
[11a05ad]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>
[8d0d2eb]428
[11a05ad]429 </variablelist>
430
431 </sect2>
[a91dd56]432
433</sect1>
Note: See TracBrowser for help on using the repository browser.