Subversion

From CBLFS
Revision as of 11:58, 14 October 2006 by 71.125.82.224 (talk) (64Bit)
Jump to navigationJump to search
Download Source: http://subversion.tigris.org/downloads/subversion-deps-1.4.0.tar.bz2
Download Source: http://subversion.tigris.org/downloads/subversion-1.4.0.tar.bz2

Dependencies

Optional

Non-Multilib

First, extract two tarballs into one directory.

Compile the package:

./configure --prefix=/usr --with-berkeley-db --with-installbuilddir=/usr/lib/apr-0 --with-ssl &&
make

One can safely drop --with-ssl flag to use system neon if exists.

Install the package:

make install &&
find doc -type d -exec chmod 755 {} \; &&
find doc -type f -exec chmod 644 {} \; &&
install -v -m755 -d /usr/share/doc/subversion-1.4.0 &&
cp -v -R doc/* /usr/share/doc/subversion-1.4.0

Multilib

First, extract two tarballs into one directory.

32Bit

Compile the package:

CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" USE_ARCH=32 \
./configure --prefix=/usr --with-berkeley-db \
    --with-installbuilddir=/usr/lib/apr-0 --with-ssl &&
make

One can safely drop --with-ssl flag to use system neon if exists.

Install the package

make install

If you built Subversion with the included apr then run the following command:

mv -v /usr/bin/apr-config{,-32} &&
mv -v /usr/bin/apu-config{,-32}

If you build Subversion with the included neon the run the following command:

mv -v /usr/bin/neon-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 --with-berkeley-db \
    --with-installbuilddir=/usr/lib/apr-0 --with-ssl &&
make

Install the package

make install

If you built Subversion with the included apr then run the following command:

mv -v /usr/bin/apr-config{,-n32} &&
mv -v /usr/bin/apu-config{,-n32}

If you build Subversion with the included neon the run the following command:

mv -v /usr/bin/neon-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 --with-berkeley-db \
    --with-installbuilddir=/usr/lib/apr-0 --with-ssl &&
make

Install the package

make install

If you built Subversion with the included apr then run the following command:

mv -v /usr/bin/apr-config{,-64} &&
mv -v /usr/bin/apu-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/apr-config &&
ln -sfv multiarch_wrapper /usr/bin/apu-config

If you build Subversion with the included neon the run the following command:

mv -v /usr/bin/neon-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/neon-config

Install Documents

Install the documents

find doc -type d -exec chmod 755 {} \; &&
find doc -type f -exec chmod 644 {} \; &&
install -v -m755 -d /usr/share/doc/subversion-1.4.0 &&
cp -v -R doc/* /usr/share/doc/subversion-1.4.0

Contents

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.

Short Description

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.