updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / check_mk-icinga / PKGBUILD
blobb48391c93ee6a6b53d42fdf3eb51d26776721aeb
1 # This package was created to work with icinga and not nagios.
3 pkgname=check_mk-icinga
4 name=check_mk
5 pkgver=1.1.12p6
6 pkgrel=2
7 pkgdesc="A new general purpose Nagios-plugin for retrieving data."
8 license=('GPL2')
9 arch=('any')
10 url="http://mathias-kettner.de/check_mk.html"
11 depends=('python2' 'icinga')
12 source=("http://mathias-kettner.de/download/$name-$pkgver.tar.gz")
13 md5sums=('5392da2f0f61aeeff801463f689b91ac')
15 build() {
16   cd $srcdir/$name-$pkgver
18   export DESTDIR=$pkgdir \
19         nagiosuser='icinga' \
20         wwwuser='http' \
21         wwwgroup='icinga' \
22         nagios_binary='/usr/bin/icinga' \
23         nagios_config_file='/etc/icinga/icinga.cfg' \
24         nagconfdir='/etc/icinga/objects' \
25         nagios_startscript='/etc/rc.d/icinga' \
26         nagpipe='/var/icinga/rw/icinga.cmd' \
27         check_result_path='/var/icinga/spool/checkresults' \
28         nagios_status_file='/var/icinga/status.dat' \
29         check_icmp_path='/usr/share/icinga/libexec/check_icmp' \
30         apache_config_dir='/etc/httpd/conf' \
31         htpasswd_file='/etc/icinga/htpasswd.users' \
32         nagios_auth_name='Icinga Access' \
33         enable_livestatus='no'
35   ./setup.sh