summaryrefslogtreecommitdiffstats
path: root/main/nagios/APKBUILD
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-09-07 13:25:01 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-09-07 13:25:01 +0000
commit2b41d54ce65ea36bd7d8d5b3a40c6c0e45170a64 (patch)
treeae0f2045da2808bdbd8db22b8d23b947aeccd2bd /main/nagios/APKBUILD
parent4acba7611290bd479f9e241bb250c4b02e882f94 (diff)
parent3f7f818a76ed2f05b12df5424d8c252a10f6f638 (diff)
downloadaports-2b41d54ce65ea36bd7d8d5b3a40c6c0e45170a64.tar.bz2
aports-2b41d54ce65ea36bd7d8d5b3a40c6c0e45170a64.tar.xz
Merge remote branch 'alpine/master'
Conflicts: main/gtk+/APKBUILD main/icu/APKBUILD main/pango/APKBUILD
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 37ac05db4..70358ecbc 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