Convert to newer buildpkg
Upgrade to 1.11.16 upstream version which contains several bugfixes for remote exploits
This commit is contained in:
parent
d776630236
commit
ac455e9b47
19
cvs/build.sh
19
cvs/build.sh
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=cvs
|
topdir=cvs
|
||||||
version=1.11.11
|
version=1.11.16
|
||||||
pkgver=1
|
pkgver=1
|
||||||
source[0]=$topdir-$version.tar.bz2
|
source[0]=$topdir-$version.tar.bz2
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
@ -17,12 +17,6 @@ source[0]=$topdir-$version.tar.bz2
|
|||||||
# Source function library
|
# Source function library
|
||||||
. ${HOME}/buildpkg/scripts/buildpkg.functions
|
. ${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
|
# Define script functions and register them
|
||||||
METHODS=""
|
METHODS=""
|
||||||
reg() {
|
reg() {
|
||||||
@ -45,20 +39,17 @@ build()
|
|||||||
reg install
|
reg install
|
||||||
install()
|
install()
|
||||||
{
|
{
|
||||||
|
shortroot=1
|
||||||
generic_install prefix
|
generic_install prefix
|
||||||
setdir source
|
doc FAQ README NEWS doc/*.ps
|
||||||
mkdir -p $stagedir/doc/$topdir-$version
|
|
||||||
for file in "FAQ README NEWS doc/*.ps"
|
|
||||||
do
|
|
||||||
cp $file $stagedir/doc/$topdir-$version
|
|
||||||
done
|
|
||||||
$RM -f $stagedir/info/dir
|
$RM -f $stagedir/info/dir
|
||||||
}
|
}
|
||||||
|
|
||||||
reg pack
|
reg pack
|
||||||
pack()
|
pack()
|
||||||
{
|
{
|
||||||
generic_pack shortroot
|
shortroot=1
|
||||||
|
generic_pack
|
||||||
}
|
}
|
||||||
|
|
||||||
reg distclean
|
reg distclean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user