summaryrefslogtreecommitdiffstats
path: root/main/nrpe
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2006-01-08 17:51:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-26 18:47:34 +0000
commit8a56519ec8c17ced153faa9938b7f8abed3187f6 (patch)
tree0cab42b9cb1ea944a4636fa709ca3f99f85cb28c /main/nrpe
parent84f45ab7fec0f7e9651e9271d098cb6aaf6da524 (diff)
downloadaports-8a56519ec8c17ced153faa9938b7f8abed3187f6.tar.bz2
aports-8a56519ec8c17ced153faa9938b7f8abed3187f6.tar.xz
main/nrpe: Add nrpe-plugin subpackage and update maintainer
Add nrpe-plugin subpackage and add maintainer
Diffstat (limited to 'main/nrpe')
-rw-r--r--main/nrpe/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index d78e894fb..fd66dba15 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -1,8 +1,7 @@
-# Contributor:
-# Maintainer:
+# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=nrpe
pkgver=2.12
-pkgrel=5
+pkgrel=6
pkgusers="nagios"
pkggroups="nagios"
pkgdesc="NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines."
@@ -11,7 +10,7 @@ license="GPL"
depends=""
makedepends="openssl-dev perl"
install="nrpe.pre-install"
-subpackages=
+subpackages="$pkgname-plugin"
source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz
nrpe.initd
nrpe.confd"
@@ -23,6 +22,7 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
+ --libexecdir=/usr/lib/nagios/plugins \
--enable-command-args
make || return 1
}
@@ -34,6 +34,12 @@ package() {
install -Dm644 "$srcdir"/nrpe.confd "$pkgdir"/etc/conf.d/nrpe
}
+plugin() {
+ pkgdesc="Nagios plugin to check result via NRPE daemon"
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$subpkgdir" install-plugin
+}
+
md5sums="b2d75e2962f1e3151ef58794d60c9e97 nrpe-2.12.tar.gz
3263044303bbfdfbbc8127cfa991ab51 nrpe.initd
6bd25a1ace9e108c5014a83adcad15b3 nrpe.confd"