aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-23 16:15:16 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 19:36:33 +0000
commite21d96886342a984f2aa1fa87b5e3801fe914c0a (patch)
treea342ba70a7a500479663ee5c586b4ebb6aa598d8 /testing
parentfc5c70e68c48252c97bda5b3550f8f15594d93e4 (diff)
downloadaports-e21d96886342a984f2aa1fa87b5e3801fe914c0a.tar.bz2
aports-e21d96886342a984f2aa1fa87b5e3801fe914c0a.tar.xz
testing/rrdbot: upgrade to 0.9.7
Diffstat (limited to 'testing')
-rw-r--r--testing/rrdbot/APKBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/testing/rrdbot/APKBUILD b/testing/rrdbot/APKBUILD
index 3acfd2ae55..bdbbd4fb29 100644
--- a/testing/rrdbot/APKBUILD
+++ b/testing/rrdbot/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdbot
-pkgver=0.9.6
-pkgrel=2
-pkgdesc="an SNMP polling daemon which writes the polled values to an RRD database"
+pkgver=0.9.7
+pkgrel=0
+pkgdesc="An SNMP polling daemon which writes the polled values to an RRD database"
url="http://memberwebs.com/stef/software/rrdbot/"
arch="all"
license="BSD"
-depends=
-makedepends=rrdtool-dev
+depends=""
+makedepends="rrdtool-dev"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
source="http://memberwebs.com/stef/software/rrdbot/rrdbot-$pkgver.tar.gz
@@ -31,17 +31,21 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
- install -m755 -D "$srcdir"/rrdbotd.initd "$pkgdir"/etc/init.d/rrdbotd
- install -m644 -D "$srcdir"/rrdbotd.confd "$pkgdir"/etc/conf.d/rrdbotd
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+ install -m755 -D "$srcdir"/rrdbotd.initd \
+ "$pkgdir"/etc/init.d/rrdbotd || return 1
+ install -m644 -D "$srcdir"/rrdbotd.confd \
+ "$pkgdir"/etc/conf.d/rrdbotd || return 1
}
-md5sums="8329c8f58136158b25c3179e825c66e6 rrdbot-0.9.6.tar.gz
+md5sums="fb71c9498870b0b16e6a787bddcde44d rrdbot-0.9.7.tar.gz
68d118f9a86c6cf8e718d0f2be210306 rrdbotd.initd
cbcac88f5b728b1441891947a4babbcb rrdbotd.confd"