aboutsummaryrefslogtreecommitdiffstats
path: root/main/ctags/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-05-04 16:02:44 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-05-04 16:08:22 +0200
commit8acec4cd4b4fc6f9bcab54a041e9f27a950859cf (patch)
tree978847b98ec8187115007061b6b7004d86e39cc0 /main/ctags/APKBUILD
parente1425464956676b487a8e958d16756dd6a7c71fa (diff)
downloadaports-8acec4cd4b4fc6f9bcab54a041e9f27a950859cf.tar.gz
aports-8acec4cd4b4fc6f9bcab54a041e9f27a950859cf.tar.bz2
aports-8acec4cd4b4fc6f9bcab54a041e9f27a950859cf.tar.xz
main/ctags: security fix for CVE-2014-7204
Diffstat (limited to 'main/ctags/APKBUILD')
-rw-r--r--main/ctags/APKBUILD39
1 files changed, 16 insertions, 23 deletions
diff --git a/main/ctags/APKBUILD b/main/ctags/APKBUILD
index 748a164645..bfa03befdd 100644
--- a/main/ctags/APKBUILD
+++ b/main/ctags/APKBUILD
@@ -1,8 +1,9 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ctags
pkgver=5.8
-pkgrel=4
+pkgrel=5
pkgdesc="Generator of tags for all types of C/C++ languages"
url="http://ctags.sourceforge.net/"
arch="all"
@@ -12,43 +13,35 @@ makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://prdownloads.sourceforge.net/ctags/$pkgname-$pkgver.tar.gz
+ CVE-2014-7204.patch
error-format.patch"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+# secfixes:
+# 5.8-r5:
+# - CVE-2014-7204
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
--sysconfdir=/etc \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-external-sort
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
- make -j1 \
- DEST_CTAGS="$pkgdir"/usr/bin \
+ make -j1 DEST_CTAGS="$pkgdir"/usr/bin \
mandir="$pkgdir"/usr/share/man \
- install || return 1
+ install
}
-md5sums="c00f82ecdcc357434731913e5b48630d ctags-5.8.tar.gz
-f0b35e99098aba05128c12859fa44e9e error-format.patch"
-sha256sums="0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7 ctags-5.8.tar.gz
-30339f93cdf0da56fe746703330332d0f345a677c38025c4be6d56d56b82414c error-format.patch"
sha512sums="981912cd335978cde22864e977947fc75326572fb29518e559cc4a8ac1edc84b3604165218a666e36353f17da4f89f8e967acdb88696f816748eb946d79eaa15 ctags-5.8.tar.gz
+7593aa9ca8857b09127a842752d214764734215b42b58c8a44e2a320b21b5a4923dd05a3d14a9053e570f07297d77b3d2fa8f5d41c500e9aadf993413a66be76 CVE-2014-7204.patch
bc861fa7fe401e5f5845c39d8ec714268898fafcd76afa54bebfc7965d4ef66e227e7bab80733c8f95a79a131b05fbdd4024d05139f2f9bd67914ff4c9e0e9b9 error-format.patch"