summaryrefslogtreecommitdiff
path: root/extra/cvs/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-05 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2012-01-05 23:14:48 +0000
commit817e58c278cb8ebee7743205877d0f67c431fcec (patch)
treef2716cc059272be15ea4691e8d40e6a998f4c936 /extra/cvs/PKGBUILD
parent85828cc2c2c3ef5c0b9b03388b9323d3d163b389 (diff)
Thu Jan 5 23:14:48 UTC 2012
Diffstat (limited to 'extra/cvs/PKGBUILD')
-rw-r--r--extra/cvs/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/extra/cvs/PKGBUILD b/extra/cvs/PKGBUILD
index 76f71a2a1..971e0d498 100644
--- a/extra/cvs/PKGBUILD
+++ b/extra/cvs/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 121072 2011-04-28 22:54:58Z stephane $
+# $Id: PKGBUILD 146046 2012-01-04 17:18:48Z dan $
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=cvs
pkgver=1.11.23
-pkgrel=7
+pkgrel=8
pkgdesc="Concurrent Versions System - a source control system"
arch=(i686 x86_64)
-url="http://cvs.nongnu.org"
+url="http://cvs.nongnu.org/"
license=('GPL')
-depends=('krb5')
-optdepends=('openssh: for using cvs over ssh' 'inetutils: for using cvs over rsh')
+depends=('krb5' 'zlib')
+optdepends=('openssh: for using cvs over ssh'
+ 'inetutils: for using cvs over rsh')
install=cvs.install
source=(ftp://ftp.gnu.org/non-gnu/cvs/source/stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2
- cvs-1.11.23-getline64.patch
+ cvs-1.11.19-extzlib.patch
+ cvs-1.11.23-getline64.patch
cvs-1.11.23-cve-2010-3846.patch)
sha256sums=('400f51b59d85116e79b844f2d5dbbad4759442a789b401a94aa5052c3d7a4aa9'
+ '0587ac3753d1257fa6d22557fa077178ee1ec004178c0a0348720e8171b1e942'
'9126d7992ace943980ad8a10d5a09aeb6f1eeeb9b921fc796fe31de7b1c220cf'
'c6506d0a5efc7b0cab6415f26e070ec214fb9781fac8d295506f4d0825431a8f')
@@ -22,11 +25,12 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
unset EDITOR VISUAL
- patch -Np1 -i ../cvs-1.11.23-getline64.patch
-
- # CVE-2010-3864, see https://www.redhat.com/security/data/cve/CVE-2010-3846.html
- patch -Np1 -i ../cvs-1.11.23-cve-2010-3846.patch
+ patch -Np1 < ../cvs-1.11.19-extzlib.patch
+ patch -Np1 < ../cvs-1.11.23-getline64.patch
+ # CVE-2010-3864, https://www.redhat.com/security/data/cve/CVE-2010-3846.html
+ patch -Np1 < ../cvs-1.11.23-cve-2010-3846.patch
+ autoreconf
./configure --prefix=/usr
make
}