[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
|
---|
| 30 | that is designed to be a compelling replacement for
|
---|
| 31 | <application><acronym>CVS</acronym></application> in the open source
|
---|
| 32 | community. It extends and enhances
|
---|
| 33 | <application><acronym>CVS</acronym></application>' feature set, while
|
---|
| 34 | maintaining a similar interface for those already familiar
|
---|
| 35 | with <application><acronym>CVS</acronym></application>. These instructions
|
---|
| 36 | install the client and server software used to manipulate a
|
---|
| 37 | <application>Subversion</application> repository. Creation of a repository is
|
---|
| 38 | covered 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>,
|
---|
[5f0bab7] | 67 | <xref linkend="jdk"/> (to build the <application>JAVA</application>
|
---|
[4d6e546] | 68 | bindings),
|
---|
| 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] | 75 | Jikes</ulink> (another alternate
|
---|
| 76 | <application>JAVA</application> compiler) and
|
---|
[01d5424] | 77 | inetd 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>
|
---|
| 94 | bindings</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
|
---|
| 106 | commands:</para>
|
---|
[a91dd56] | 107 |
|
---|
| 108 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[b8e2fb7] | 109 | make</command></userinput></screen>
|
---|
| 110 |
|
---|
[1992902] | 111 | <note><para>If you have <application>Apache</application> installed, pass
|
---|
| 112 | the <option>--with-apr=/usr</option> and <option>--with-apr-util=/usr</option>
|
---|
| 113 | switches to the <command>configure</command> script. Otherwise,
|
---|
| 114 | <application>Subversion</application> will overwrite
|
---|
| 115 | <acronym>APR</acronym> and <acronym>APR</acronym>-utils from the
|
---|
| 116 | <application>Apache</application> installation with its own
|
---|
| 117 | files. You may also need to pass <option>--with-apxs=/usr/sbin/apxs</option>
|
---|
| 118 | as <command>apxs</command> might not be in an unprivileged user's
|
---|
| 119 | <envar>PATH</envar> and won't be properly discovered.</para></note>
|
---|
| 120 |
|
---|
[4d6e546] | 121 | <para>If you passed the <option>--enable-javahl</option> parameter to
|
---|
| 122 | <command>configure</command> and wish to build the
|
---|
| 123 | <application>JAVA</application> <application>Subversion</application>
|
---|
| 124 | bindings, issue the following command:</para>
|
---|
| 125 |
|
---|
| 126 | <screen><userinput><command>make javahl</command></userinput></screen>
|
---|
| 127 |
|
---|
| 128 | <para>If you passed the <option>--with-swig</option> and
|
---|
| 129 | <option>--enable-swig-bindings</option> parameters to
|
---|
| 130 | <command>configure</command> and wish to build the
|
---|
| 131 | <application>SWIG</application> <application>Perl</application> and
|
---|
| 132 | <application>Python</application> <application>Subversion</application>
|
---|
| 133 | bindings, issue the following commands:</para>
|
---|
| 134 |
|
---|
| 135 | <screen><userinput><command>make swig-pl &&
|
---|
| 136 | make swig-py</command></userinput></screen>
|
---|
| 137 |
|
---|
[1992902] | 138 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 139 |
|
---|
[b8e2fb7] | 140 | <para>Now, as the root user:</para>
|
---|
| 141 |
|
---|
| 142 | <screen><userinput role='root'><command>make install &&
|
---|
| 143 | install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &&
|
---|
| 144 | cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</command></userinput></screen>
|
---|
[a91dd56] | 145 |
|
---|
[4d6e546] | 146 | <para>If you built the <application>JAVA</application>
|
---|
| 147 | <application>Subversion</application> bindings, issue the following command
|
---|
| 148 | as the root user to install them:</para>
|
---|
| 149 |
|
---|
| 150 | <screen><userinput role='root'><command>make install-javahl</command></userinput></screen>
|
---|
| 151 |
|
---|
| 152 | <para>If you built the <application>SWIG</application>
|
---|
| 153 | <application>Perl</application> and <application>Python</application>
|
---|
| 154 | <application>Subversion</application> bindings, issue the following commands
|
---|
| 155 | as the root user to install them:</para>
|
---|
| 156 |
|
---|
| 157 | <screen><userinput role='root'><command>make install-swig-pl &&
|
---|
| 158 | make install-swig-py &&
|
---|
| 159 | echo /usr/lib/svn-python \
|
---|
| 160 | > /usr/lib/python2.4/site-packages/subversion.pth</command></userinput></screen>
|
---|
[39cb5c3] | 161 |
|
---|
[a91dd56] | 162 | </sect2>
|
---|
| 163 |
|
---|
[c9be4c7] | 164 | <sect2>
|
---|
| 165 | <title>Command explanations</title>
|
---|
| 166 |
|
---|
[b8e2fb7] | 167 | <para><option>--with-ssl</option>: This switch enables
|
---|
| 168 | <application>Open<acronym>SSL</acronym></application> support in
|
---|
[4d6e546] | 169 | <application>neon</application> (only required if you use the bundled version
|
---|
| 170 | of <application>neon</application>).</para>
|
---|
[c9be4c7] | 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
[a91dd56] | 174 | <sect2>
|
---|
| 175 | <title>Configuring <application>Subversion</application></title>
|
---|
| 176 |
|
---|
[b8e2fb7] | 177 | <sect3 id="subversion-config"><title>Config files</title>
|
---|
[01d5424] | 178 | <para><filename>~/.subversion/config</filename> and
|
---|
| 179 | <filename>/etc/subversion/config</filename></para>
|
---|
[b8e2fb7] | 180 | <indexterm zone="subversion subversion-config">
|
---|
| 181 | <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | <indexterm zone="subversion subversion-config">
|
---|
| 184 | <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
|
---|
| 185 | </indexterm>
|
---|
[a91dd56] | 186 | </sect3>
|
---|
| 187 |
|
---|
| 188 | <sect3><title>Configuration Information</title>
|
---|
| 189 |
|
---|
[d807b5e] | 190 | <para><filename>/etc/subversion/config</filename> is the
|
---|
[a91dd56] | 191 | <application>Subversion</application> system-wide configuration file.
|
---|
| 192 | This file is used to specify defaults for different
|
---|
| 193 | <command>svn</command> commands.</para>
|
---|
| 194 |
|
---|
| 195 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
[01d5424] | 196 | configuration file. It is used to override the system-wide defaults
|
---|
[a91dd56] | 197 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
| 198 | </sect3>
|
---|
| 199 |
|
---|
| 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | <sect2>
|
---|
| 203 | <title>Contents</title>
|
---|
| 204 |
|
---|
[b8e2fb7] | 205 | <segmentedlist>
|
---|
| 206 | <segtitle>Installed Programs</segtitle>
|
---|
| 207 | <segtitle>Installed Libraries</segtitle>
|
---|
| 208 | <segtitle>Installed Directories</segtitle>
|
---|
| 209 | <seglistitem>
|
---|
| 210 | <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion and
|
---|
| 211 | optionally, neon-config</seg>
|
---|
[4d6e546] | 212 | <seg>libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so
|
---|
[b8e2fb7] | 213 | and mod_authz_svn.so <application>Apache
|
---|
| 214 | <acronym>HTTP</acronym></application> <acronym>DSO</acronym> modules</seg>
|
---|
| 215 | <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
|
---|
[4d6e546] | 216 | /usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/SVN (optional),
|
---|
| 217 | /usr/lib/perl5/site_perl/5.8.6/i686-linux/SVN (optional),
|
---|
| 218 | /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional),
|
---|
[b8e2fb7] | 219 | /usr/share/doc/neon-&svn-neon-version; (optional) and
|
---|
| 220 | /usr/share/doc/subversion-&subversion-version;</seg>
|
---|
| 221 | </seglistitem>
|
---|
| 222 | </segmentedlist>
|
---|
| 223 |
|
---|
| 224 | <variablelist>
|
---|
| 225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 226 | <?dbfo list-presentation="list"?>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="svn">
|
---|
| 229 | <term><command>svn</command></term>
|
---|
| 230 | <listitem><para>is a command-line client program used to access
|
---|
| 231 | <application>Subversion</application> repositories.</para>
|
---|
| 232 | <indexterm zone="subversion svn">
|
---|
| 233 | <primary sortas="b-svn">svn</primary></indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="svnadmin">
|
---|
| 238 | <term><command>svnadmin</command></term>
|
---|
| 239 | <listitem><para>is a tool for creating, tweaking or repairing a
|
---|
| 240 | <application>Subversion</application> repository.</para>
|
---|
| 241 | <indexterm zone="subversion svnadmin">
|
---|
| 242 | <primary sortas="b-svnadmin">svnadmin</primary></indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
| 246 | <varlistentry id="svndumpfilter">
|
---|
| 247 | <term><command>svndumpfilter</command></term>
|
---|
| 248 | <listitem><para>is a program for filtering
|
---|
| 249 | <application>Subversion</application> repository dumpfile format
|
---|
| 250 | streams.</para>
|
---|
| 251 | <indexterm zone="subversion svndumpfilter">
|
---|
| 252 | <primary sortas="b-svndumpfilter">svndumpfilter</primary></indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="svnlook">
|
---|
| 257 | <term><command>svnlook</command></term>
|
---|
| 258 | <listitem><para>is a tool for inspecting a
|
---|
| 259 | <application>Subversion</application> repository.</para>
|
---|
| 260 | <indexterm zone="subversion svnlook">
|
---|
| 261 | <primary sortas="b-svnlook">svnlook</primary></indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="svnserve">
|
---|
| 266 | <term><command>svnserve</command></term>
|
---|
| 267 | <listitem><para>is a custom standalone server program, able to run as a
|
---|
| 268 | daemon process or invoked by <acronym>SSH</acronym>.</para>
|
---|
| 269 | <indexterm zone="subversion svnserve">
|
---|
| 270 | <primary sortas="b-svnserve">svnserve</primary></indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | <varlistentry id="svnversion">
|
---|
| 275 | <term><command>svnversion</command></term>
|
---|
| 276 | <listitem><para>is used to report the version number and state of a
|
---|
| 277 | working <application>Subversion</application> repository copy.</para>
|
---|
| 278 | <indexterm zone="subversion svnversion">
|
---|
| 279 | <primary sortas="b-svnversion">svnversion</primary></indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
| 283 | <varlistentry id="neon-config">
|
---|
| 284 | <term><command>neon-config</command></term>
|
---|
| 285 | <listitem><para>is a script which provides information about an installed
|
---|
| 286 | copy of the <application>neon</application> library.</para>
|
---|
| 287 | <indexterm zone="subversion neon-config">
|
---|
| 288 | <primary sortas="b-neon-config">neon-config</primary></indexterm>
|
---|
| 289 | </listitem>
|
---|
| 290 | </varlistentry>
|
---|
| 291 |
|
---|
| 292 | <varlistentry id="libsvn_star">
|
---|
| 293 | <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
|
---|
| 294 | <listitem><para>are the support libraries used by the
|
---|
| 295 | <application>Subversion</application> programs.</para>
|
---|
| 296 | <indexterm zone="subversion libsvn_star">
|
---|
| 297 | <primary sortas="c-libsvn_star">libsvn_*.[so,a]</primary></indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
| 301 | <varlistentry id="libneon">
|
---|
| 302 | <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
|
---|
| 303 | <listitem><para>is used as a high-level interface to common
|
---|
| 304 | <acronym>HTTP</acronym> and Web<acronym>DAV</acronym> methods.</para>
|
---|
| 305 | <indexterm zone="subversion libneon">
|
---|
| 306 | <primary sortas="c-libneon">libneon.[so,a]</primary></indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
| 310 | <varlistentry id="mod_authz_svn">
|
---|
| 311 | <term><filename class='libraryfile'>mod_authz_svn.so</filename></term>
|
---|
| 312 | <listitem><para>is a plug-in module for the <application>Apache</application>
|
---|
| 313 | <acronym>HTTP</acronym> server, used to authenticate users to a
|
---|
| 314 | <application>Subversion</application> repository over the Internet or an
|
---|
| 315 | intranet.</para>
|
---|
| 316 | <indexterm zone="subversion mod_authz_svn">
|
---|
| 317 | <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary></indexterm>
|
---|
| 318 | </listitem>
|
---|
| 319 | </varlistentry>
|
---|
| 320 |
|
---|
| 321 | <varlistentry id="mod_dav_svn">
|
---|
| 322 | <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
|
---|
| 323 | <listitem><para>is a plug-in module for the <application>Apache</application>
|
---|
| 324 | <acronym>HTTP</acronym> server, used to make a
|
---|
| 325 | <application>Subversion</application> repository available to others over the
|
---|
| 326 | Internet or an intranet.</para>
|
---|
| 327 | <indexterm zone="subversion mod_dav_svn">
|
---|
| 328 | <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary></indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 | </variablelist>
|
---|
[a91dd56] | 332 |
|
---|
| 333 | </sect2>
|
---|
| 334 |
|
---|
| 335 | </sect1>
|
---|