[a91dd56] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/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 " ">
|
---|
[b8e2fb7] | 9 | <!ENTITY subversion-md5sum "a09c2b2fa1a09566c024547954a48478">
|
---|
| 10 | <!ENTITY subversion-size "6.7 MB">
|
---|
| 11 | <!ENTITY subversion-buildsize "663 MB">
|
---|
| 12 | <!ENTITY subversion-time "1.44 SBU (additional 7.51 SBU to run test suite)">
|
---|
| 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>
|
---|
| 58 | <para><xref linkend="libxml2"/></para>
|
---|
| 59 | </sect4>
|
---|
| 60 |
|
---|
| 61 | <sect4><title>Optional</title>
|
---|
| 62 | <para><xref linkend="expat"/>,
|
---|
| 63 | <xref linkend="pkgconfig"/>,
|
---|
| 64 | <xref linkend="db"/>,
|
---|
[6ff0105] | 65 | <xref linkend="gdbm"/>,
|
---|
[775c349a] | 66 | <xref linkend="python"/>,
|
---|
[01d5424] | 67 | <xref linkend="apache"/>,
|
---|
| 68 | <xref linkend="j2sdk"/>,
|
---|
[cef3a2f] | 69 | <xref linkend="openssl"/>,
|
---|
[01d5424] | 70 | <xref linkend="openssh"/>,
|
---|
| 71 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 72 | <ulink url="http://www.swig.org">SWIG</ulink>,
|
---|
[b8e2fb7] | 73 | <ulink url="http://www.webdav.org/neon/">neon-&svn-neon-version;</ulink>,
|
---|
| 74 | <ulink url="http://www.junit.org/">JUnit</ulink> (requires
|
---|
| 75 | <xref linkend="unzip"/>),
|
---|
| 76 | <ulink url="http://www.inet.no/dante/">Dante</ulink>,
|
---|
| 77 | <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">
|
---|
| 78 | Jikes</ulink> and
|
---|
[01d5424] | 79 | inetd or <xref linkend="xinetd"/> (server only)</para>
|
---|
[6ff0105] | 80 | </sect4>
|
---|
[a91dd56] | 81 | </sect3>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2>
|
---|
| 86 | <title>Installation of <application>Subversion</application></title>
|
---|
| 87 |
|
---|
[01d5424] | 88 | <para>Install <application>Subversion</application> by running the following
|
---|
| 89 | commands:</para>
|
---|
[a91dd56] | 90 |
|
---|
| 91 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[b8e2fb7] | 92 | make</command></userinput></screen>
|
---|
| 93 |
|
---|
| 94 | <para>Now, as the root user:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput role='root'><command>make install &&
|
---|
| 97 | install -v -d -m755 /usr/share/doc/subversion-&subversion-version; &&
|
---|
| 98 | cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</command></userinput></screen>
|
---|
[a91dd56] | 99 |
|
---|
[01d5424] | 100 | <note><para>If you have <application>Apache</application> installed, pass
|
---|
[39cb5c3] | 101 | the <parameter>--with-apr=/usr</parameter> and
|
---|
| 102 | <parameter>--with-apr-util=/usr</parameter> switches to the
|
---|
| 103 | <command>configure</command> script. Otherwise,
|
---|
| 104 | <application>Subversion</application> will overwrite
|
---|
[01d5424] | 105 | <acronym>APR</acronym> and <acronym>APR</acronym>-utils from the
|
---|
[39cb5c3] | 106 | <application>Apache</application> installation with its own
|
---|
| 107 | files.</para></note>
|
---|
| 108 |
|
---|
[a91dd56] | 109 | </sect2>
|
---|
| 110 |
|
---|
[c9be4c7] | 111 | <sect2>
|
---|
| 112 | <title>Command explanations</title>
|
---|
| 113 |
|
---|
[b8e2fb7] | 114 | <para><option>--with-ssl</option>: This switch enables
|
---|
| 115 | <application>Open<acronym>SSL</acronym></application> support in
|
---|
| 116 | <application>neon</application>.</para>
|
---|
[c9be4c7] | 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
[a91dd56] | 120 | <sect2>
|
---|
| 121 | <title>Configuring <application>Subversion</application></title>
|
---|
| 122 |
|
---|
[b8e2fb7] | 123 | <sect3 id="subversion-config"><title>Config files</title>
|
---|
[01d5424] | 124 | <para><filename>~/.subversion/config</filename> and
|
---|
| 125 | <filename>/etc/subversion/config</filename></para>
|
---|
[b8e2fb7] | 126 | <indexterm zone="subversion subversion-config">
|
---|
| 127 | <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | <indexterm zone="subversion subversion-config">
|
---|
| 130 | <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
|
---|
| 131 | </indexterm>
|
---|
[a91dd56] | 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | <sect3><title>Configuration Information</title>
|
---|
| 135 |
|
---|
[d807b5e] | 136 | <para><filename>/etc/subversion/config</filename> is the
|
---|
[a91dd56] | 137 | <application>Subversion</application> system-wide configuration file.
|
---|
| 138 | This file is used to specify defaults for different
|
---|
| 139 | <command>svn</command> commands.</para>
|
---|
| 140 |
|
---|
| 141 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
[01d5424] | 142 | configuration file. It is used to override the system-wide defaults
|
---|
[a91dd56] | 143 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
| 144 | </sect3>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2>
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
[b8e2fb7] | 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
| 155 | <seglistitem>
|
---|
| 156 | <seg>svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion and
|
---|
| 157 | optionally, neon-config</seg>
|
---|
| 158 | <seg>libsvn_*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so
|
---|
| 159 | and mod_authz_svn.so <application>Apache
|
---|
| 160 | <acronym>HTTP</acronym></application> <acronym>DSO</acronym> modules</seg>
|
---|
| 161 | <seg>/etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1,
|
---|
| 162 | /usr/share/doc/neon-&svn-neon-version; (optional) and
|
---|
| 163 | /usr/share/doc/subversion-&subversion-version;</seg>
|
---|
| 164 | </seglistitem>
|
---|
| 165 | </segmentedlist>
|
---|
| 166 |
|
---|
| 167 | <variablelist>
|
---|
| 168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 169 | <?dbfo list-presentation="list"?>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="svn">
|
---|
| 172 | <term><command>svn</command></term>
|
---|
| 173 | <listitem><para>is a command-line client program used to access
|
---|
| 174 | <application>Subversion</application> repositories.</para>
|
---|
| 175 | <indexterm zone="subversion svn">
|
---|
| 176 | <primary sortas="b-svn">svn</primary></indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="svnadmin">
|
---|
| 181 | <term><command>svnadmin</command></term>
|
---|
| 182 | <listitem><para>is a tool for creating, tweaking or repairing a
|
---|
| 183 | <application>Subversion</application> repository.</para>
|
---|
| 184 | <indexterm zone="subversion svnadmin">
|
---|
| 185 | <primary sortas="b-svnadmin">svnadmin</primary></indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="svndumpfilter">
|
---|
| 190 | <term><command>svndumpfilter</command></term>
|
---|
| 191 | <listitem><para>is a program for filtering
|
---|
| 192 | <application>Subversion</application> repository dumpfile format
|
---|
| 193 | streams.</para>
|
---|
| 194 | <indexterm zone="subversion svndumpfilter">
|
---|
| 195 | <primary sortas="b-svndumpfilter">svndumpfilter</primary></indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="svnlook">
|
---|
| 200 | <term><command>svnlook</command></term>
|
---|
| 201 | <listitem><para>is a tool for inspecting a
|
---|
| 202 | <application>Subversion</application> repository.</para>
|
---|
| 203 | <indexterm zone="subversion svnlook">
|
---|
| 204 | <primary sortas="b-svnlook">svnlook</primary></indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="svnserve">
|
---|
| 209 | <term><command>svnserve</command></term>
|
---|
| 210 | <listitem><para>is a custom standalone server program, able to run as a
|
---|
| 211 | daemon process or invoked by <acronym>SSH</acronym>.</para>
|
---|
| 212 | <indexterm zone="subversion svnserve">
|
---|
| 213 | <primary sortas="b-svnserve">svnserve</primary></indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="svnversion">
|
---|
| 218 | <term><command>svnversion</command></term>
|
---|
| 219 | <listitem><para>is used to report the version number and state of a
|
---|
| 220 | working <application>Subversion</application> repository copy.</para>
|
---|
| 221 | <indexterm zone="subversion svnversion">
|
---|
| 222 | <primary sortas="b-svnversion">svnversion</primary></indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="neon-config">
|
---|
| 227 | <term><command>neon-config</command></term>
|
---|
| 228 | <listitem><para>is a script which provides information about an installed
|
---|
| 229 | copy of the <application>neon</application> library.</para>
|
---|
| 230 | <indexterm zone="subversion neon-config">
|
---|
| 231 | <primary sortas="b-neon-config">neon-config</primary></indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="libsvn_star">
|
---|
| 236 | <term><filename class='libraryfile'>libsvn_*.[so,a]</filename></term>
|
---|
| 237 | <listitem><para>are the support libraries used by the
|
---|
| 238 | <application>Subversion</application> programs.</para>
|
---|
| 239 | <indexterm zone="subversion libsvn_star">
|
---|
| 240 | <primary sortas="c-libsvn_star">libsvn_*.[so,a]</primary></indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="libneon">
|
---|
| 245 | <term><filename class='libraryfile'>libneon.[so,a]</filename></term>
|
---|
| 246 | <listitem><para>is used as a high-level interface to common
|
---|
| 247 | <acronym>HTTP</acronym> and Web<acronym>DAV</acronym> methods.</para>
|
---|
| 248 | <indexterm zone="subversion libneon">
|
---|
| 249 | <primary sortas="c-libneon">libneon.[so,a]</primary></indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
| 253 | <varlistentry id="mod_authz_svn">
|
---|
| 254 | <term><filename class='libraryfile'>mod_authz_svn.so</filename></term>
|
---|
| 255 | <listitem><para>is a plug-in module for the <application>Apache</application>
|
---|
| 256 | <acronym>HTTP</acronym> server, used to authenticate users to a
|
---|
| 257 | <application>Subversion</application> repository over the Internet or an
|
---|
| 258 | intranet.</para>
|
---|
| 259 | <indexterm zone="subversion mod_authz_svn">
|
---|
| 260 | <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary></indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="mod_dav_svn">
|
---|
| 265 | <term><filename class='libraryfile'>mod_dav_svn.so</filename></term>
|
---|
| 266 | <listitem><para>is a plug-in module for the <application>Apache</application>
|
---|
| 267 | <acronym>HTTP</acronym> server, used to make a
|
---|
| 268 | <application>Subversion</application> repository available to others over the
|
---|
| 269 | Internet or an intranet.</para>
|
---|
| 270 | <indexterm zone="subversion mod_dav_svn">
|
---|
| 271 | <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary></indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 | </variablelist>
|
---|
[a91dd56] | 275 |
|
---|
| 276 | </sect2>
|
---|
| 277 |
|
---|
| 278 | </sect1>
|
---|