From ac455e9b4793be5e764760a9bde3648b56160ff1 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Wed, 26 May 2004 08:13:47 +0000 Subject: [PATCH] Convert to newer buildpkg Upgrade to 1.11.16 upstream version which contains several bugfixes for remote exploits --- cvs/build.sh | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/cvs/build.sh b/cvs/build.sh index f921987..eea3662 100755 --- a/cvs/build.sh +++ b/cvs/build.sh @@ -8,7 +8,7 @@ # # Check the following 4 variables before running the script topdir=cvs -version=1.11.11 +version=1.11.16 pkgver=1 source[0]=$topdir-$version.tar.bz2 # If there are no patches, simply comment this @@ -17,12 +17,6 @@ source[0]=$topdir-$version.tar.bz2 # Source function library . ${HOME}/buildpkg/scripts/buildpkg.functions -# Fill in pkginfo values if necessary -# using pkgname,name,pkgcat,pkgvendor & pkgdesc -name="CVS - Version control system" -pkgvendor="http://www.cvshome.org" -pkgdesc="Lets you record the history of source files and documents." - # Define script functions and register them METHODS="" reg() { @@ -45,20 +39,17 @@ build() reg install install() { + shortroot=1 generic_install prefix - setdir source - mkdir -p $stagedir/doc/$topdir-$version - for file in "FAQ README NEWS doc/*.ps" - do - cp $file $stagedir/doc/$topdir-$version - done + doc FAQ README NEWS doc/*.ps $RM -f $stagedir/info/dir } reg pack pack() { - generic_pack shortroot + shortroot=1 + generic_pack } reg distclean