aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-28 14:27:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-28 14:27:59 +0000
commitab4d692cc973a20edf258d58de226f8800a986ef (patch)
tree9f233c7210673ae7b11a4ee2525eda0c0ea590b4
parentf9cffa7c5c1287f24bdaf6f52e70887eb71e4f50 (diff)
downloadaports-ab4d692cc973a20edf258d58de226f8800a986ef.tar.bz2
aports-ab4d692cc973a20edf258d58de226f8800a986ef.tar.xz
main/cacti: upgrade to 0.8.8a
-rw-r--r--main/cacti/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/cacti/APKBUILD b/main/cacti/APKBUILD
index 87b052bd3c..2abc45ed90 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.8a
pkgrel=0
pkgdesc="Network monitoring tool based on RRDtool"
url="http://www.cacti.net"
@@ -8,19 +8,16 @@ 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 +31,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="a4da682dab9a88a2e0edb1728bf531ae cacti-0.8.8a.tar.gz"