aboutsummaryrefslogtreecommitdiffstats
path: root/main/cacti
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-30 11:47:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-30 11:47:12 +0000
commitc88fc5c79c5875673a0c57f1c601d036d9aa4931 (patch)
tree6a5aa978d6dd3c20901e4908b4654487d2d71392 /main/cacti
parent934180846584bc09ed25da415fd01ac4634e4495 (diff)
downloadaports-c88fc5c79c5875673a0c57f1c601d036d9aa4931.tar.bz2
aports-c88fc5c79c5875673a0c57f1c601d036d9aa4931.tar.xz
main/cacti: security upgrade to 0.8.8b (CVE-2013-1434,CVE-2013-1435)
fixes #2235
Diffstat (limited to 'main/cacti')
-rw-r--r--main/cacti/APKBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/main/cacti/APKBUILD b/main/cacti/APKBUILD
index 87b052bd3c..6f35435b3b 100644
--- a/main/cacti/APKBUILD
+++ b/main/cacti/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=cacti
-pkgver=0.8.7i
+pkgver=0.8.8b
pkgrel=0
pkgdesc="Network monitoring tool based on RRDtool"
url="http://www.cacti.net"
@@ -8,19 +8,15 @@ arch="noarch"
license="GPL"
depends="mysql php php-mysql php-snmp rrdtool net-snmp php-sockets php-xml php-gd"
makedepends=
-source="http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz
-http://www.cacti.net/downloads/patches/$pkgver/settings_checkbox.patch"
+source="http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
- for i in ../*.patch; do
- msg "Applying $i"
- if ! patch -p1 -i $i; then
- error "$i failed"
- return 1
- fi
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
}
@@ -34,5 +30,4 @@ package() {
mv "$srcdir"/$pkgname-$pkgver/* "$pkgdir"/usr/share/webapps/cacti/ || return 1
}
-md5sums="07fd1da6b0ac4912410df3aa4e451a4b cacti-0.8.7i.tar.gz
-930e6c18b692fb94a19ddbd95a529a8b settings_checkbox.patch"
+md5sums="bb0325e73c878a9800e38f962a2ba0a6 cacti-0.8.8b.tar.gz"