aboutsummaryrefslogtreecommitdiffstats
path: root/main/cacti/APKBUILD
blob: 5a97d4e5dd5029cfd8eeb3f877b47aabed289431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=cacti
pkgver=0.8.8b
pkgrel=3
pkgdesc="Network monitoring tool based on RRDtool"
url="http://www.cacti.net"
arch="noarch"
license="GPL2+"
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
	security.patch
	CVE-2014-5025,5026.patch
	bug-0002455.patch
	"

_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
}

build() {
	cd "$_builddir"
	return 0
}

package() {
	mkdir -p "$pkgdir"/usr/share/webapps/cacti
	mv "$srcdir"/$pkgname-$pkgver/* "$pkgdir"/usr/share/webapps/cacti/ || return 1

}
md5sums="acb40deae073ca22e5c01a8e3ba389fb  cacti-0.8.8b.tar.gz
bd18f265cca1f9713f88296f0be1ef56  security.patch
04770edd7e55021e10ad7d50b0ffa2e9  CVE-2014-5025,5026.patch
aa6d50a78b32e7f3e1a71f93c40c6697  bug-0002455.patch"
sha256sums="ef0e2a813139e0b4c2e066f0fdae1f4ad086bef0aa23446055df6331cb1af98c  cacti-0.8.8b.tar.gz
73758bdf3f7846875f1620c35d1d982fa27366b053d8bd87363c618e7747c163  security.patch
fbcb79c1500ca76d88a578aa8c0543ffe3789ab3ee0d79055d378e4d79b43637  CVE-2014-5025,5026.patch
598fe1d4677e0ac080a6ada7ae97ff73b748a20e35eabce13f441010227294c0  bug-0002455.patch"
sha512sums="98b216f3beb8e90dc554a16ca07cc8b3c9e247335786d8b5e76001d7293251a8a6e03bbe2464f7e9f8e0721359e7cd4a40615dd93ac7b1cc0bec507f01fa24c1  cacti-0.8.8b.tar.gz
bed640fb64584b877348cf8163cebe39f6786a2fb8a7e735a81e9a0504b53005feec13e9911566690426f63d120b3744b755c0cbffcb67c44e9fe6dae3ccae80  security.patch
1480f456e3720f344c00a6bba61e7c4200186d6b82b70357d42c7a7c9e67385edefd0633bec6f24d83c95bbecf5f7652e2d8228559d8c7cfc290d59892b4d364  CVE-2014-5025,5026.patch
abde50dca8c80c1ea3cfc16a418abda23212c7badda469ec30345b822cf372c45b14cd397bffc77e8765b1fcc605ebd1ab21fffb53a8fbc37bad175219c84596  bug-0002455.patch"