CVS

From CBLFS
Revision as of 17:07, 3 January 2007 by Kalessin (talk | contribs) (I reformatted the "Contents" section to use tables.)
Jump to navigationJump to search
Download Source: ftp://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/cvs-1.11.23.tar.bz2
Download Patch: http://www.linuxfromscratch.org/patches/blfs/svn/cvs-1.11.23-zlib-1.patch

Introduction to CVS

CVS is the Concurrent Versions System. This is a version control system useful for projects using a central repository to hold files and then track all changes made to those files. These instructions install the client used to manipulate the repository, creation of a repository is covered at Running a CVS Server.

Dependencies

Optional

Non-Multilib

By default CVS is statically linked against the Zlib library included in its source tree. This makes it exposed to possible security vulnerabilities in that library. If you want to modify CVS to use the system shared Zlib library, apply the following patch:

patch -Np1 -i ../cvs-1.11.23-zlib-1.patch

Install CVS by running the following commands:

./configure --prefix=/usr &&
make

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/cvs-1.11.23 &&
install -v -m644 FAQ README /usr/share/doc/cvs-1.11.23 &&
install -v -m644 doc/*.pdf /usr/share/doc/cvs-1.11.23

Multilib

This package does not provide any libraries so only one installation is needed.

By default CVS is statically linked against the Zlib library included in its source tree. This makes it exposed to possible security vulnerabilities in that library. If you want to modify CVS to use the system shared Zlib library, apply the following patch:

patch -Np1 -i ../cvs-1.11.23-zlib-1.patch

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Install Documents

Install the documents

install -v -m755 -d /usr/share/doc/cvs-1.11.23 &&
install -v -m644 FAQ README /usr/share/doc/cvs-1.11.23 &&
install -v -m644 doc/*.pdf /usr/share/doc/cvs-1.11.23

Contents

Installed Programs: cvs, cvsbug, and rcs2log
Installed Libraries: None
Installed Directories: /usr/share/cvs and /usr/share/doc/cvs-1.11.23

Short Descriptions

cvs is the main program file for the concurrent versions system.
cvsbug is used to send problem reports about CVS to a central support site.
rcs2log is a symlink to the contributed RCS to Change Log generator.