2010-12-19 18:48:36 +01:00
|
|
|
# Description: Concurrent Versions System
|
2019-09-07 15:26:26 -04:00
|
|
|
# URL: https://www.nongnu.org/cvs/
|
2019-09-07 15:08:53 -04:00
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
2010-12-19 18:48:36 +01:00
|
|
|
|
|
|
|
name=cvs
|
|
|
|
version=1.11.23
|
2019-09-07 18:35:58 +02:00
|
|
|
release=4
|
|
|
|
source=(https://ftp.gnu.org/gnu/non-gnu/cvs/source/stable/$version/$name-$version.tar.bz2 \
|
2010-12-19 23:09:36 +01:00
|
|
|
CVE-2010-3846.diff getline-x86_64.diff)
|
2010-12-19 18:48:36 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
patch -N src/rcs.c $SRC/CVE-2010-3846.diff
|
2010-12-19 23:09:36 +01:00
|
|
|
patch -Np1 < $SRC/getline-x86_64.diff
|
2019-09-07 18:35:58 +02:00
|
|
|
./configure --prefix=/usr --disable-server
|
2010-12-19 18:48:36 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
make -C man DESTDIR=$PKG install-man
|
2019-09-07 18:35:58 +02:00
|
|
|
rm -r $PKG/usr/share/{cvs,info}
|
|
|
|
rm -r $PKG/usr/share/man/man8
|
|
|
|
rm $PKG/usr/bin/{cvsbug,rcs2log}
|
2010-12-19 18:48:36 +01:00
|
|
|
}
|