blob: 5f0695a76e67d40fa972b52f31369d74a3b53346 (
plain)
1 # Description: Applications, network and servers monitoring software
2 # URL: http://www.zabbix.com
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on: net-snmp fping
5
6 name=zabbix_server
7 version=1.1.4
8 release=1
9 source=(http://dl.sourceforge.net/sourceforge/zabbix/zabbix-$version.tar.gz \
10 zabbix_server.conf zabbix_server)
11
12 build() {
13 cd zabbix-$version
14 ./configure --prefix=/usr \
15 --enable-server \
16 --with-mysql \
17 --with-net-snmp
18 make
19 make DESTDIR=$PKG install
20
21 mkdir -p $PKG/{var/log,var/run/zabbix_server,usr/bin}
22 chown daemon:daemon $PKG/var/run/zabbix_server
23 touch zabbix_server.log
24 install -m 600 -o daemon -g daemon zabbix_server.log $PKG/var/log
25 install -D -m 644 $SRC/zabbix_server.conf $PKG/etc/zabbix/zabbix_server.conf
26 install -D -m 755 $SRC/zabbix_server $PKG/etc/rc.d/zabbix_server
27 }
|