source: basicnet/netprogs/subversion.xml@ e5243605

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

Minor fixes to Popt and Subversion instructions

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

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