Difference between revisions of "CVS"

From CBLFS
Jump to navigationJump to search
(Dependencies)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.22/cvs-1.11.22.tar.bz2
+
| ftp://ftp.gnu.org/non-gnu/cvs/source/stable/{{CVS-Version}}/cvs-{{CVS-Version}}.tar.bz2
 
|-
 
|-
 
!Download Patch:
 
!Download Patch:
| http://www.linuxfromscratch.org/patches/blfs/svn/cvs-1.11.22-zlib-1.patch
+
| http://www.linuxfromscratch.org/patches/blfs/svn/cvs-{{CVS-Version}}-zlib-1.patch
 
|}
 
|}
  
Line 29: Line 29:
 
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:
 
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.22-zlib-1.patch
+
  patch -Np1 -i ../cvs-{{CVS-Version}}-zlib-1.patch
  
 
Install CVS by running the following commands:
 
Install CVS by running the following commands:
Line 39: Line 39:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/cvs-1.11.22 &&
+
  install -v -m755 -d /usr/share/doc/cvs-{{CVS-Version}} &&
  install -v -m644 FAQ README /usr/share/doc/cvs-1.11.22 &&
+
  install -v -m644 FAQ README /usr/share/doc/cvs-{{CVS-Version}} &&
  install -v -m644 doc/*.pdf /usr/share/doc/cvs-1.11.22
+
  install -v -m644 doc/*.pdf /usr/share/doc/cvs-{{CVS-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 48: Line 48:
 
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:
 
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.22-zlib-1.patch
+
  patch -Np1 -i ../cvs-{{CVS-Version}}-zlib-1.patch
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 87: Line 87:
 
Install the documents
 
Install the documents
  
  install -v -m755 -d /usr/share/doc/cvs-1.11.22 &&
+
  install -v -m755 -d /usr/share/doc/cvs-{{CVS-Version}} &&
  install -v -m644 FAQ README /usr/share/doc/cvs-1.11.22 &&
+
  install -v -m644 FAQ README /usr/share/doc/cvs-{{CVS-Version}} &&
  install -v -m644 doc/*.pdf /usr/share/doc/cvs-1.11.22
+
  install -v -m644 doc/*.pdf /usr/share/doc/cvs-{{CVS-Version}}
  
 
==  Contents ==
 
==  Contents ==
Line 97: Line 97:
 
Installed Libraries: None
 
Installed Libraries: None
  
Installed Directories: /usr/share/cvs and /usr/share/doc/cvs-1.11.22
+
Installed Directories: /usr/share/cvs and /usr/share/doc/cvs-{{CVS-Version}}
  
 
=== Short Descriptions ===
 
=== Short Descriptions ===

Revision as of 14:24, 17 December 2006

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.