source: basicnet/netprogs/subversion.xml@ 88494257

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 88494257 was cb91861, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to Subversion-1.2.3

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

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