1 # Contributor: Igor Pakhmutov <xasyaip@gmail.com>
2 pkgname=zabbix-agent-1.8.3
5 pkgdesc="Software for monitoring of your applications, network and servers."
7 url="http://www.zabbix.com"
9 install=(zabbix-agent.install)
10 source=(http://downloads.sourceforge.net/sourceforge/zabbix/zabbix-$pkgver.tar.gz zabbix_agent.conf zabbix_agentd.conf zabbix-agentd zabbix-agent.install)
12 md5sums=('575c31880d73f6fe41e730874ebfc633 '
13 '9c20157a77b1ee4915265971f338fb41'
14 '9e2a08c7dc89dccf6f7b21a156360713'
15 '664cd2ebfc711d722fc62c968704d0ca'
16 'f36fddf29e295c2a7bd95ca1ce4320c7')
20 cd $startdir/src/zabbix-$pkgver
21 ./configure --prefix=/usr --enable-agent
23 make DESTDIR=$startdir/pkg install
24 install -d -m0750 $startdir/pkg/var/run/zabbix $startdir/pkg/var/log/zabbix
25 install -d $startdir/pkg/etc/zabbix
26 install -D -m0640 $startdir/src/zabbix_agent.conf $startdir/pkg/etc/zabbix/zabbix_agent.conf
27 install -D -m0640 $startdir/src/zabbix_agentd.conf $startdir/pkg/etc/zabbix/zabbix_agentd.conf
28 install -D -m0755 $startdir/src/zabbix-agentd $startdir/pkg/etc/rc.d/zabbix-agentd