summaryrefslogtreecommitdiffstats
path: root/main/nrpe/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nrpe/APKBUILD')
-rw-r--r--main/nrpe/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index 6b5041678..d78e894fb 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=nrpe
pkgver=2.12
-pkgrel=4
+pkgrel=5
pkgusers="nagios"
pkggroups="nagios"
pkgdesc="NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines."
@@ -13,7 +13,8 @@ makedepends="openssl-dev perl"
install="nrpe.pre-install"
subpackages=
source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz
- nrpe.initd"
+ nrpe.initd
+ nrpe.confd"
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -29,8 +30,10 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install install-daemon-config
- install -Dm755 ../nrpe.initd "$pkgdir"/etc/init.d/nrpe
+ install -Dm755 "$srcdir"/nrpe.initd "$pkgdir"/etc/init.d/nrpe
+ install -Dm644 "$srcdir"/nrpe.confd "$pkgdir"/etc/conf.d/nrpe
}
md5sums="b2d75e2962f1e3151ef58794d60c9e97 nrpe-2.12.tar.gz
-a1e3fbbfdd46437f7385742d49d5eb85 nrpe.initd"
+3263044303bbfdfbbc8127cfa991ab51 nrpe.initd
+6bd25a1ace9e108c5014a83adcad15b3 nrpe.confd"