Subversion-1.1.4

Introduction to Subversion

Subversion is a version control system that is designed to be a compelling replacement for CVS in the open source community. It extends and enhances CVS' feature set, while maintaining a similar interface for those already familiar with CVS. These instructions install the client and server software used to manipulate a Subversion repository. Creation of a repository is covered at Running a Subversion Server.

Package Information

  • Download (HTTP): http://subversion.tigris.org/tarballs/subversion-1.1.4.tar.bz2

  • Download (FTP):

  • Download MD5 sum: 6e557ae65b6b8d7577cc7704ede85a23

  • Download size: 6.7 MB

  • Estimated disk space required: 182 MB (additional 577 MB to run all test suites)

  • Estimated build time: 1.24 SBU (add 0.90 SBU for SWIG bindings and 6.45 SBU to run test suites)

Subversion Dependencies

Required

libxml2-2.6.20 (only if using the bundled version of neon)

Optional

Python-2.4.1 (required to run the full test suite), Apache-2.0.54, OpenSSH-4.1p1 (runtime only), neon-0.24.7, JDK-1.5.0 (to build the JAVA bindings), JUnit (for running the JAVA bindings test suite and requires UnZip-5.52), Dante (alternate JAVA compiler), Jikes (another alternate JAVA compiler) and inetd or xinetd-2.3.13 (server only)

Optional for the Bundled Version of Neon

pkg-config-0.19, OpenSSL-0.9.7g, Heimdal-0.7 or MIT krb5-1.4.1

Optional for the Bundled Version of Apache Portable Runtime

expat-1.95.8 and GDBM-1.8.3

Optional to Build the SWIG Bindings

SWIG and Python-2.4.1

Installation of Subversion

Install Subversion by running the following commands:

./configure --prefix=/usr &&
make
[Note]

Note

If you have Apache installed, pass the --with-apr=/usr and --with-apr-util=/usr switches to the configure script. Otherwise, Subversion will overwrite APR and APR-utils from the Apache installation with its own files. You may also need to pass --with-apxs=/usr/sbin/apxs as apxs might not be in an unprivileged user's PATH and won't be properly discovered.

If you passed the --enable-javahl parameter to configure and wish to build the JAVA Subversion bindings, issue the following command:

make javahl

If you passed the --with-swig and --enable-swig-bindings parameters to configure and wish to build the SWIG Perl and Python Subversion bindings, issue the following commands:

make swig-pl &&
make swig-py

To test the results, issue: make check.

Now, as the root user:

make install &&
install -v -d -m755 /usr/share/doc/subversion-1.1.4 &&
cp -v -R doc/* /usr/share/doc/subversion-1.1.4

If you built the JAVA Subversion bindings, issue the following command as the root user to install them:

make install-javahl

If you built the SWIG Perl and Python Subversion bindings, issue the following commands as the root user to install them:

make install-swig-pl &&
make install-swig-py &&
echo /usr/lib/svn-python \
    > /usr/lib/python2.4/site-packages/subversion.pth

Command Explanations

--with-ssl: This switch enables OpenSSL support in neon (only required if you use the bundled version of neon).

Configuring Subversion

Config Files

~/.subversion/config and /etc/subversion/config

Configuration Information

/etc/subversion/config is the Subversion system-wide configuration file. This file is used to specify defaults for different svn commands.

~/.subversion/config is the user's personal configuration file. It is used to override the system-wide defaults set in /etc/subversion/config.

Contents

Installed Programs: svn, svnadmin, svndumpfilter, svnlook, svnserve, svnversion, and optionally, neon-config
Installed Libraries: libsvn*.[so,a] and optionally, libneon.[so,a] and the mod_dav_svn.so, and mod_authz_svn.so Apache HTTP DSO modules
Installed Directories: /etc/subversion, /usr/include/neon (optional), /usr/include/subversion-1, /usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/SVN (optional), /usr/lib/perl5/site_perl/5.8.6/i686-linux/SVN (optional), /usr/lib/svn-javahl (optional), /usr/lib/svn-python (optional), /usr/share/doc/neon-0.24.7 (optional), and /usr/share/doc/subversion-1.1.4

Short Descriptions

svn

is a command-line client program used to access Subversion repositories.

svnadmin

is a tool for creating, tweaking or repairing a Subversion repository.

svndumpfilter

is a program for filtering Subversion repository dumpfile format streams.

svnlook

is a tool for inspecting a Subversion repository.

svnserve

is a custom standalone server program, able to run as a daemon process or invoked by SSH.

svnversion

is used to report the version number and state of a working Subversion repository copy.

neon-config

is a script which provides information about an installed copy of the neon library.

libsvn_*.[so,a]

are the support libraries used by the Subversion programs.

libneon.[so,a]

is used as a high-level interface to common HTTP and WebDAV methods.

mod_authz_svn.so

is a plug-in module for the Apache HTTP server, used to authenticate users to a Subversion repository over the Internet or an intranet.

mod_dav_svn.so

is a plug-in module for the Apache HTTP server, used to make a Subversion repository available to others over the Internet or an intranet.

Last updated on 2005-08-01 13:29:19 -0600