summaryrefslogtreecommitdiff
path: root/cvs/Pkgfile
blob: b11b7ba3b73af06199ba0646968e0ec4c2390937 (plain)
    1 # Description: Concurrent Versions System
    2 # URL:         https://www.nongnu.org/cvs/
    3 # Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
    4 
    5 name=cvs
    6 version=1.11.23
    7 release=4
    8 source=(https://ftp.gnu.org/gnu/non-gnu/cvs/source/stable/$version/$name-$version.tar.bz2 \
    9         CVE-2010-3846.diff getline-x86_64.diff)
   10 
   11 build() {
   12     cd $name-$version
   13     patch -N src/rcs.c $SRC/CVE-2010-3846.diff
   14     patch -Np1 < $SRC/getline-x86_64.diff
   15     ./configure --prefix=/usr --disable-server
   16     make
   17     make DESTDIR=$PKG install
   18     make -C man DESTDIR=$PKG install-man
   19     rm -r $PKG/usr/share/{cvs,info}
   20     rm -r $PKG/usr/share/man/man8
   21     rm  $PKG/usr/bin/{cvsbug,rcs2log}
   22 }

Generated by cgit