aboutsummaryrefslogtreecommitdiffstats
path: root/main/nrpe/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-24 08:48:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-24 08:48:28 +0000
commita770a4563149fa905662648da861dd9b063ac8b9 (patch)
tree877583ba7d30eb8b9a866eb0a8c44af0a15ba334 /main/nrpe/APKBUILD
parent465cf33483bf57bb455b656050e1c2e9fe761af4 (diff)
downloadaports-a770a4563149fa905662648da861dd9b063ac8b9.tar.bz2
aports-a770a4563149fa905662648da861dd9b063ac8b9.tar.xz
main/nrpe: add conf.d file
fixes #364
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 6b50416780..d78e894fb1 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"