source: basicnet/netprogs/subversion.xml@ e3353b3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 e3353b3 was e3353b3, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Fixed titles capitalization. Added -v to commands that support it.

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

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