source: basicnet/netprogs/subversion.xml@ 9a1ce8b7

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 9a1ce8b7 was 9a1ce8b7, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Moved an attribute to their proper location.

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

  • Property mode set to 100644
File size: 15.9 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 <keywordset>
23 <keyword role="package">subversion-&subversion-version;.tar</keyword>
24 <keyword role="ftptdir">subversion</keyword>
25 </keywordset>
26 </sect1info>
27
28 <title>Subversion-&subversion-version;</title>
29
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
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
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>
46
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>
65 <para>Estimated build time: &subversion-time;</para>
66 </listitem>
67 </itemizedlist>
68
69 <!--
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>
79 -->
80
81 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
82
83 <bridgehead renderas="sect4">Required</bridgehead>
84 <para role="required"><xref linkend="libxml2"/> (only if using the bundled version of
85 <application>neon</application>)</para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional"><xref linkend="python"/> (required to run the test suite),
89 <xref linkend="db"/>,
90 <xref linkend="apache"/>,
91 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
92 <xref linkend="jdk"/> (to build the <application>JAVA</application>
93 bindings),
94 <ulink url="http://www.junit.org/">JUnit</ulink> (required for running the
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),
99 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
100 Jikes</ulink> (another alternate
101 <application>JAVA</application> compiler) and
102 inetd or <xref linkend="xinetd"/> (server only)</para>
103
104 <bridgehead renderas="sect4">Optional for the Bundled Version of
105 <application>Neon</application></bridgehead>
106 <para role="optional"><xref linkend="pkgconfig"/>,
107 <xref linkend="openssl"/>,
108 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
109
110 <bridgehead renderas="sect4">Optional for the Bundled Version of
111 <application>Apache Portable Runtime</application></bridgehead>
112 <para role="optional"><xref linkend="expat"/> and
113 <xref linkend="gdbm"/></para>
114
115 <bridgehead renderas="sect4">Optional to Build the
116 <application>SWIG</application> Bindings</bridgehead>
117 <para role="optional"><ulink url="http://www.swig.org">SWIG</ulink>,
118 <xref linkend="python"/> and
119 <xref linkend="ruby"/> (<application>Ruby</application> bindings require
120 <application>Swig-1.3.24</application>)</para>
121
122 </sect2>
123
124 <sect2 role="installation">
125 <title>Installation of Subversion</title>
126
127 <para>Install <application>Subversion</application> by running the following
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
135 the <option>--with-apr=/usr</option> and <option>--with-apr-util=/usr</option>
136 switches to the <command>configure</command> script. Otherwise,
137 <application>Subversion</application> will overwrite APR and APR-utils
138 from the <application>Apache</application> installation with its own
139 files. You may also need to pass <option>--with-apxs=/usr/sbin/apxs</option>
140 as <command>apxs</command> might not be in an unprivileged user's
141 <envar>PATH</envar> and won't be properly discovered.</para>
142 </note>
143
144 <para>If you passed the <option>--enable-javahl</option> parameter to
145 <command>configure</command> and wish to build the
146 <application>JAVA</application> <application>Subversion</application>
147 bindings, issue the following command:</para>
148
149<screen><userinput>make javahl</userinput></screen>
150
151 <para>If you passed the <option>--with-swig</option> parameter to
152 <command>configure</command> and wish to build the
153 <application>SWIG</application> <application>Perl</application> and
154 <application>Python</application> <application>Subversion</application>
155 bindings, issue the following commands:</para>
156
157<screen><userinput>make swig-pl &amp;&amp;
158make swig-py</userinput></screen>
159
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>
168 build, issue: <command>make check</command>. This will take quite a long
169 time.</para>
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>
174
175 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
176
177<screen role='root'><userinput>make install &amp;&amp;
178install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &amp;&amp;
179cp -v -R doc/* /usr/share/doc/subversion-&subversion-version; &amp;&amp;
180rm -v /usr/share/doc/subversion-&subversion-version;/{Makefile,doxygen.conf}</userinput></screen>
181
182 <para>If you built the <application>JAVA</application>
183 <application>Subversion</application> bindings, issue the following command
184 as the <systemitem class="username">root</systemitem> user to install them:</para>
185
186<screen role='root'><userinput>make install-javahl</userinput></screen>
187
188 <para>If you built the <application>SWIG</application>
189 <application>Perl</application> and <application>Python</application>
190 <application>Subversion</application> bindings, issue the following commands
191 as the <systemitem class="username">root</systemitem> user to install
192 them:</para>
193
194<screen role='root'><userinput>make install-swig-pl &amp;&amp;
195make install-swig-py &amp;&amp;
196echo /usr/lib/svn-python \
197 &gt; /usr/lib/python2.4/site-packages/subversion.pth</userinput></screen>
198
199 </sect2>
200
201 <sect2 role="commands">
202 <title>Command Explanations</title>
203
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
207 of <application>neon</application>).</para>
208
209 </sect2>
210
211 <sect2 role="configuration">
212 <title>Configuring Subversion</title>
213
214 <sect3 id="subversion-config">
215 <title>Config Files</title>
216
217 <para><filename>~/.subversion/config</filename> and
218 <filename>/etc/subversion/config</filename></para>
219
220 <indexterm zone="subversion subversion-config">
221 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
222 </indexterm>
223
224 <indexterm zone="subversion subversion-config">
225 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
226 </indexterm>
227
228 </sect3>
229
230 <sect3>
231 <title>Configuration Information</title>
232
233 <para><filename>/etc/subversion/config</filename> is the
234 <application>Subversion</application> system-wide configuration file.
235 This file is used to specify defaults for different
236 <command>svn</command> commands.</para>
237
238 <para><filename>~/.subversion/config</filename> is the user's personal
239 configuration file. It is used to override the system-wide defaults
240 set in <filename>/etc/subversion/config</filename>.</para>
241
242 </sect3>
243
244 </sect2>
245
246 <sect2 role="content">
247 <title>Contents</title>
248
249 <segmentedlist>
250 <segtitle>Installed Programs</segtitle>
251 <segtitle>Installed Libraries</segtitle>
252 <segtitle>Installed Directories</segtitle>
253
254 <seglistitem>
255 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
256 optionally, neon-config</seg>
257 <seg>libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so,
258 and mod_authz_svn.so <application>Apache HTTP</application>
259 DSO modules</seg>
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
265 /usr/share/doc/subversion-&subversion-version;</seg>
266 </seglistitem>
267 </segmentedlist>
268
269 <variablelist>
270 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
271 <?dbfo list-presentation="list"?>
272 <?dbhtml list-presentation="table"?>
273
274 <varlistentry id="svn">
275 <term><command>svn</command></term>
276 <listitem>
277 <para>is a command-line client program used to access
278 <application>Subversion</application> repositories.</para>
279 <indexterm zone="subversion svn">
280 <primary sortas="b-svn">svn</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
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>
295
296 <varlistentry id="svndumpfilter">
297 <term><command>svndumpfilter</command></term>
298 <listitem>
299 <para>is a program for filtering <application>Subversion</application>
300 repository dumpfile format streams.</para>
301 <indexterm zone="subversion svndumpfilter">
302 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="svnlook">
308 <term><command>svnlook</command></term>
309 <listitem>
310 <para>is a tool for inspecting a
311 <application>Subversion</application> repository.</para>
312 <indexterm zone="subversion svnlook">
313 <primary sortas="b-svnlook">svnlook</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="svnserve">
319 <term><command>svnserve</command></term>
320 <listitem>
321 <para>is a custom standalone server program, able to run as a
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>
328
329 <varlistentry id="svnversion">
330 <term><command>svnversion</command></term>
331 <listitem>
332 <para>is used to report the version number and state of a
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>
339
340 <varlistentry id="neon-config">
341 <term><command>neon-config</command></term>
342 <listitem>
343 <para>is a script which provides information about an installed
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>
350
351 <varlistentry id="libsvn_star">
352 <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
353 <listitem>
354 <para>are the support libraries used by the
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>
361
362 <varlistentry id="libneon">
363 <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
364 <listitem>
365 <para>is used as a high-level interface to common
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>
372
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>
377 HTTP server, used to authenticate users to a
378 <application>Subversion</application> repository over the Internet or an
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>
385
386 <varlistentry id="mod_dav_svn">
387 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
388 <listitem>
389 <para>is a plug-in module for the <application>Apache</application>
390 HTTP server, used to make a
391 <application>Subversion</application> repository available to others over the
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>
398
399 </variablelist>
400
401 </sect2>
402
403</sect1>
Note: See TracBrowser for help on using the repository browser.