Commit 8a56519e authored by Jeff Bilyk's avatar Jeff Bilyk Committed by Natanael Copa

main/nrpe: Add nrpe-plugin subpackage and update maintainer

Add nrpe-plugin subpackage and add maintainer
parent 84f45ab7
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment