aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nagios/APKBUILD')
-rw-r--r--main/nagios/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/nagios/APKBUILD b/main/nagios/APKBUILD
index 37ac05db46..70358ecbce 100644
--- a/main/nagios/APKBUILD
+++ b/main/nagios/APKBUILD
@@ -2,17 +2,20 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=nagios
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Popular monitoring tool"
url="http://www.nagios.org/"
license="GPL-2"
depends="perl"
+install="$pkgname.pre-install"
makedepends="gd-dev pkgconfig perl-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
nagios.confd
nagios.initd
lighttpd-nagios.conf"
subpackages="${pkgname}-web"
+pkgusers="nagios"
+pkggroups="nagios"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -28,8 +31,8 @@ build() {
--datadir=/usr/share/nagios/htdocs \
--libexecdir=/usr/lib/nagios/plugins \
--localstatedir=/var/nagios \
- --with-nagios-user=nobody \
- --with-nagios-group=nobody \
+ --with-nagios-user=nagios \
+ --with-nagios-group=nagios \
--enable-embedded-perl \
--with-perlcache
make all || return 1