[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 " ">
|
---|
[856ef22] | 9 | <!ENTITY subversion-md5sum "b93a792b6bc610dc6c1c254591979a8c">
|
---|
[c9be4c7] | 10 | <!ENTITY subversion-size "6.5 MB">
|
---|
[01d5424] | 11 | <!ENTITY subversion-buildsize "650 MB">
|
---|
[856ef22] | 12 | <!ENTITY subversion-time "1.54 SBU (additional 7.38 SBU to run tests)">
|
---|
[a91dd56] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[a91dd56] | 20 | <?dbhtml filename="subversion.html"?>
|
---|
| 21 | <title>Subversion-&subversion-version;</title>
|
---|
| 22 |
|
---|
| 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>Subversion</application></title>
|
---|
| 25 |
|
---|
[01d5424] | 26 | <para><application>Subversion</application> is a version control system
|
---|
| 27 | that is designed to be a compelling replacement for
|
---|
| 28 | <application><acronym>CVS</acronym></application> in the open source
|
---|
| 29 | community. It extends and enhances
|
---|
| 30 | <application><acronym>CVS</acronym></application>' feature set, while
|
---|
| 31 | maintaining a similar interface for those already familiar
|
---|
| 32 | with <application><acronym>CVS</acronym></application>. These instructions
|
---|
| 33 | install the client and server software used to manipulate a
|
---|
| 34 | <application>Subversion</application> repository. Creation of a repository is
|
---|
| 35 | covered at <xref linkend="svnserver"/>.</para>
|
---|
[a91dd56] | 36 |
|
---|
| 37 | <sect3><title>Package information</title>
|
---|
| 38 | <itemizedlist spacing='compact'>
|
---|
| 39 | <listitem><para>Download (HTTP): <ulink url="&subversion-download-http;"/></para></listitem>
|
---|
| 40 | <listitem><para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para></listitem>
|
---|
[dc2f5ad] | 41 | <listitem><para>Download MD5 sum: &subversion-md5sum;</para></listitem>
|
---|
[a91dd56] | 42 | <listitem><para>Download size: &subversion-size;</para></listitem>
|
---|
[01d5424] | 43 | <listitem><para>Estimated disk space required: &subversion-buildsize;</para></listitem>
|
---|
[a91dd56] | 44 | <listitem><para>Estimated build time: &subversion-time;</para></listitem></itemizedlist>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | <sect3><title><application>Subversion</application> dependencies</title>
|
---|
[01d5424] | 48 | <sect4><title>Required</title>
|
---|
| 49 | <para><xref linkend="libxml2"/></para>
|
---|
| 50 | </sect4>
|
---|
| 51 |
|
---|
| 52 | <sect4><title>Optional</title>
|
---|
| 53 | <para><xref linkend="expat"/>,
|
---|
| 54 | <xref linkend="pkgconfig"/>,
|
---|
| 55 | <xref linkend="db"/>,
|
---|
[6ff0105] | 56 | <xref linkend="gdbm"/>,
|
---|
[775c349a] | 57 | <xref linkend="python"/>,
|
---|
[01d5424] | 58 | <xref linkend="apache"/>,
|
---|
| 59 | <xref linkend="j2sdk"/>,
|
---|
| 60 | <xref linkend="openssl"/>,
|
---|
| 61 | <xref linkend="openssh"/>,
|
---|
| 62 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 63 | <ulink url="http://www.swig.org">SWIG</ulink>,
|
---|
[c9be4c7] | 64 | <ulink url="http://www.webdav.org/neon/">neon-0.24.7</ulink>,
|
---|
| 65 | <ulink url="http://www.inet.no/dante/">Dante</ulink> and
|
---|
[01d5424] | 66 | inetd or <xref linkend="xinetd"/> (server only)</para>
|
---|
[6ff0105] | 67 | </sect4>
|
---|
[a91dd56] | 68 | </sect3>
|
---|
| 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2>
|
---|
| 73 | <title>Installation of <application>Subversion</application></title>
|
---|
| 74 |
|
---|
[01d5424] | 75 | <para>Install <application>Subversion</application> by running the following
|
---|
| 76 | commands:</para>
|
---|
[a91dd56] | 77 |
|
---|
| 78 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 79 | make &&
|
---|
| 80 | make install</command></userinput></screen>
|
---|
| 81 |
|
---|
[01d5424] | 82 | <note><para>If you have <application>Apache</application> installed, pass
|
---|
[39cb5c3] | 83 | the <parameter>--with-apr=/usr</parameter> and
|
---|
| 84 | <parameter>--with-apr-util=/usr</parameter> switches to the
|
---|
| 85 | <command>configure</command> script. Otherwise,
|
---|
| 86 | <application>Subversion</application> will overwrite
|
---|
[01d5424] | 87 | <acronym>APR</acronym> and <acronym>APR</acronym>-utils from the
|
---|
[39cb5c3] | 88 | <application>Apache</application> installation with its own
|
---|
| 89 | files.</para></note>
|
---|
| 90 |
|
---|
[a91dd56] | 91 | </sect2>
|
---|
| 92 |
|
---|
[c9be4c7] | 93 | <sect2>
|
---|
| 94 | <title>Command explanations</title>
|
---|
| 95 |
|
---|
| 96 | <para><option>--with-ssl</option>: This switch enables OpenSSL support
|
---|
| 97 | in neon.</para>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
[a91dd56] | 101 | <sect2>
|
---|
| 102 | <title>Configuring <application>Subversion</application></title>
|
---|
| 103 |
|
---|
| 104 | <sect3><title>Config files</title>
|
---|
[01d5424] | 105 | <para><filename>~/.subversion/config</filename> and
|
---|
| 106 | <filename>/etc/subversion/config</filename></para>
|
---|
[a91dd56] | 107 | </sect3>
|
---|
| 108 |
|
---|
| 109 | <sect3><title>Configuration Information</title>
|
---|
| 110 |
|
---|
[d807b5e] | 111 | <para><filename>/etc/subversion/config</filename> is the
|
---|
[a91dd56] | 112 | <application>Subversion</application> system-wide configuration file.
|
---|
| 113 | This file is used to specify defaults for different
|
---|
| 114 | <command>svn</command> commands.</para>
|
---|
| 115 |
|
---|
| 116 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
[01d5424] | 117 | configuration file. It is used to override the system-wide defaults
|
---|
[a91dd56] | 118 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
| 119 | </sect3>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2>
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <para>The <application>Subversion</application> package contains
|
---|
[01d5424] | 127 | <command>svn</command>,
|
---|
| 128 | <command>svnadmin</command>,
|
---|
| 129 | <command>svndumpfilter</command>,
|
---|
| 130 | <command>svnlook</command>,
|
---|
| 131 | <command>svnserve</command>,
|
---|
| 132 | <command>svnversion</command> and the
|
---|
| 133 | <filename class="libraryfile">mod_dav_svn</filename> plug-in module.</para>
|
---|
[a91dd56] | 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2><title>Description</title>
|
---|
| 138 |
|
---|
| 139 | <sect3><title>svn</title>
|
---|
| 140 | <para>The command-line client program.</para></sect3>
|
---|
| 141 |
|
---|
| 142 | <sect3><title>svnadmin</title>
|
---|
[01d5424] | 143 | <para>A tool for creating, tweaking or repairing a
|
---|
| 144 | <application>Subversion</application> repository.</para></sect3>
|
---|
[a91dd56] | 145 |
|
---|
| 146 | <sect3><title>svndumpfilter</title>
|
---|
[01d5424] | 147 | <para>A program for filtering <application>Subversion</application> repository
|
---|
| 148 | dumpfile format streams.</para></sect3>
|
---|
[a91dd56] | 149 |
|
---|
[01d5424] | 150 | <sect3><title>svnlook</title>
|
---|
| 151 | <para>A tool for inspecting a <application>Subversion</application>
|
---|
| 152 | repository.</para></sect3>
|
---|
[a91dd56] | 153 |
|
---|
| 154 | <sect3><title>svnserve</title>
|
---|
[d807b5e] | 155 | <para>A custom standalone server program, able to run as a daemon process or
|
---|
[01d5424] | 156 | invoked by <acronym>SSH</acronym>.</para></sect3>
|
---|
| 157 |
|
---|
| 158 | <sect3><title>svnversion</title>
|
---|
| 159 | <para>A program for reporting the state of a working copy.</para></sect3>
|
---|
| 160 |
|
---|
| 161 | <sect3><title>mod_dav_svn</title>
|
---|
| 162 | <para>A plug-in module for the <application>Apache</application>
|
---|
| 163 | <acronym>HTTP</acronym> Server, used to make your
|
---|
| 164 | repository available to others over a network.</para></sect3>
|
---|
[a91dd56] | 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|