Difference between revisions of "CVS"

From CBLFS
Jump to navigationJump to search
(add patch to deal with conflicting getline definition in stdio.h -- the cross-lfs patch submitter page is not working, so currently hosted elsewhere)
m (Reverted edits by Eric (Talk) to last revision by Weibullguy)
Line 6: Line 6:
 
!Download Patch:
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/cvs/cvs-{{CVS-Version}}-zlib-1.patch
 
| http://svn.cross-lfs.org/svn/repos/patches/cvs/cvs-{{CVS-Version}}-zlib-1.patch
| http://freesa.org/eric/patches/cvs-1.11.23-getline_unsafe-1.patch
 
 
|}
 
|}
  
Line 29: Line 28:
  
 
  patch -Np1 -i ../cvs-{{CVS-Version}}-zlib-1.patch
 
  patch -Np1 -i ../cvs-{{CVS-Version}}-zlib-1.patch
 
The CVS code includes replacement for GNU C library function getline, however stdio.h defines getline with a different return type. If you experience conflicting definitions, apply the following patch:
 
 
patch -Np1 -i cvs-{{CVS-Version}}-getline_unsafe-1.patch
 
 
  
 
Install CVS by running the following commands:
 
Install CVS by running the following commands:

Revision as of 15:29, 21 April 2010

Download Source: ftp://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/cvs-1.11.23.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/cvs/cvs-1.11.23-zlib-1.patch

Introduction to CVS

The Concurrent Versioning System (CVS) is a version control system, an important component of Source Configuration Management (SCM). Using it, you can record the history of sources files, and documents. It is primarily used in software development. Note however, that Subversion - which aims to improve over CVS - is increasingly being used instead of CVS.

Project Homepage: http://www.nongnu.org/cvs/

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.