source: basicnet/netprogs/subversion.xml@ 707406b

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 707406b 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
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 "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)">
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 <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
75 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para><xref linkend="libxml2"/> (only if using the bundled version of
79 <application>neon</application>)</para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para><xref linkend="python"/> (required to run the test suite),
83 <xref linkend="db"/>,
84 <xref linkend="apache"/>,
85 <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
86 <xref linkend="jdk"/> (to build the <application>JAVA</application>
87 bindings),
88 <ulink url="http://www.junit.org/">JUnit</ulink> (required for running the
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),
93 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
94 Jikes</ulink> (another alternate
95 <application>JAVA</application> compiler) and
96 inetd or <xref linkend="xinetd"/> (server only)</para>
97
98 <bridgehead renderas="sect4">Optional for the Bundled Version of
99 <application>Neon</application></bridgehead>
100 <para><xref linkend="pkgconfig"/>,
101 <xref linkend="openssl"/>,
102 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
103
104 <bridgehead renderas="sect4">Optional for the Bundled Version of
105 <application>Apache Portable Runtime</application></bridgehead>
106 <para><xref linkend="expat"/> and
107 <xref linkend="gdbm"/></para>
108
109 <bridgehead renderas="sect4">Optional to Build the
110 <application>SWIG</application> Bindings</bridgehead>
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>
115
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of Subversion</title>
120
121 <para>Install <application>Subversion</application> by running the following
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
129 the <option>--with-apr=/usr</option> and <option>--with-apr-util=/usr</option>
130 switches to the <command>configure</command> script. Otherwise,
131 <application>Subversion</application> will overwrite APR and APR-utils
132 from the <application>Apache</application> installation with its own
133 files. You may also need to pass <option>--with-apxs=/usr/sbin/apxs</option>
134 as <command>apxs</command> might not be in an unprivileged user's
135 <envar>PATH</envar> and won't be properly discovered.</para>
136 </note>
137
138 <para>If you passed the <option>--enable-javahl</option> parameter to
139 <command>configure</command> and wish to build the
140 <application>JAVA</application> <application>Subversion</application>
141 bindings, issue the following command:</para>
142
143<screen><userinput>make javahl</userinput></screen>
144
145 <para>If you passed the <option>--with-swig</option> parameter to
146 <command>configure</command> and wish to build the
147 <application>SWIG</application> <application>Perl</application> and
148 <application>Python</application> <application>Subversion</application>
149 bindings, issue the following commands:</para>
150
151<screen><userinput>make swig-pl &amp;&amp;
152make swig-py</userinput></screen>
153
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>
167
168 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
169
170<screen role='root'><userinput>make install &amp;&amp;
171install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &amp;&amp;
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>
175
176 <para>If you built the <application>JAVA</application>
177 <application>Subversion</application> bindings, issue the following command
178 as the <systemitem class="username">root</systemitem> user to install them:</para>
179
180<screen role='root'><userinput>make install-javahl</userinput></screen>
181
182 <para>If you built the <application>SWIG</application>
183 <application>Perl</application> and <application>Python</application>
184 <application>Subversion</application> bindings, issue the following commands
185 as the <systemitem class="username">root</systemitem> user to install them:</para>
186
187<screen role='root'><userinput>make install-swig-pl &amp;&amp;
188make install-swig-py &amp;&amp;
189echo /usr/lib/svn-python \
190 &gt; /usr/lib/python2.4/site-packages/subversion.pth</userinput></screen>
191
192 </sect2>
193
194 <sect2 role="commands">
195 <title>Command Explanations</title>
196
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
200 of <application>neon</application>).</para>
201
202 </sect2>
203
204 <sect2 role="configuration">
205 <title>Configuring Subversion</title>
206
207 <sect3 id="subversion-config">
208 <title>Config Files</title>
209
210 <para><filename>~/.subversion/config</filename> and
211 <filename>/etc/subversion/config</filename></para>
212
213 <indexterm zone="subversion subversion-config">
214 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
215 </indexterm>
216
217 <indexterm zone="subversion subversion-config">
218 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
219 </indexterm>
220
221 </sect3>
222
223 <sect3>
224 <title>Configuration Information</title>
225
226 <para><filename>/etc/subversion/config</filename> is the
227 <application>Subversion</application> system-wide configuration file.
228 This file is used to specify defaults for different
229 <command>svn</command> commands.</para>
230
231 <para><filename>~/.subversion/config</filename> is the user's personal
232 configuration file. It is used to override the system-wide defaults
233 set in <filename>/etc/subversion/config</filename>.</para>
234
235 </sect3>
236
237 </sect2>
238
239 <sect2 role="content">
240 <title>Contents</title>
241
242 <segmentedlist>
243 <segtitle>Installed Programs</segtitle>
244 <segtitle>Installed Libraries</segtitle>
245 <segtitle>Installed Directories</segtitle>
246
247 <seglistitem>
248 <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and
249 optionally, neon-config</seg>
250 <seg>libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so,
251 and mod_authz_svn.so <application>Apache HTTP</application>
252 DSO modules</seg>
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
258 /usr/share/doc/subversion-&subversion-version;</seg>
259 </seglistitem>
260 </segmentedlist>
261
262 <variablelist>
263 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
264 <?dbfo list-presentation="list"?>
265 <?dbhtml list-presentation="table"?>
266
267 <varlistentry id="svn">
268 <term><command>svn</command></term>
269 <listitem>
270 <para>is a command-line client program used to access
271 <application>Subversion</application> repositories.</para>
272 <indexterm zone="subversion svn">
273 <primary sortas="b-svn">svn</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
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>
288
289 <varlistentry id="svndumpfilter">
290 <term><command>svndumpfilter</command></term>
291 <listitem>
292 <para>is a program for filtering <application>Subversion</application>
293 repository dumpfile format streams.</para>
294 <indexterm zone="subversion svndumpfilter">
295 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="svnlook">
301 <term><command>svnlook</command></term>
302 <listitem>
303 <para>is a tool for inspecting a
304 <application>Subversion</application> repository.</para>
305 <indexterm zone="subversion svnlook">
306 <primary sortas="b-svnlook">svnlook</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="svnserve">
312 <term><command>svnserve</command></term>
313 <listitem>
314 <para>is a custom standalone server program, able to run as a
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>
321
322 <varlistentry id="svnversion">
323 <term><command>svnversion</command></term>
324 <listitem>
325 <para>is used to report the version number and state of a
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>
332
333 <varlistentry id="neon-config">
334 <term><command>neon-config</command></term>
335 <listitem>
336 <para>is a script which provides information about an installed
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>
343
344 <varlistentry id="libsvn_star">
345 <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
346 <listitem>
347 <para>are the support libraries used by the
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>
354
355 <varlistentry id="libneon">
356 <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
357 <listitem>
358 <para>is used as a high-level interface to common
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>
365
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>
370 HTTP server, used to authenticate users to a
371 <application>Subversion</application> repository over the Internet or an
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>
378
379 <varlistentry id="mod_dav_svn">
380 <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
381 <listitem>
382 <para>is a plug-in module for the <application>Apache</application>
383 HTTP server, used to make a
384 <application>Subversion</application> repository available to others over the
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>
391
392 </variablelist>
393
394 </sect2>
395
396</sect1>
Note: See TracBrowser for help on using the repository browser.